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