Cancellable
public class PlayerPickupArrowEvent extends PlayerPickupItemEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerPickupArrowEvent(Player player,
Item item,
AbstractArrow arrow) |
Modifier and Type | Method | Description |
---|---|---|
AbstractArrow |
getArrow() |
Get the arrow being picked up by the player
|
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
getHandlerList, getHandlers, getItem, getRemaining, isCancelled, setCancelled
public PlayerPickupArrowEvent(@NotNull Player player, @NotNull Item item, @NotNull AbstractArrow arrow)
@NotNull public AbstractArrow getArrow()
Copyright © 2020. All rights reserved.