public class CloudEnchantInventory extends BaseInventory implements org.cloudburstmc.api.inventory.EnchantInventory
holder, maxStackSize, name, size, slots, title, type, viewers| Constructor and Description |
|---|
CloudEnchantInventory(CloudPlayer player,
org.cloudburstmc.api.blockentity.EnchantingTable table) |
| Modifier and Type | Method and Description |
|---|---|
CloudPlayer |
getHolder() |
org.cloudburstmc.api.item.ItemStack |
getInput() |
org.cloudburstmc.api.item.ItemStack |
getOutput() |
org.cloudburstmc.api.item.ItemStack |
getReagent() |
EnchantingTableBlockEntity |
getTable() |
void |
onClose(org.cloudburstmc.api.player.Player who) |
void |
onOpen(org.cloudburstmc.api.player.Player who) |
void |
setInput(org.cloudburstmc.api.item.ItemStack item) |
void |
setOutput(org.cloudburstmc.api.item.ItemStack item) |
void |
setReagent(org.cloudburstmc.api.item.ItemStack item) |
addItem, addItemToFirstEmptySlot, all, canAddItem, clear, clearAll, close, contains, decrementCount, first, firstEmpty, firstFit, firstNonEmpty, getContents, getEmptySlotsCount, getFreeSpace, getItem, getMaxStackSize, getName, getSize, getTitle, getType, getViewers, incrementCount, isEmpty, isFull, onSlotChange, open, remove, removeItem, sendContents, sendSlot, setContents, setItem, setMaxStackSize, setSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddItem, all, canAddItem, clear, clear, clearAll, close, contains, decrementCount, first, first, firstEmpty, firstFit, firstFit, firstNonEmpty, getContents, getFreeSpace, getItem, getMaxStackSize, getName, getSize, getTitle, getType, getViewers, incrementCount, isEmpty, isFull, onSlotChange, open, remove, removeItem, sendContents, sendContents, sendContents, sendSlot, sendSlot, sendSlot, setContents, setItem, setItem, setMaxStackSizepublic CloudEnchantInventory(CloudPlayer player, org.cloudburstmc.api.blockentity.EnchantingTable table)
public CloudPlayer getHolder()
getHolder in interface org.cloudburstmc.api.inventory.EnchantInventorygetHolder in interface org.cloudburstmc.api.inventory.InventorygetHolder in class BaseInventorypublic EnchantingTableBlockEntity getTable()
getTable in interface org.cloudburstmc.api.inventory.EnchantInventorypublic org.cloudburstmc.api.item.ItemStack getInput()
getInput in interface org.cloudburstmc.api.inventory.EnchantInventorypublic void setInput(org.cloudburstmc.api.item.ItemStack item)
setInput in interface org.cloudburstmc.api.inventory.EnchantInventorypublic org.cloudburstmc.api.item.ItemStack getOutput()
getOutput in interface org.cloudburstmc.api.inventory.EnchantInventorypublic void setOutput(org.cloudburstmc.api.item.ItemStack item)
setOutput in interface org.cloudburstmc.api.inventory.EnchantInventorypublic org.cloudburstmc.api.item.ItemStack getReagent()
getReagent in interface org.cloudburstmc.api.inventory.EnchantInventorypublic void setReagent(org.cloudburstmc.api.item.ItemStack item)
setReagent in interface org.cloudburstmc.api.inventory.EnchantInventorypublic void onOpen(org.cloudburstmc.api.player.Player who)
onOpen in interface org.cloudburstmc.api.inventory.InventoryonOpen in class BaseInventorypublic void onClose(org.cloudburstmc.api.player.Player who)
onClose in interface org.cloudburstmc.api.inventory.InventoryonClose in class BaseInventoryCopyright © 2021. All rights reserved.