Bukkit-API
1.7.9-R0.2
The inofficial Bukkit-API
|
Public Member Functions | |
BlockFormEvent (final Block block, final BlockState newState) | |
HandlerList | getHandlers () |
![]() | |
BlockGrowEvent (final Block block, final BlockState newState) | |
BlockState | getNewState () |
boolean | isCancelled () |
void | setCancelled (boolean cancel) |
HandlerList | getHandlers () |
![]() | |
BlockEvent (final Block theBlock) | |
final Block | getBlock () |
![]() | |
Event () | |
Event (boolean isAsync) | |
String | getEventName () |
abstract HandlerList | getHandlers () |
final boolean | isAsynchronous () |
Static Public Member Functions | |
static HandlerList | getHandlerList () |
![]() | |
static HandlerList | getHandlerList () |
Additional Inherited Members | |
![]() | |
Block | block |
Called when a block is formed or spreads based on world conditions.
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.
Definition at line 24 of file BlockFormEvent.java.