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
Thrown when a player picks up an arrow from the ground.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.player.PlayerPickupItemEvent
getHandlerList, getHandlers, getItem, getRemaining, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerPickupArrowEvent
public PlayerPickupArrowEvent(@NotNull Player player, @NotNull Item item, @NotNull AbstractArrow arrow)
-
-
Method Details
-
getArrow
Get the arrow being picked up by the player- Returns:
- The arrow being picked up
-