public abstract class CloudContainer extends BaseInventory implements org.cloudburstmc.api.inventory.ContainerInventory
holder, maxStackSize, name, size, slots, title, type, viewers| Constructor and Description |
|---|
CloudContainer(org.cloudburstmc.api.inventory.InventoryHolder holder,
org.cloudburstmc.api.inventory.InventoryType type) |
CloudContainer(org.cloudburstmc.api.inventory.InventoryHolder holder,
org.cloudburstmc.api.inventory.InventoryType type,
Map<Integer,org.cloudburstmc.api.item.ItemStack> items) |
CloudContainer(org.cloudburstmc.api.inventory.InventoryHolder holder,
org.cloudburstmc.api.inventory.InventoryType type,
Map<Integer,org.cloudburstmc.api.item.ItemStack> items,
Integer overrideSize) |
CloudContainer(org.cloudburstmc.api.inventory.InventoryHolder holder,
org.cloudburstmc.api.inventory.InventoryType type,
Map<Integer,org.cloudburstmc.api.item.ItemStack> items,
Integer overrideSize,
String overrideTitle) |
| Modifier and Type | Method and Description |
|---|---|
static int |
calculateRedstone(org.cloudburstmc.api.inventory.Inventory inv) |
void |
onClose(org.cloudburstmc.api.player.Player who) |
void |
onOpen(org.cloudburstmc.api.player.Player who) |
static void |
sendBlockEventPacket(org.cloudburstmc.api.blockentity.BlockEntity block,
int eventData) |
addItem, addItemToFirstEmptySlot, all, canAddItem, clear, clearAll, close, contains, decrementCount, first, firstEmpty, firstFit, firstNonEmpty, getContents, getEmptySlotsCount, getFreeSpace, getHolder, 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, getHolder, getItem, getMaxStackSize, getName, getSize, getTitle, getType, getViewers, incrementCount, isEmpty, isFull, onSlotChange, open, remove, removeItem, sendContents, sendContents, sendContents, sendSlot, sendSlot, sendSlot, setContents, setItem, setItem, setMaxStackSizepublic CloudContainer(org.cloudburstmc.api.inventory.InventoryHolder holder,
org.cloudburstmc.api.inventory.InventoryType type)
public CloudContainer(org.cloudburstmc.api.inventory.InventoryHolder holder,
org.cloudburstmc.api.inventory.InventoryType type,
Map<Integer,org.cloudburstmc.api.item.ItemStack> items)
public CloudContainer(org.cloudburstmc.api.inventory.InventoryHolder holder,
org.cloudburstmc.api.inventory.InventoryType type,
Map<Integer,org.cloudburstmc.api.item.ItemStack> items,
Integer overrideSize)
public 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 BaseInventorypublic static int calculateRedstone(org.cloudburstmc.api.inventory.Inventory inv)
public static void sendBlockEventPacket(org.cloudburstmc.api.blockentity.BlockEntity block,
int eventData)
Copyright © 2021. All rights reserved.