Package cn.nukkit.inventory
Class BrewingInventory
java.lang.Object
cn.nukkit.inventory.BaseInventory
cn.nukkit.inventory.ContainerInventory
cn.nukkit.inventory.BrewingInventory
- All Implemented Interfaces:
Inventory
-
Field Summary
Fields inherited from class cn.nukkit.inventory.BaseInventory
AIR_ITEM, holder, maxStackSize, name, size, slots, title, type, viewers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFuel()
void
onSlotChange
(int index, Item before, boolean send) void
void
setIngredient
(Item item) Methods inherited from class cn.nukkit.inventory.ContainerInventory
calculateRedstone, canCauseVibration, onClose, onOpen
Methods inherited from class cn.nukkit.inventory.BaseInventory
addItem, addListener, all, canAddItem, clear, clearAll, close, contains, decreaseCount, first, firstEmpty, getContents, getFreeSpace, getItem, getMaxStackSize, getName, getSize, getTitle, getType, getUnclonedItem, getViewers, isEmpty, isFull, open, remove, removeItem, removeListener, sendContents, sendContents, sendContents, sendSlot, sendSlot, sendSlot, setContents, setItem, setMaxStackSize, setSize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.inventory.Inventory
clear, first, setItem, setItemByPlayer
-
Constructor Details
-
BrewingInventory
-
-
Method Details
-
getHolder
- Specified by:
getHolder
in interfaceInventory
- Overrides:
getHolder
in classBaseInventory
-
getIngredient
-
setIngredient
-
setFuel
-
getFuel
-
onSlotChange
- Specified by:
onSlotChange
in interfaceInventory
- Overrides:
onSlotChange
in classBaseInventory
-