Package org.bukkit.event.player
Class PlayerBucketEmptyEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerBucketEvent
org.bukkit.event.player.PlayerBucketEmptyEvent
- All Implemented Interfaces:
Cancellable
Called when a player empties a bucket
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
ConstructorDescriptionPlayerBucketEmptyEvent
(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand) Deprecated.PlayerBucketEmptyEvent
(Player who, Block block, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand) Deprecated.PlayerBucketEmptyEvent
(Player who, Block block, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand, EquipmentSlot hand) -
Method Summary
Methods inherited from class org.bukkit.event.player.PlayerBucketEvent
getBlock, getBlockClicked, getBlockFace, getBucket, getHand, getItemStack, isCancelled, setCancelled, setItemStack
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerBucketEmptyEvent
@Deprecated public PlayerBucketEmptyEvent(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated. -
PlayerBucketEmptyEvent
@Deprecated public PlayerBucketEmptyEvent(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated. -
PlayerBucketEmptyEvent
-
-
Method Details
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-