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.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private boolean |
canUpdate |
Modifier and Type | Method and Description |
---|---|
boolean |
getCanUpdate() |
void |
setCanUpdate(boolean canUpdate) |
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public CanUpdate(Entity entity)