Skip to content

Instantly share code, notes, and snippets.

@windy1
Created December 9, 2012 01:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save windy1/4242870 to your computer and use it in GitHub Desktop.
Save windy1/4242870 to your computer and use it in GitHub Desktop.
EntityDeathEvent
class EntityDeathEvent extends EntityEvent {
@Getter
@Setter
List<ItemStack> droppedItems;
@Getter
@Setter
int droppedExp;
@Getter
@Setter
String message;
EntityDeathEvent(Entity e, List<ItemStack> droppedItems, int droppedExp, String message) {
super(e);
this.droppedItems = droppedItems;
this.droppedExp = droppedExp;
this.message = message;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment