public class EntityAddToWorldEvent extends Event
CreatureSpawnEvent
This will fire anytime a chunk is reloaded too.Event.Result| Constructor and Description |
|---|
EntityAddToWorldEvent(Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
Entity |
getEntity()
Gets the entity being added to the world
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
callEvent, getEventName, isAsynchronouspublic EntityAddToWorldEvent(Entity entity)
public Entity getEntity()
public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2016. All rights reserved.