public static class EntityEvent.EnteringChunk extends EntityEvent
Chunk.addEntity(net.minecraft.entity.Entity)
Cancelable
.HasResult
MinecraftForge.EVENT_BUS
.EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Constructor and Description |
---|
EnteringChunk(Entity entity,
int newChunkX,
int newChunkZ,
int oldChunkX,
int oldChunkZ) |
Modifier and Type | Method and Description |
---|---|
int |
getNewChunkX() |
int |
getNewChunkZ() |
int |
getOldChunkX() |
int |
getOldChunkZ() |
void |
setNewChunkX(int newChunkX) |
void |
setNewChunkZ(int newChunkZ) |
void |
setOldChunkX(int oldChunkX) |
void |
setOldChunkZ(int oldChunkZ) |
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public EnteringChunk(Entity entity, int newChunkX, int newChunkZ, int oldChunkX, int oldChunkZ)
public int getNewChunkX()
public void setNewChunkX(int newChunkX)
public int getNewChunkZ()
public void setNewChunkZ(int newChunkZ)
public int getOldChunkX()
public void setOldChunkX(int oldChunkX)
public int getOldChunkZ()
public void setOldChunkZ(int oldChunkZ)