Class EntityAddToWorldEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
com.destroystokyo.paper.event.entity.EntityAddToWorldEvent
Fired any time an entity is being added to the world for any reason (including a chunk loading).
Not to be confused with CreatureSpawnEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.entity.EntityEvent
entity
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.entity.EntityEvent
getEntity, getEntityType
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
EntityAddToWorldEvent
-
-
Method Details
-
getWorld
- Returns:
- The world that the entity is being added to
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-