Package org.bukkit.event.player
Class PlayerPickupArrowEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerPickupItemEvent
org.bukkit.event.player.PlayerPickupArrowEvent
- All Implemented Interfaces:
Cancellable
public class PlayerPickupArrowEvent extends PlayerPickupItemEvent
Thrown when a player picks up an arrow from the ground.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlayerPickupArrowEvent(Player player, Item item, AbstractArrow arrow)
-
Method Summary
Modifier and Type Method Description AbstractArrow
getArrow()
Get the arrow being picked up by the playerMethods inherited from class org.bukkit.event.player.PlayerPickupItemEvent
getHandlerList, getHandlers, getItem, getRemaining, isCancelled, setCancelled
-
Constructor Details
-
Method Details
-
getArrow
Get the arrow being picked up by the player- Returns:
- The arrow being picked up
-