public final class PlayerGlassBottleFillEvent extends PlayerEvent implements Cancellable
| Modifier and Type | Field and Description |
|---|---|
protected ItemStack |
item |
protected BlockState |
target |
| Constructor and Description |
|---|
PlayerGlassBottleFillEvent(Player player,
BlockState target,
ItemStack item) |
| Modifier and Type | Method and Description |
|---|---|
BlockState |
getBlock() |
ItemStack |
getItem() |
getPlayerisCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledprotected final ItemStack item
protected final BlockState target
public PlayerGlassBottleFillEvent(Player player, BlockState target, ItemStack item)
public ItemStack getItem()
public BlockState getBlock()
Copyright © 2021. All rights reserved.