Cancellable
public class PlayerPickupArrowEvent extends PlayerPickupItemEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerPickupArrowEvent(@NotNull Player player,
@NotNull Item item,
@NotNull AbstractArrow arrow) |
Modifier and Type | Method | Description |
---|---|---|
@NotNull 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 @NotNull Player player, @NotNull @NotNull Item item, @NotNull @NotNull AbstractArrow arrow)
@NotNull public @NotNull AbstractArrow getArrow()
Copyright © 2020. All rights reserved.