Cancellable
public class PlayerBucketEmptyEvent extends PlayerBucketEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerBucketEmptyEvent(@NotNull Player who,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand) |
Deprecated.
|
PlayerBucketEmptyEvent(@NotNull Player who,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand,
@Nullable EquipmentSlot hand) |
Deprecated.
|
PlayerBucketEmptyEvent(@NotNull Player who,
@NotNull Block block,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand) |
|
PlayerBucketEmptyEvent(@NotNull Player who,
@NotNull Block block,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand,
@Nullable EquipmentSlot hand) |
Modifier and Type | Method | Description |
---|---|---|
static @NotNull HandlerList |
getHandlerList() |
|
@NotNull HandlerList |
getHandlers() |
callEvent, getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlock, getBlockClicked, getBlockFace, getBucket, getHand, getItemStack, isCancelled, setCancelled, setItemStack
getPlayer
@Deprecated public PlayerBucketEmptyEvent(@NotNull @NotNull Player who, @NotNull @NotNull Block blockClicked, @NotNull @NotNull BlockFace blockFace, @NotNull @NotNull Material bucket, @NotNull @NotNull ItemStack itemInHand)
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)
@Deprecated public PlayerBucketEmptyEvent(@NotNull @NotNull Player who, @NotNull @NotNull Block blockClicked, @NotNull @NotNull BlockFace blockFace, @NotNull @NotNull Material bucket, @NotNull @NotNull ItemStack itemInHand, @Nullable @Nullable EquipmentSlot hand)
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, @Nullable @Nullable EquipmentSlot hand)
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.