EntityJoinWorldEvent is fired when an Entity joins the world.
This event is fired whenever an Entity is added to the world in
World#loadEntities(Collection)
,
WorldServer#loadEntities(Collection)
World.joinEntityInSurroundings(Entity)
, and
World.spawnEntity(Entity)
.
world
contains the world in which the entity is to join.
This event is
Cancelable
.
If this event is canceled, the Entity is not added to the world.
This event does not have a result.
HasResult
This event is fired on the
MinecraftForge.EVENT_BUS
.