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