Cancellable@Deprecated public class MoistureChangeEvent extends BlockEvent implements Cancellable
Event.Resultblock| Constructor | Description |
|---|---|
MoistureChangeEvent(Block block,
BlockState newState) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
static HandlerList |
getHandlerList() |
Deprecated.
|
HandlerList |
getHandlers() |
Deprecated.
|
BlockState |
getNewState() |
Deprecated.
Gets the new state of the affected block.
|
boolean |
isCancelled() |
Deprecated.
Gets the cancellation state of this event.
|
void |
setCancelled(boolean cancel) |
Deprecated.
Sets the cancellation state of this event.
|
getBlockgetEventName, isAsynchronouspublic MoistureChangeEvent(Block block, BlockState newState)
public BlockState getNewState()
public boolean isCancelled()
CancellableisCancelled in interface Cancellablepublic void setCancelled(boolean cancel)
CancellablesetCancelled in interface Cancellablecancel - true if you wish to cancel this eventpublic HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.