Class PlayerBucketFillEvent

All Implemented Interfaces:
Cancellable

public class PlayerBucketFillEvent extends PlayerBucketEvent
Called when a player fills a bucket
  • Constructor Details

    • PlayerBucketFillEvent

      @Internal @Deprecated(since="1.14.4", forRemoval=true) public PlayerBucketFillEvent(@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.
    • PlayerBucketFillEvent

      @Internal @Deprecated(since="1.19.2", forRemoval=true) public PlayerBucketFillEvent(@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.
    • PlayerBucketFillEvent

      @Internal public PlayerBucketFillEvent(@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