public class ItemSpawnEvent extends EntitySpawnEvent
Event.Resultentity| 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, setCancelledgetEntityTypegetEventName, isAsynchronouspublic ItemSpawnEvent(Item spawnee)
@Deprecated public ItemSpawnEvent(Item spawnee, Location loc)
public Item getEntity()
EntityEventgetEntity in class EntityEventCopyright © 2016. All rights reserved.