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.
BlockSpreadEventEvent.Resultblock| Constructor and Description |
|---|
BlockFormEvent(Block block,
BlockState newState) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
getNewState, isCancelled, setCancelledgetBlockgetEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelledpublic BlockFormEvent(Block block, BlockState newState)
public HandlerList getHandlers()
getHandlers in class BlockGrowEventpublic static HandlerList getHandlerList()
Copyright © 2017. All rights reserved.