Package org.bukkit.event.player
Class PlayerBucketFishEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerBucketEntityEvent
org.bukkit.event.player.PlayerBucketFishEvent
- All Implemented Interfaces:
- Cancellable
Deprecated.
This event is called whenever a player attempts to put a fish in a bucket.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.player.PlayerEventplayer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.Gets the fish involved with this event.Deprecated.Deprecated.Methods inherited from class org.bukkit.event.player.PlayerBucketEntityEventgetEntityBucket, getHand, getHandlerList, getHandlers, getOriginalBucket, isCancelled, setCancelledMethods inherited from class org.bukkit.event.player.PlayerEventgetPlayerMethods inherited from class org.bukkit.event.EventcallEvent, getEventName, isAsynchronous
- 
Constructor Details
- 
Method Details- 
getEntityDeprecated.Gets the fish involved with this event.- Overrides:
- getEntityin class- PlayerBucketEntityEvent
- Returns:
- The fish involved with this event
 
- 
getWaterBucketDeprecated.Gets the bucket used. This refers to the bucket clicked with, ieMaterial.WATER_BUCKET.- Returns:
- The used bucket
 
- 
getFishBucketDeprecated.Gets the bucket that the fish will be put into. This refers to the bucket with the fish, ieMaterial.PUFFERFISH_BUCKET.- Returns:
- The bucket that the fish will be put into
 
 
- 
PlayerBucketEntityEvent