public final class EntityBlockChangeEvent extends EntityEvent implements Cancellable
entity| Constructor and Description |
|---|
EntityBlockChangeEvent(Entity entity,
Block block,
BlockState to) |
| Modifier and Type | Method and Description |
|---|---|
Block |
getBlock() |
BlockState |
getTo() |
getEntityisCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic EntityBlockChangeEvent(Entity entity, Block block, BlockState to)
public Block getBlock()
public BlockState getTo()
Copyright © 2021. All rights reserved.