public class BrewingInventory extends ContainerInventory
| Modifier and Type | Field and Description |
|---|---|
static int |
SLOT_FUEL |
static int |
SLOT_INGREDIENT |
holder, maxStackSize, name, size, slots, title, type, viewers| Constructor and Description |
|---|
BrewingInventory(BrewingStand brewingStand) |
| Modifier and Type | Method and Description |
|---|---|
Item |
getFuel() |
BrewingStand |
getHolder() |
Item |
getIngredient() |
void |
onSlotChange(int index,
Item before,
boolean send) |
void |
setFuel(Item fuel) |
void |
setIngredient(Item item) |
calculateRedstone, onClose, onOpen, sendBlockEventPacketaddItem, all, canAddItem, clear, clearAll, close, contains, decreaseCount, first, firstEmpty, firstFit, firstNonEmpty, getContents, getFreeSpace, getItem, getMaxStackSize, getName, getSize, getTitle, getType, getViewers, increaseCount, isEmpty, isFull, open, remove, removeItem, sendContents, sendContents, sendContents, sendSlot, sendSlot, sendSlot, setContents, setItem, setMaxStackSize, setSizepublic static final int SLOT_INGREDIENT
public static final int SLOT_FUEL
public BrewingInventory(BrewingStand brewingStand)
public BrewingStand getHolder()
getHolder in interface InventorygetHolder in class BaseInventorypublic Item getIngredient()
public void setIngredient(Item item)
public void setFuel(Item fuel)
public Item getFuel()
public void onSlotChange(int index,
Item before,
boolean send)
onSlotChange in interface InventoryonSlotChange in class BaseInventoryCopyright © 2020. All rights reserved.