Cancellable
public class ItemSpawnEvent extends EntitySpawnEvent
Event.Result
entity
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
|
getEntityType
getHandlerList, getHandlers, getLocation, isCancelled, setCancelled
getEventName, isAsynchronous
public ItemSpawnEvent(Item spawnee)
public Item getEntity()
EntityEvent
getEntity
in class EntityEvent
Copyright © 2018. All rights reserved.