public class BlockFadeEvent extends BlockEvent implements Cancellable
Examples:
このイベントがキャンセルされた場合溶ける事も火が燃え尽きる事もありません。
Event.Resultblock| Constructor and Description | 
|---|
| BlockFadeEvent(Block block,
              BlockState newState) | 
| Modifier and Type | Method and Description | 
|---|---|
| static HandlerList | getHandlerList() | 
| HandlerList | getHandlers() | 
| BlockState | getNewState()消えるブロックの BlockState を取得します。 | 
| boolean | isCancelled()他のリスナーがイベントをキャンセルしているか判定します。 | 
| void | setCancelled(boolean cancel)イベントをキャンセルをするか設定します。 | 
getBlockgetEventName, isAsynchronouspublic BlockFadeEvent(Block block, BlockState newState)
public BlockState getNewState()
public boolean isCancelled()
Cancellable インターフェースからのコピーisCancelled のインターフェース Cancellablepublic void setCancelled(boolean cancel)
Cancellable インターフェースからのコピーsetCancelled のインターフェース Cancellablecancel - true でイベントをキャンセルします。public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2015. All rights reserved.