public class EntityJoinWorldEvent extends EntityEvent
World.loadEntities(Collection)
, WorldServer.loadEntities(Collection)
World.joinEntityInSurroundings(Entity)
, and World.spawnEntity(Entity)
. world
contains the world in which the entity is to join.Cancelable
.HasResult
MinecraftForge.EVENT_BUS
.EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Constructor and Description |
---|
EntityJoinWorldEvent(Entity entity,
World world) |
Modifier and Type | Method and Description |
---|---|
World |
getWorld() |
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup