public static class EntityEvent.CanUpdate extends EntityEvent
World.updateEntityWithOptionalForce(net.minecraft.entity.Entity, boolean) canUpdate contains the boolean value of whether this entity can update.Cancelable.MinecraftForge.EVENT_BUS.EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Method and Description |
|---|---|
boolean |
getCanUpdate() |
void |
setCanUpdate(boolean canUpdate) |
getEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic CanUpdate(Entity entity)