public class CloudChestInventory extends CloudContainer implements org.cloudburstmc.api.inventory.ChestInventory
| Modifier and Type | Field and Description |
|---|---|
protected CloudDoubleChestInventory |
doubleInventory |
holder, maxStackSize, name, size, slots, title, type, viewers| Constructor and Description |
|---|
CloudChestInventory(org.cloudburstmc.api.blockentity.Chest chest) |
| Modifier and Type | Method and Description |
|---|---|
CloudDoubleChestInventory |
getDoubleInventory() |
ChestBlockEntity |
getHolder() |
boolean |
isDouble() |
void |
onClose(org.cloudburstmc.api.player.Player who) |
void |
onOpen(org.cloudburstmc.api.player.Player who) |
void |
sendSlot(int index,
org.cloudburstmc.api.player.Player... players) |
void |
setDoubleInventory(CloudDoubleChestInventory doubleInventory) |
calculateRedstone, sendBlockEventPacketaddItem, 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, 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, setContents, setItem, setItem, setMaxStackSizeprotected CloudDoubleChestInventory doubleInventory
public CloudChestInventory(org.cloudburstmc.api.blockentity.Chest chest)
public ChestBlockEntity getHolder()
getHolder in interface org.cloudburstmc.api.inventory.ChestInventorygetHolder in interface org.cloudburstmc.api.inventory.InventorygetHolder in class BaseInventorypublic void onOpen(org.cloudburstmc.api.player.Player who)
onOpen in interface org.cloudburstmc.api.inventory.InventoryonOpen in class CloudContainerpublic void onClose(org.cloudburstmc.api.player.Player who)
onClose in interface org.cloudburstmc.api.inventory.InventoryonClose in class CloudContainerpublic void setDoubleInventory(CloudDoubleChestInventory doubleInventory)
public CloudDoubleChestInventory getDoubleInventory()
public void sendSlot(int index,
org.cloudburstmc.api.player.Player... players)
sendSlot in interface org.cloudburstmc.api.inventory.InventorysendSlot in class BaseInventorypublic boolean isDouble()
isDouble in interface org.cloudburstmc.api.inventory.ChestInventoryCopyright © 2021. All rights reserved.