net.minecraft.block.entity

public class BrewingStandBlockEntity

extends LockableContainerBlockEntity implements SidedInventory

All mapped superinterfaces:

DebugTrackable, EntryConvertible, Inventory, Clearable, StackReferenceGetter, NamedScreenHandlerFactory, ScreenHandlerFactory, Nameable, SidedInventory

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

Field summary

Modifier and TypeField
private static final int
INGREDIENT_SLOT
field_31328
INPUT_SLOT_INDEX
private static final int
FUEL_SLOT
field_31329
FUEL_SLOT_INDEX
private static final int[]
SLOTS_FOR_UP
field_11886
TOP_SLOTS
private static final int[]
SLOTS_FOR_DOWN
field_11879
BOTTOM_SLOTS
private static final int[]
SLOTS_FOR_SIDES
field_11880
SIDE_SLOTS
public static final int
FUEL_USES
field_31324
MAX_FUEL_USES
public static final int
DATA_BREW_TIME
field_31325
BREW_TIME_PROPERTY_INDEX
public static final int
DATA_FUEL_USES
field_31326
FUEL_PROPERTY_INDEX
public static final int
NUM_DATA_VALUES
field_31327
PROPERTY_COUNT
private static final short
DEFAULT_BREW_TIME
field_57769
DEFAULT_BREW_TIME
private static final byte
DEFAULT_FUEL
field_57770
DEFAULT_FUEL
private static final Text
DEFAULT_NAME
field_63038
CONTAINER_NAME_TEXT
private DefaultedList<ItemStack>
items
field_11882
inventory
private int
brewTime
field_11878
brewTime
private boolean[]
lastPotionCount
field_11883
slotsEmptyLastTick
private Item
ingredient
field_11881
itemBrewing
private int
fuel
field_11885
fuel
protected final PropertyDelegate
dataAccess
field_17381
propertyDelegate
private final ServerRecipeManager$MatchGetter<BrewingRecipeInput, BrewingRecipe>
quickCheck
field_1_8732
field_1_8732

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected Text
getDefaultName()
method_17823()
getContainerName()
public int
getContainerSize()
method_5439()
size()
protected DefaultedList<ItemStack>
getItems()
method_11282()
getHeldStacks()
protected void
setItems(NonNullList<ItemStack> items)
method_11281(class_2371<class_1799> arg0)
setHeldStacks(DefaultedList<ItemStack> arg0)
public static void
serverTick(ServerLevel level, BlockPos pos, BlockState selfState, BrewingStandBlockEntity entity)
method_31665(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_2589 arg3)
tick(ServerWorld arg0, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity)
private boolean[]
getPotionBits()
method_11028()
getSlotsEmpty()
private static boolean
isBrewable(ServerLevel serverLevel, BrewingStandBlockEntity entity)
method_11027(class_3218 arg0, class_2589 arg1)
canCraft(ServerWorld arg0, BrewingStandBlockEntity arg1)
private static void
doBrew(ServerLevel level, BlockPos pos, BrewingStandBlockEntity entity)
method_11029(class_3218 arg0, class_2338 arg1, class_2589 arg2)
craft(ServerWorld arg0, BlockPos pos, BrewingStandBlockEntity arg2)
protected void
loadAdditional(ValueInput input)
method_11014(class_11368 arg0)
readData(ReadView arg0)
protected void
saveAdditional(ValueOutput output)
method_11007(class_11372 arg0)
writeData(WriteView arg0)
public boolean
canPlaceItem(int slot, ItemStack itemStack)
method_5437(int arg0, class_1799 arg1)
isValid(int arg0, ItemStack arg1)
public int[]
getSlotsForFace(Direction direction)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
public boolean
canPlaceItemThroughFace(int slot, ItemStack itemStack, Direction direction)
method_5492(int arg0, class_1799 arg1, class_2350 arg2)
canInsert(int arg0, ItemStack arg1, Direction arg2)
public boolean
canTakeItemThroughFace(int slot, ItemStack itemStack, Direction direction)
method_5493(int arg0, class_1799 arg1, class_2350 arg2)
canExtract(int arg0, ItemStack arg1, Direction arg2)
protected ScreenHandler
createMenu(int containerId, Inventory inventory)
method_5465(int arg0, class_1661 arg1)
createScreenHandler(int arg0, PlayerInventory arg1)