Class BrewingStandContainer
- java.lang.Object
-
- net.minecraft.inventory.container.Container
-
- net.minecraft.inventory.container.BrewingStandContainer
-
public class BrewingStandContainer extends Container
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
BrewingStandContainer.FuelSlot
(package private) static class
BrewingStandContainer.IngredientSlot
(package private) static class
BrewingStandContainer.PotionSlot
-
Field Summary
Fields Modifier and Type Field Description private IInventory
brewingStand
private IIntArray
brewingStandData
private Slot
ingredientSlot
-
Fields inherited from class net.minecraft.inventory.container.Container
containerId, slots
-
-
Constructor Summary
Constructors Constructor Description BrewingStandContainer(int p_i50095_1_, PlayerInventory p_i50095_2_)
BrewingStandContainer(int p_i50096_1_, PlayerInventory p_i50096_2_, IInventory p_i50096_3_, IIntArray p_i50096_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBrewingTicks()
int
getFuel()
ItemStack
quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
boolean
stillValid(PlayerEntity p_75145_1_)
-
Methods inherited from class net.minecraft.inventory.container.Container
addDataSlot, addDataSlots, addSlot, addSlotListener, backup, broadcastChanges, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, moveItemStackTo, removed, removeSlotListener, resetQuickCraft, setAll, setData, setItem, setSynched, slotsChanged, stillValid
-
-
-
-
Field Detail
-
brewingStand
private final IInventory brewingStand
-
brewingStandData
private final IIntArray brewingStandData
-
ingredientSlot
private final Slot ingredientSlot
-
-
Constructor Detail
-
BrewingStandContainer
public BrewingStandContainer(int p_i50095_1_, PlayerInventory p_i50095_2_)
-
BrewingStandContainer
public BrewingStandContainer(int p_i50096_1_, PlayerInventory p_i50096_2_, IInventory p_i50096_3_, IIntArray p_i50096_4_)
-
-
Method Detail
-
stillValid
public boolean stillValid(PlayerEntity p_75145_1_)
- Specified by:
stillValid
in classContainer
-
quickMoveStack
public ItemStack quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
- Overrides:
quickMoveStack
in classContainer
-
getFuel
public int getFuel()
-
getBrewingTicks
public int getBrewingTicks()
-
-