程序包 org.bukkit.event.player

# 类 PlayerPickupArrowEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerPickupItemEvent
org.bukkit.event.player.PlayerPickupArrowEvent

所有已实现的接口:
  `Cancellable`

public class PlayerPickupArrowEvent extends PlayerPickupItemEvent
当玩家从地上捡起箭时触发本事件.

- ## 嵌套类概要

  ## 从类继承的嵌套类/接口 org.bukkit.event.Event

  `Event.Result`

- ## 字段概要

  ### 从类继承的字段 org.bukkit.event.player.PlayerEvent

  `player`

- ## 构造器概要

  构造器
  构造器
  说明
  `PlayerPickupArrowEvent(@NotNull Player player, @NotNull Item item, @NotNull AbstractArrow arrow)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull AbstractArrow`
  `getArrow()`
  获取玩家捡起的箭.

  ### 从类继承的方法 org.bukkit.event.player.PlayerPickupItemEvent

  `getHandlerList, getHandlers, getItem, getRemaining, isCancelled, setCancelled`

  ### 从类继承的方法 org.bukkit.event.player.PlayerEvent

  `getPlayer`

  ### 从类继承的方法 org.bukkit.event.Event

  `getEventName, isAsynchronous`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### PlayerPickupArrowEvent

    public PlayerPickupArrowEvent(@NotNull @NotNull Player player, @NotNull @NotNull Item item, @NotNull @NotNull AbstractArrow arrow)

- ## 方法详细资料

  - ### getArrow

    @NotNull public @NotNull AbstractArrow getArrow()
    获取玩家捡起的箭.

    原文:Get the arrow being picked up by the player

    返回:
      被捡起的箭