public class BlockPhysicsEvent extends BlockEvent implements Cancellable
Event.Resultblock| コンストラクタと説明 |
|---|
BlockPhysicsEvent(Block block,
int changed)
非推奨です。
Magic value
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Material |
getChangedType()
Gets the type of block that changed, causing this event
|
int |
getChangedTypeId()
非推奨です。
Magic value
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
boolean |
isCancelled()
Gets the cancellation state of this event.
|
void |
setCancelled(boolean cancel)
Sets the cancellation state of this event.
|
getBlockgetEventName, isAsynchronous@Deprecated public BlockPhysicsEvent(Block block, int changed)
block - the block involved in this eventchanged - the changed block's type id@Deprecated public int getChangedTypeId()
public Material getChangedType()
public boolean isCancelled()
CancellableisCancelled インタフェース内 Cancellablepublic void setCancelled(boolean cancel)
CancellablesetCancelled インタフェース内 Cancellablecancel - true if you wish to cancel this eventpublic HandlerList getHandlers()
getHandlers クラス内 Eventpublic static HandlerList getHandlerList()
Copyright © 2016. All rights reserved.