Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler
- public void onEntityDamageByEntity(EntityDamageByEntityEvent event){
- Entity player = event.getEntity();
- if (event.getEntityType().PLAYER != null){
- Entity zombie = event.getEntity();
- if(event.getDamager().getType().equals(EntityType.ZOMBIE)){
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment