public class AnvilInventory extends FakeBlockUIComponent
| Modifier and Type | Field and Description |
|---|---|
static int |
RESULT |
static int |
SACRIFICE |
static int |
TARGET |
holder, maxStackSize, name, slots, title, viewers| Constructor and Description |
|---|
AnvilInventory(PlayerUIInventory playerUI,
Block block) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(Player who) |
void |
onOpen(Player who) |
boolean |
onRename(Player player,
Item resultItem) |
close, getHolder, opengetContents, getItem, getMaxStackSize, getSize, getTitle, getType, getViewers, onSlotChange, sendContents, sendSlot, setItem, setMaxStackSizeaddItem, all, canAddItem, clear, clearAll, contains, decreaseCount, first, firstEmpty, firstFit, firstNonEmpty, getFreeSpace, getName, increaseCount, isEmpty, isFull, remove, removeItem, sendContents, sendContents, sendSlot, sendSlot, setContents, setSizepublic static final int TARGET
public static final int SACRIFICE
public static final int RESULT
public AnvilInventory(PlayerUIInventory playerUI, Block block)
public void onClose(Player who)
onClose in interface InventoryonClose in class FakeBlockUIComponentpublic void onOpen(Player who)
onOpen in interface InventoryonOpen in class FakeBlockUIComponentCopyright © 2020. All rights reserved.