Simple Plugin

Status
This thread has been locked.

Cranked

Owner of Cranked Factions
Premium
Feedback score
25
Posts
443
Reactions
194
Resources
0
Hi there, I need a simple plugin that
  • Allows TNT and creeper eggs to break chests and spawners through water.
  • Stop items from burning from lava + fire (if possible)
  • Zombie Pigmen drop gold and not rotten flesh or gold nuggets
  • Villagers drop emeralds
  • Horses drop apples and not leather
Something like this for the mob drops
Code:
  public void onEntityDeath(EntityDeathEvent event)
  {
    if (event.getEntityType().equals(EntityType.HORSE))
    {
      if (event.getDrops().contains(new ItemStack(Material.LEATHER))) {
        event.getDrops().remove(new ItemStack(Material.LEATHER));
      }
      event.getDrops().add(new ItemStack(Material.APPLE, 1));
  {
    if (event.getEntityType().equals(EntityType.PIG_ZOMBIE))
    {
      if (event.getDrops().contains(new ItemStack(Material.ROTTEN_FLESH))) {
        event.getDrops().remove(new ItemStack(Material.ROTTEN_FLESH));
      }
    {
      if (event.getDrops().contains(new ItemStack(Material.GOLD_NUGGET))) {
        event.getDrops().remove(new ItemStack(Material.GOLD_NUGGET));
      }
      event.getDrops().add(new ItemStack(Material.GOLD_INGOT, 1));
    }
    if (event.getEntityType().equals(EntityType.VILLAGER)) {
      event.getDrops().add(new ItemStack(Material.EMERALD, 1));
    }
  }
}
It seems simple enough, can anyone do this for a vouch?
If not, I can pay a few dollars.
DM me here if you can do this.
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Sniper

Software Developer
Supreme
Feedback score
65
Posts
1,312
Reactions
695
Resources
0
You cant stop items from burning.
 

Carry Lord

K9 IRL
Supreme
Feedback score
33
Posts
420
Reactions
197
Resources
0

Sniper

Software Developer
Supreme
Feedback score
65
Posts
1,312
Reactions
695
Resources
0
Yes you can lol have it done on my core. As long as you don't think linear.
Huh? I've looked around and haven't found a way to stop items from burning.
 

Carry Lord

K9 IRL
Supreme
Feedback score
33
Posts
420
Reactions
197
Resources
0
Huh? I've looked around and haven't found a way to stop items from burning.
msny way of doing it i am sure i am not a developer but i think once its about to hit the lava it teleports it to the next closest air block only had this work for spawners on my server.
 
Last edited:

Suspension

Feedback score
3
Posts
144
Reactions
88
Resources
0
Hi there, I need a simple plugin that
  • Allows TNT and creeper eggs to break chests and spawners through water.
  • Stop items from burning (if possible)
  • Zombie Pigmen drop gold
It seems simple enough, can anyone do this for a vouch?
If not, I can pay a few dollars.
DM me here if you can do this.
Custom mob drops plugins are out there for the final request.
 

Sniper

Software Developer
Supreme
Feedback score
65
Posts
1,312
Reactions
695
Resources
0
msny way of doing it i am sure i am not a developer but i think once its about to hit the lava it teleports it to the next closest air block only had this work for spawners on my server.
So you haven't really done it?
 

Carry Lord

K9 IRL
Supreme
Feedback score
33
Posts
420
Reactions
197
Resources
0
Status
This thread has been locked.
Top