Class BrewingStandMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.BrewingStandMenu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate final Containerprivate final ContainerDataprivate static final intprivate static final Identifierprivate static final Identifierprivate static final intprivate static final intprivate final Slotprivate static final intprivate static final intprivate static final intprivate static final intprivate static final int -
Constructor Summary
ConstructorsConstructorDescriptionBrewingStandMenu(int containerId, Inventory inventory) BrewingStandMenu(int containerId, Inventory inventory, Container brewingStand, ContainerData brewingStandData) -
Method Summary
Modifier and TypeMethodDescriptionintintgetFuel()quickMoveStack(Player player, int slotIndex) Handle when the stack in slotindexis shift-clicked.booleanstillValid(Player player) Determines whether supplied player can use this containerMethods inherited from class AbstractContainerMenu
addDataSlot, addDataSlots, addInventoryExtendedSlots, addInventoryHotbarSlots, addSlot, addSlotListener, addStandardInventorySlots, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotUnsafe, setSelectedBundleItemIndex, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
EMPTY_SLOT_FUEL
-
EMPTY_SLOT_POTION
-
BOTTLE_SLOT_START
private static final int BOTTLE_SLOT_START- See Also:
-
BOTTLE_SLOT_END
private static final int BOTTLE_SLOT_END- See Also:
-
INGREDIENT_SLOT
private static final int INGREDIENT_SLOT- See Also:
-
FUEL_SLOT
private static final int FUEL_SLOT- See Also:
-
SLOT_COUNT
private static final int SLOT_COUNT- See Also:
-
DATA_COUNT
private static final int DATA_COUNT- See Also:
-
INV_SLOT_START
private static final int INV_SLOT_START- See Also:
-
INV_SLOT_END
private static final int INV_SLOT_END- See Also:
-
USE_ROW_SLOT_START
private static final int USE_ROW_SLOT_START- See Also:
-
USE_ROW_SLOT_END
private static final int USE_ROW_SLOT_END- See Also:
-
brewingStand
-
brewingStandData
-
ingredientSlot
-
-
Constructor Details
-
BrewingStandMenu
-
BrewingStandMenu
public BrewingStandMenu(int containerId, Inventory inventory, Container brewingStand, ContainerData brewingStandData)
-
-
Method Details
-
stillValid
Determines whether supplied player can use this container- Specified by:
stillValidin classAbstractContainerMenu
-
quickMoveStack
Handle when the stack in slotindexis shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).- Specified by:
quickMoveStackin classAbstractContainerMenu
-
getFuel
public int getFuel() -
getBrewingTicks
public int getBrewingTicks()
-