public class PlayerUnleashEntityEvent extends EntityUnleashEvent implements Cancellable
EntityUnleashEvent.UnleashReasonEvent.Resultentity| コンストラクタと説明 |
|---|
PlayerUnleashEntityEvent(Entity entity,
Player player) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Player |
getPlayer()
Returns the player who is unleashing the entity.
|
boolean |
isCancelled()
Gets the cancellation state of this event.
|
void |
setCancelled(boolean cancel)
Sets the cancellation state of this event.
|
getHandlerList, getHandlers, getReasongetEntity, getEntityTypegetEventName, isAsynchronouspublic Player getPlayer()
public boolean isCancelled()
CancellableisCancelled インタフェース内 Cancellablepublic void setCancelled(boolean cancel)
CancellablesetCancelled インタフェース内 Cancellablecancel - true if you wish to cancel this eventCopyright © 2016. All rights reserved.