public class CloudShulkerBoxInventory extends CloudContainer implements org.cloudburstmc.api.inventory.ShulkerBoxInventory
holder, maxStackSize, name, size, slots, title, type, viewers| Constructor and Description |
|---|
CloudShulkerBoxInventory(ShulkerBoxBlockEntity box) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAddItem(org.cloudburstmc.api.item.ItemStack item) |
ShulkerBoxBlockEntity |
getHolder() |
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) |
calculateRedstone, sendBlockEventPacketaddItem, addItemToFirstEmptySlot, all, 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, 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, setMaxStackSizepublic CloudShulkerBoxInventory(ShulkerBoxBlockEntity box)
public ShulkerBoxBlockEntity getHolder()
getHolder in interface org.cloudburstmc.api.inventory.InventorygetHolder in interface org.cloudburstmc.api.inventory.ShulkerBoxInventorygetHolder 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 boolean canAddItem(org.cloudburstmc.api.item.ItemStack item)
canAddItem in interface org.cloudburstmc.api.inventory.InventorycanAddItem in class BaseInventorypublic void sendSlot(int index,
org.cloudburstmc.api.player.Player... players)
sendSlot in interface org.cloudburstmc.api.inventory.InventorysendSlot in class BaseInventoryCopyright © 2021. All rights reserved.