net.minecraft.world.level.block.entity

public abstract class AbstractFurnaceBlockEntity

extends BaseContainerBlockEntity implements WorldlyContainer, RecipeCraftingHolder, StackedContentsCompatible

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, WorldlyContainer, RecipeCraftingHolder, StackedContentsCompatible

dul
net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
net.minecraft.class_2609
net.minecraft.block.entity.AbstractFurnaceBlockEntity
net.minecraft.world.level.block.entity.TileEntityFurnace

Field summary

Modifier and TypeField
protected static final int
b
SLOT_INPUT
field_31286
INPUT_SLOT_INDEX
protected static final int
c
SLOT_FUEL
field_31287
FUEL_SLOT_INDEX
protected static final int
d
SLOT_RESULT
field_31288
OUTPUT_SLOT_INDEX
public static final int
e
DATA_LIT_TIME
field_31289
BURN_TIME_PROPERTY_INDEX
private static final int[]
r
SLOTS_FOR_UP
field_11987
TOP_SLOTS
private static final int[]
s
SLOTS_FOR_DOWN
field_11982
BOTTOM_SLOTS
private static final int[]
t
SLOTS_FOR_SIDES
field_11983
SIDE_SLOTS
public static final int
f
DATA_LIT_DURATION
field_31290
FUEL_TIME_PROPERTY_INDEX
public static final int
g
DATA_COOKING_PROGRESS
field_31291
COOK_TIME_PROPERTY_INDEX
public static final int
h
DATA_COOKING_TOTAL_TIME
field_31292
COOK_TIME_TOTAL_PROPERTY_INDEX
public static final int
i
NUM_DATA_VALUES
field_31293
PROPERTY_COUNT
public static final int
j
BURN_TIME_STANDARD
field_31294
DEFAULT_COOK_TIME
public static final int
k
BURN_COOL_SPEED
field_31295
field_31295
public static final int
l
UNKNOWN_LIT_DURATION
field_52634
field_52634
protected NonNullList<ItemStack>
m
items
field_11984
inventory
int
u
litTime
field_11981
burnTime
int
v
litDuration
field_11980
fuelTime
int
w
cookingProgress
field_11989
cookTime
int
x
cookingTotalTime
field_11988
cookTimeTotal
protected final ContainerData
n
dataAccess
field_17374
propertyDelegate
private final it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap<ResourceKey<Recipe<?>>>
y
recipesUsed
field_11986
recipesUsed
private final RecipeManager$CachedCheck<SingleRecipeInput, ? extends AbstractCookingRecipe>
z
quickCheck
field_38234
matchGetter

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType)

Method summary

Modifier and TypeMethod
private boolean
k()
isLit()
method_11201()
isBurning()
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 static void
a(ash arg0, jh arg1, dxv arg2, dul arg3)
serverTick(ServerLevel arg0, BlockPos arg1, BlockState arg2, AbstractFurnaceBlockEntity arg3)
method_31651(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_2609 arg3)
tick(ServerWorld world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity)
private static boolean
a(ke arg0, dcj<? extends dbk> arg1, dcx arg2, jz<cxp> arg3, int arg4)
canBurn(RegistryAccess arg0, RecipeHolder<? extends AbstractCookingRecipe> arg1, SingleRecipeInput arg2, NonNullList<ItemStack> arg3, int arg4)
method_11192(class_5455 arg0, class_8786<? extends class_1874> arg1, class_9696 arg2, class_2371<class_1799> arg3, int arg4)
canAcceptRecipeOutput(DynamicRegistryManager dynamicRegistryManager, RecipeEntry<? extends AbstractCookingRecipe> recipe, SingleStackRecipeInput input, DefaultedList<ItemStack> inventory, int maxCount)
private static boolean
b(ke arg0, dcj<? extends dbk> arg1, dcx arg2, jz<cxp> arg3, int arg4)
burn(RegistryAccess arg0, RecipeHolder<? extends AbstractCookingRecipe> arg1, SingleRecipeInput arg2, NonNullList<ItemStack> arg3, int arg4)
method_11203(class_5455 arg0, class_8786<? extends class_1874> arg1, class_9696 arg2, class_2371<class_1799> arg3, int arg4)
craftRecipe(DynamicRegistryManager dynamicRegisryManager, RecipeEntry<? extends AbstractCookingRecipe> recipe, SingleStackRecipeInput input, DefaultedList<ItemStack> inventory, int maxCount)
protected int
a(dvv arg0, cxp arg1)
getBurnDuration(FuelValues arg0, ItemStack arg1)
method_11200(class_9895 arg0, class_1799 arg1)
getFuelTime(FuelRegistry fuelRegistry, ItemStack stack)
private static int
a(ash arg0, dul arg1)
getTotalCookTime(ServerLevel arg0, AbstractFurnaceBlockEntity arg1)
method_17029(class_3218 arg0, class_2609 arg1)
getCookTime(ServerWorld world, AbstractFurnaceBlockEntity furnace)
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)
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 void
a(int arg0, cxp arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack 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 void
a(dcj<?> arg0)
setRecipeUsed(RecipeHolder<?> arg0)
method_7662(class_8786<?> arg0)
setLastRecipe(RecipeEntry<?> arg0)
public RecipeHolder<?>
d()
getRecipeUsed()
method_7663()
getLastRecipe()
public void
a(cpx arg0, List<cxp> arg1)
awardUsedRecipes(Player arg0, List<ItemStack> arg1)
method_7664(class_1657 arg0, List<class_1799> arg1)
unlockLastRecipe(PlayerEntity arg0, List<ItemStack> arg1)
public void
a(asi arg0)
awardUsedRecipesAndPopExperience(ServerPlayer arg0)
method_17763(class_3222 arg0)
dropExperienceForRecipesUsed(ServerPlayerEntity player)
public List<RecipeHolder<?>>
a(ash arg0, fby arg1)
getRecipesToAwardAndPopExperience(ServerLevel arg0, Vec3 arg1)
method_27354(class_3218 arg0, class_243 arg1)
getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos)
private static void
a(ash arg0, fby arg1, int arg2, float arg3)
createExperience(ServerLevel arg0, Vec3 arg1, int arg2, float arg3)
method_17760(class_3218 arg0, class_243 arg1, int arg2, float arg3)
dropExperience(ServerWorld world, Vec3d pos, int multiplier, float experience)
public void
fillStackedContents(cqc arg0)
fillStackedContents(StackedItemContents arg0)
method_7683(class_9875 arg0)
provideRecipeInputs(RecipeFinder arg0)