Class PlayerBucketEmptyEvent

  • All Implemented Interfaces:
    Cancellable

    public class PlayerBucketEmptyEvent
    extends PlayerBucketEvent
    Called when a player empties a bucket
    • Constructor Detail

      • PlayerBucketEmptyEvent

        @Deprecated
        public PlayerBucketEmptyEvent​(@NotNull
                                      @NotNull Player who,
                                      @NotNull
                                      @NotNull Block blockClicked,
                                      @NotNull
                                      @NotNull BlockFace blockFace,
                                      @NotNull
                                      @NotNull Material bucket,
                                      @NotNull
                                      @NotNull ItemStack itemInHand)
        Deprecated.
      • PlayerBucketEmptyEvent

        public PlayerBucketEmptyEvent​(@NotNull
                                      @NotNull Player who,
                                      @NotNull
                                      @NotNull Block block,
                                      @NotNull
                                      @NotNull Block blockClicked,
                                      @NotNull
                                      @NotNull BlockFace blockFace,
                                      @NotNull
                                      @NotNull Material bucket,
                                      @NotNull
                                      @NotNull ItemStack itemInHand)