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
- Since:
- 1.9.4
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class EntityEvent
entity -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class EntityEvent
getEntity, getEntityTypeMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
EntityAddToWorldEvent
-
-
Method Details
-
getWorld
- Returns:
- The world that the entity is being added to
- Since:
- 1.20.4
-
getHandlers
- Specified by:
getHandlersin classEvent- Since:
- 1.9.4
-
getHandlerList
- Since:
- 1.9.4
-