PlayerPickupItemEvent
PlayerPickupItemEvent
=> org.bukkit.event.Event
=> org.bukkit.event.player.PlayerEvent
=> org.bukkit.event.player.PlayerPickupItemEvent
Thrown when a player picks an item up from the ground@deprecated {@link EntityPickupItemEvent}当玩家自地上捡起物品时触发。@deprecated 本事件已过时。请监听EntityPickupItemEvent
。
方法声明: public Item getItem()
方法签名: ()Lorg/bukkit/entity/Item;
Gets the Item picked up by the player.@return Item译注:请使用EntityPickupItemEvent
。本事件已经过时。
方法声明: public int getRemaining()
方法签名: ()I
Gets the amount remaining on the ground, if any@return amount remaining on the ground译注:请使用EntityPickupItemEvent
。本事件已经过时。
方法声明: public boolean isCancelled()
方法签名: ()Z
方法声明: public void setCancelled(boolean cancel)
方法签名: (Z)V
方法声明: public HandlerList getHandlers()
方法签名: ()Lorg/bukkit/event/HandlerList;
方法声明: public static HandlerList getHandlerList()
方法签名: ()Lorg/bukkit/event/HandlerList;
Last modified 1mo ago