Class PlayerBucketEmptyEvent

All Implemented Interfaces:
Cancellable

public class PlayerBucketEmptyEvent extends PlayerBucketEvent
Called when a player empties a bucket
Since:
1.0.0
  • Constructor Details

    • PlayerBucketEmptyEvent

      @Internal @Deprecated(since="1.14.4", forRemoval=true) public PlayerBucketEmptyEvent(@NotNull @NotNull Player player, @NotNull @NotNull Block blockClicked, @NotNull @NotNull BlockFace blockFace, @NotNull @NotNull Material bucket, @NotNull @NotNull ItemStack itemInHand)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PlayerBucketEmptyEvent

      @Internal @Deprecated(since="1.19.2", forRemoval=true) public PlayerBucketEmptyEvent(@NotNull @NotNull Player player, @NotNull @NotNull Block block, @NotNull @NotNull Block blockClicked, @NotNull @NotNull BlockFace blockFace, @NotNull @NotNull Material bucket, @NotNull @NotNull ItemStack itemInHand)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PlayerBucketEmptyEvent

      @Internal public PlayerBucketEmptyEvent(@NotNull @NotNull Player player, @NotNull @NotNull Block block, @NotNull @NotNull Block blockClicked, @NotNull @NotNull BlockFace blockFace, @NotNull @NotNull Material bucket, @NotNull @NotNull ItemStack itemInHand, @NotNull @NotNull EquipmentSlot hand)
  • Method Details

    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
      Since:
      1.1.0
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()
      Since:
      1.1.0