Get dropped item entities when player dies?

Discussion in 'Plugin Development' started by InfiniteMinecraft, Jul 22, 2012.

Thread Status:
Not open for further replies.
  1. When a player dies, how can I add the dropped item entity to a list so that I can remove the dropped item entities later?
     
  2. Offline

    r0306

  3. That doesn't get the entities, just the item stacks.
     
  4. Doesn't player only drop items and exp orbs on death ? Well you can change both of those in the event.

    Hmm, or do you want the Entity object of the items ? Why ? I belive you could just use getNearbyEntities() but you should tell why you need that, maybe there's a better way.
     
    r0306 likes this.
  5. Offline

    r0306

Thread Status:
Not open for further replies.

Share This Page