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