public class BlockFormEvent extends BlockGrowEvent implements Cancellable
Use BlockSpreadEvent
to catch blocks that actually spread and don't
just "randomly" form.
Examples:
If a Block Form event is cancelled, the block will not be formed.
BlockSpreadEvent
Event.Result
block
コンストラクタと説明 |
---|
BlockFormEvent(Block block,
BlockState newState) |
修飾子とタイプ | メソッドと説明 |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
getNewState, isCancelled, setCancelled
getBlock
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCancelled, setCancelled
public BlockFormEvent(Block block, BlockState newState)
public HandlerList getHandlers()
getHandlers
クラス内 BlockGrowEvent
public static HandlerList getHandlerList()
Copyright © 2016. All rights reserved.