public class ItemSpawnEvent extends EntitySpawnEvent
Event.Result
entity
Constructor and Description |
---|
ItemSpawnEvent(Item spawnee) |
ItemSpawnEvent(Item spawnee,
Location loc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Item |
getEntity()
Returns the Entity involved in this event
|
getHandlerList, getHandlers, getLocation, isCancelled, setCancelled
getEntityType
getEventName, isAsynchronous
public ItemSpawnEvent(Item spawnee)
@Deprecated public ItemSpawnEvent(Item spawnee, Location loc)
public Item getEntity()
EntityEvent
getEntity
in class EntityEvent
Copyright © 2017. All rights reserved.