public class PlayerBucketEmptyEvent extends PlayerBucketEvent
Event.Result
player
Constructor and Description |
---|
PlayerBucketEmptyEvent(Player who,
Block block,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand) |
PlayerBucketEmptyEvent(Player who,
Block block,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand,
EquipmentSlot hand) |
PlayerBucketEmptyEvent(Player who,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand)
Deprecated.
|
PlayerBucketEmptyEvent(Player who,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand,
EquipmentSlot hand)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
getBlock, getBlockClicked, getBlockFace, getBucket, getHand, getItemStack, isCancelled, setCancelled, setItemStack
getPlayer
callEvent, getEventName, isAsynchronous
@Deprecated public PlayerBucketEmptyEvent(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand)
public PlayerBucketEmptyEvent(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand)
@Deprecated public PlayerBucketEmptyEvent(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand, @Nullable EquipmentSlot hand)
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.