net.minecraft.world.level.block.entity

public class BrewingStandBlockEntity

extends BaseContainerBlockEntity implements WorldlyContainer

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, WorldlyContainer

dqk
net.minecraft.world.level.block.entity.BrewingStandBlockEntity
net.minecraft.class_2589
net.minecraft.block.entity.BrewingStandBlockEntity
net.minecraft.src.C_1994_
net.minecraft.world.level.block.entity.TileEntityBrewingStand

Field summary

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

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected Component
k()
getDefaultName()
method_17823()
getContainerName()
m_6820_()
public int
b()
getContainerSize()
method_5439()
size()
m_6643_()
protected NonNullList<ItemStack>
j()
getItems()
method_11282()
getHeldStacks()
m_58617_()
protected void
a(jv<cuq> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setHeldStacks(DefaultedList<ItemStack> arg0)
m_58609_(C_4702_<C_1391_> arg0)
public static void
a(dcw arg0, jd arg1, dtc arg2, dqk 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)
m_155285_(C_1596_ p_155286_, C_4675_ p_155287_, C_2064_ p_155288_, C_1994_ p_155289_)
private boolean[]
f()
getPotionBits()
method_11028()
getSlotsEmpty()
m_59029_()
private static boolean
a(cwt arg0, jv<cuq> arg1)
isBrewable(PotionBrewing arg0, NonNullList<ItemStack> arg1)
method_11027(class_1845 arg0, class_2371<class_1799> arg1)
canCraft(BrewingRecipeRegistry brewingRecipeRegistry, DefaultedList<ItemStack> slots)
m_155294_(C_1441_ p_336227_, C_4702_<C_1391_> p_155295_)
private static void
a(dcw arg0, jd arg1, jv<cuq> 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)
m_155290_(C_1596_ p_155291_, C_4675_ p_155292_, C_4702_<C_1391_> p_155293_)
protected void
a(ub arg0, jo$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_318667_(C_4917_ p_330361_, C_213466_$C_254607_ arg1)
protected void
b(ub arg0, jo$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_183515_(C_4917_ p_336147_, C_213466_$C_254607_ arg1)
public boolean
b(int arg0, cuq arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValid(int arg0, ItemStack arg1)
m_7013_(int p_59018_, C_1391_ arg1)
public int[]
a(ji arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
m_7071_(C_4687_ arg0)
public boolean
a(int arg0, cuq arg1, ji 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)
m_7155_(int p_58997_, C_1391_ p_58998_, C_4687_ arg2)
public boolean
b(int arg0, cuq arg1, ji 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)
m_7157_(int p_59021_, C_1391_ p_59022_, C_4687_ arg2)
protected AbstractContainerMenu
a(int arg0, cmw arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
m_6555_(int p_58991_, C_1140_ arg1)