public class EntityTameEvent extends EntityEvent
Constructor and Description |
---|
EntityTameEvent(Entity entity,
Player tamer) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(boolean cancelled) |
boolean |
isIgnored() |
Player |
tamer() |
entity, setEntity
public EntityTameEvent(Entity entity, Player tamer)
public boolean isIgnored()
isIgnored
in interface Cancellable
isIgnored
in class EntityEvent
public void cancel(boolean cancelled)
cancel
in interface Cancellable
cancel
in class EntityEvent
cancelled
- set the cancellation state of the eventCopyright © 2016. All rights reserved.