public class PlayerDamagedByEntityEvent extends PlayerEvent implements CancellableEvent
Constructor and Description |
---|
PlayerDamagedByEntityEvent(Player cible,
Entity damager) |
Modifier and Type | Method and Description |
---|---|
Entity |
getDamager() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getPlayer
public Entity getDamager()
public boolean isCancelled()
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancel)
setCancelled
in interface CancellableEvent