public class EntityAddToWorldEvent extends EntityEvent
CreatureSpawnEvent
This will fire anytime a chunk is reloaded too.Event.Result
entity
Constructor | Description |
---|---|
EntityAddToWorldEvent(Entity entity) |
Modifier and Type | Method | Description |
---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
getEntity, getEntityType
callEvent, getEventName, isAsynchronous
public EntityAddToWorldEvent(@NotNull Entity entity)
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.