public class EntityBlockChangeEvent extends EntityEvent implements Cancellable
entity| Constructor and Description |
|---|
EntityBlockChangeEvent(Entity entity,
BlockState from,
BlockState to) |
| Modifier and Type | Method and Description |
|---|---|
BlockState |
getFrom() |
static HandlerList |
getHandlers() |
BlockState |
getTo() |
getEntitygetEventName, isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic EntityBlockChangeEvent(Entity entity, BlockState from, BlockState to)
public static HandlerList getHandlers()
public BlockState getFrom()
public BlockState getTo()
Copyright © 2020. All rights reserved.