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