net.minecraft.world.level.block.entity

public class BrewingStandBlockEntity

extends BaseContainerBlockEntity implements WorldlyContainer

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, WorldlyContainer

dva
net.minecraft.world.level.block.entity.BrewingStandBlockEntity
net.minecraft.class_2589
net.minecraft.block.entity.BrewingStandBlockEntity
net.minecraft.world.level.block.entity.TileEntityBrewingStand

Field summary

Modifier and TypeField
private static final int
g
INGREDIENT_SLOT
field_31328
INPUT_SLOT_INDEX
private static final int
h
FUEL_SLOT
field_31329
FUEL_SLOT_INDEX
private static final int[]
i
SLOTS_FOR_UP
field_11886
TOP_SLOTS
private static final int[]
j
SLOTS_FOR_DOWN
field_11879
BOTTOM_SLOTS
private static final int[]
k
SLOTS_FOR_SIDES
field_11880
SIDE_SLOTS
public static final int
b
FUEL_USES
field_31324
MAX_FUEL_USES
public static final int
c
DATA_BREW_TIME
field_31325
BREW_TIME_PROPERTY_INDEX
public static final int
d
DATA_FUEL_USES
field_31326
FUEL_PROPERTY_INDEX
public static final int
e
NUM_DATA_VALUES
field_31327
PROPERTY_COUNT
private NonNullList<ItemStack>
l
items
field_11882
inventory
int
m
brewTime
field_11878
brewTime
private boolean[]
n
lastPotionCount
field_11883
slotsEmptyLastTick
private Item
r
ingredient
field_11881
itemBrewing
int
s
fuel
field_11885
fuel
protected final ContainerData
f
dataAccess
field_17381
propertyDelegate

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected Component
j()
getDefaultName()
method_17823()
getContainerName()
public int
b()
getContainerSize()
method_5439()
size()
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
getHeldStacks()
protected void
a(jz<cxp> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setHeldStacks(DefaultedList<ItemStack> arg0)
public static void
a(dhi arg0, jh arg1, dxv arg2, dva arg3)
serverTick(Level arg0, BlockPos arg1, BlockState arg2, BrewingStandBlockEntity arg3)
method_31665(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2589 arg3)
tick(World world, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity)
private boolean[]
k()
getPotionBits()
method_11028()
getSlotsEmpty()
private static boolean
a(czn arg0, jz<cxp> arg1)
isBrewable(PotionBrewing arg0, NonNullList<ItemStack> arg1)
method_11027(class_1845 arg0, class_2371<class_1799> arg1)
canCraft(BrewingRecipeRegistry brewingRecipeRegistry, DefaultedList<ItemStack> slots)
private static void
a(dhi arg0, jh arg1, jz<cxp> arg2)
doBrew(Level arg0, BlockPos arg1, NonNullList<ItemStack> arg2)
method_11029(class_1937 arg0, class_2338 arg1, class_2371<class_1799> arg2)
craft(World world, BlockPos pos, DefaultedList<ItemStack> slots)
protected void
a(ux arg0, js$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
b(ux arg0, js$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
public boolean
b(int arg0, cxp arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValid(int arg0, ItemStack arg1)
public int[]
a(jm arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
public boolean
a(int arg0, cxp arg1, jm arg2)
canPlaceItemThroughFace(int arg0, ItemStack arg1, Direction arg2)
method_5492(int arg0, class_1799 arg1, class_2350 arg2)
canInsert(int arg0, ItemStack arg1, Direction arg2)
public boolean
b(int arg0, cxp arg1, jm arg2)
canTakeItemThroughFace(int arg0, ItemStack arg1, Direction arg2)
method_5493(int arg0, class_1799 arg1, class_2350 arg2)
canExtract(int arg0, ItemStack arg1, Direction arg2)
protected AbstractContainerMenu
a(int arg0, cpw arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createScreenHandler(int arg0, PlayerInventory arg1)