public class BlockBurnEvent extends BlockEvent implements Cancellable
このイベントがキャンセルされた場合燃えたブロックが消失する事はありません。
Event.Result
block
Constructor and Description |
---|
BlockBurnEvent(Block block) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
boolean |
isCancelled()
他のリスナーがイベントキャンセルしているか判定します。
|
void |
setCancelled(boolean cancel)
イベントをキャンセルをするか設定します。
|
getBlock
getEventName, isAsynchronous
public BlockBurnEvent(Block block)
public boolean isCancelled()
Cancellable
インターフェイスからのコピーisCancelled
in interface Cancellable
public void setCancelled(boolean cancel)
Cancellable
インターフェースからのコピーsetCancelled
の インターフェース Cancellable
cancel
- true でイベントをキャンセルします。public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2015. All rights reserved.