Cancellablepublic class EntityBlockFormEvent extends BlockFormEvent
Examples:
Snowman.
 Event.Resultblock| Constructor | Description | 
|---|---|
| EntityBlockFormEvent(@NotNull Entity entity,
                    @NotNull Block block,
                    @NotNull BlockState blockstate) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull Entity | getEntity() | Get the entity that formed the block. | 
getBlockgetHandlerList, getHandlersgetNewState, isCancelled, setCancelledgetEventName, isAsynchronouspublic EntityBlockFormEvent(@NotNull
                            @NotNull Entity entity,
                            @NotNull
                            @NotNull Block block,
                            @NotNull
                            @NotNull BlockState blockstate)
@NotNull public @NotNull Entity getEntity()
Copyright © 2020. All rights reserved.