Package org.bukkit.event.entity
Class ItemSpawnEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntitySpawnEvent
org.bukkit.event.entity.ItemSpawnEvent
- All Implemented Interfaces:
Cancellable
public class ItemSpawnEvent extends EntitySpawnEvent
Called when an item is spawned into a world
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ItemSpawnEvent(Item spawnee)
ItemSpawnEvent(Item spawnee, Location loc)
Deprecated. -
Method Summary
Methods inherited from class org.bukkit.event.entity.EntitySpawnEvent
getHandlerList, getHandlers, getLocation, isCancelled, setCancelled
-
Constructor Details
-
ItemSpawnEvent
Deprecated. -
ItemSpawnEvent
-
-
Method Details
-
getEntity
Description copied from class:EntityEvent
Returns the Entity involved in this event- Overrides:
getEntity
in classEntityEvent
- Returns:
- Entity who is involved in this event
-