Set Drops on EnitiyDeathEvent?

Discussion in 'Plugin Development' started by MrEminent42, May 10, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    MrEminent42

    So I was looking through the Javadocs, and I saw there is a way to get the drops when an entity dies, but is there a way to set what they drop?
     
  2. Offline

    Zombie_Striker

    e.getDrops().set(ItemValue,ItemStack);

    or Drops.Clear and .add(ItemStack)
     
  3. Offline

    MrEminent42

  4. Offline

    Zombie_Striker

    Mark as solved if solved.
     
  5. Offline

    MrEminent42

    @Zombie_Striker
    I might run into problems on the way that's why I'm not marking it.
     
    Last edited: May 10, 2015
Thread Status:
Not open for further replies.

Share This Page