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