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, EntityEvent.EyeHeight
Modifier and Type | Field and Description |
---|---|
private boolean |
canUpdate |
Modifier and Type | Method and Description |
---|---|
boolean |
getCanUpdate() |
void |
setCanUpdate(boolean canUpdate) |
getEntity
public CanUpdate(Entity entity)