类 PlayerBucketFishEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerBucketEntityEvent
org.bukkit.event.player.PlayerBucketFishEvent
- 所有已实现的接口:
Cancellable
已过时。
This event is called whenever a player attempts to put a fish in a bucket.
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
从类继承的字段 org.bukkit.event.player.PlayerEvent
player
-
构造器概要
-
方法概要
修饰符和类型方法说明已过时。Gets the fish involved with this event.从类继承的方法 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
- 返回:
- The fish involved with this event
-
getWaterBucket
Gets the bucket used. This refers to the bucket clicked with, ieMaterial.WATER_BUCKET
.- 返回:
- The used bucket
-
getFishBucket
Gets the bucket that the fish will be put into. This refers to the bucket with the fish, ieMaterial.PUFFERFISH_BUCKET
.- 返回:
- The bucket that the fish will be put into
-
PlayerBucketEntityEvent