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.HasResultMinecraftForge.EVENT_BUS.EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Constructor and Description |
|---|
EntityJoinWorldEvent(Entity entity,
World world) |
| Modifier and Type | Method and Description |
|---|---|
World |
getWorld() |
getEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup