Cancellablepublic class ItemSpawnEvent extends EntitySpawnEvent
Event.Resultentity| Constructor | Description |
|---|---|
ItemSpawnEvent(Item spawnee) |
|
ItemSpawnEvent(Item spawnee,
Location loc) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
Item |
getEntity() |
Returns the Entity involved in this event
|
getEntityTypegetHandlerList, getHandlers, getLocation, isCancelled, setCancelledcallEvent, getEventName, isAsynchronouspublic ItemSpawnEvent(Item spawnee)
@Deprecated public ItemSpawnEvent(Item spawnee, Location loc)
public Item getEntity()
EntityEventgetEntity in class EntityEventCopyright © 2019. All rights reserved.