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