public class BlockFormEvent extends BlockGrowEvent
 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(@NotNull Block block,
              @NotNull BlockState newState)  | 
| Modifier and Type | Method and Description | 
|---|---|
static @NotNull HandlerList | 
getHandlerList()  | 
@NotNull HandlerList | 
getHandlers()  | 
getNewState, isCancelled, setCancelledgetBlockgetEventName, isAsynchronouspublic BlockFormEvent(@NotNull
                      @NotNull Block block,
                      @NotNull
                      @NotNull BlockState newState)
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class BlockGrowEvent@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.