Cancellable
public class EntityBlockFormEvent extends BlockFormEvent
Examples:
Snowman
.
Event.Result
block
Constructor | Description |
---|---|
EntityBlockFormEvent(Entity entity,
Block block,
BlockState blockstate) |
Modifier and Type | Method | Description |
---|---|---|
Entity |
getEntity() |
Get the entity that formed the block.
|
getBlock
getHandlerList, getHandlers
getNewState, isCancelled, setCancelled
getEventName, isAsynchronous
public EntityBlockFormEvent(Entity entity, Block block, BlockState blockstate)
public Entity getEntity()
Copyright © 2018. All rights reserved.