类 PlayerBucketFishEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerBucketEntityEvent
org.bukkit.event.player.PlayerBucketFishEvent
- 所有已实现的接口:
Cancellable
已过时。
当玩家尝试将鱼放入桶中时触发此事件.
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result -
字段概要
从类继承的字段 org.bukkit.event.player.PlayerEvent
player -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明已过时。获取此事件涉及的鱼.从类继承的方法 org.bukkit.event.player.PlayerBucketEntityEvent
getEntityBucket, getHand, getHandlerList, getHandlers, getOriginalBucket, isCancelled, setCancelled从类继承的方法 org.bukkit.event.player.PlayerEvent
getPlayer从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
方法详细资料
-
getEntity
已过时。获取此事件涉及的鱼.原文: Gets the fish involved with this event.
- 覆盖:
getEntity在类中PlayerBucketEntityEvent- 返回:
- 此事件涉及的鱼
-
getWaterBucket
获取使用的桶.原文: Gets the bucket used. This refers to the bucket clicked with, ie
Material.WATER_BUCKET.- 返回:
- 使用的桶
-
getFishBucket
获取鱼将被放入的桶.原文: Gets the bucket that the fish will be put into. This refers to the bucket with the fish, ie
Material.PUFFERFISH_BUCKET.- 返回:
- 鱼将被放入的桶
-
PlayerBucketEntityEvent