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
ConstructorDescriptionPlayerPickupArrowEvent
(@NotNull Player player, @NotNull Item item, @NotNull AbstractArrow arrow) -
Method Summary
Methods inherited from class org.bukkit.event.player.PlayerPickupItemEvent
getFlyAtPlayer, getHandlerList, getHandlers, getItem, getRemaining, isCancelled, setCancelled, setFlyAtPlayer
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
asynchronous, callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerPickupArrowEvent
-
-
Method Details
-
getArrow
Get the arrow being picked up by the player- Returns:
- The arrow being picked up
-