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, setCancelledgetEventName, isAsynchronouspublic EntityBlockFormEvent(Entity entity, Block block, BlockState blockstate)
public Entity getEntity()
Copyright © 2018. All rights reserved.