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

dto
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[]
q
SLOTS_FOR_UP
field_11987
TOP_SLOTS
private static final int[]
r
SLOTS_FOR_DOWN
field_11982
BOTTOM_SLOTS
private static final int[]
s
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
protected NonNullList<ItemStack>
l
items
field_11984
inventory
int
t
litTimeRemaining
field_55574
litTimeRemaining
int
u
litTotalTime
field_55575
litTotalTime
int
v
cookingTimer
field_55576
cookingTimeSpent
int
w
cookingTotalTime
field_11988
cookingTotalTime
protected final ContainerData
m
dataAccess
field_17374
propertyDelegate
private final it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap<ResourceKey<Recipe<?>>>
x
recipesUsed
field_11986
recipesUsed
private final RecipeManager$CachedCheck<SingleRecipeInput, ? extends AbstractCookingRecipe>
y
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(tq arg0, jt$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(tq arg0, jt$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(ard arg0, ji arg1, dwy arg2, dto 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(kf arg0, dbk<? extends dal> arg1, dby arg2, ka<cwq> 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(kf arg0, dbk<? extends dal> arg1, dby arg2, ka<cwq> 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 dynamicRegistryManager, RecipeEntry<? extends AbstractCookingRecipe> recipe, SingleStackRecipeInput input, DefaultedList<ItemStack> inventory, int maxCount)
protected int
a(duy arg0, cwq arg1)
getBurnDuration(FuelValues arg0, ItemStack arg1)
method_11200(class_9895 arg0, class_1799 arg1)
getFuelTime(FuelRegistry fuelRegistry, ItemStack stack)
private static int
a(ard arg0, dto arg1)
getTotalCookTime(ServerLevel arg0, AbstractFurnaceBlockEntity arg1)
method_17029(class_3218 arg0, class_2609 arg1)
getCookTime(ServerWorld world, AbstractFurnaceBlockEntity furnace)
public int[]
a(jn arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
public boolean
a(int arg0, cwq arg1, jn 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, cwq arg1, jn 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(ka<cwq> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setHeldStacks(DefaultedList<ItemStack> arg0)
public void
a(int arg0, cwq arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
public boolean
b(int arg0, cwq arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValid(int arg0, ItemStack arg1)
public void
a(dbk<?> arg0)
setRecipeUsed(RecipeHolder<?> arg0)
method_7662(class_8786<?> arg0)
setLastRecipe(RecipeEntry<?> arg0)
public RecipeHolder<?>
d()
getRecipeUsed()
method_7663()
getLastRecipe()
public void
a(coy arg0, List<cwq> 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(are arg0)
awardUsedRecipesAndPopExperience(ServerPlayer arg0)
method_17763(class_3222 arg0)
dropExperienceForRecipesUsed(ServerPlayerEntity player)
public List<RecipeHolder<?>>
a(ard arg0, fbb arg1)
getRecipesToAwardAndPopExperience(ServerLevel arg0, Vec3 arg1)
method_27354(class_3218 arg0, class_243 arg1)
getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos)
private static void
a(ard arg0, fbb 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(cpd arg0)
fillStackedContents(StackedItemContents arg0)
method_7683(class_9875 arg0)
provideRecipeInputs(RecipeFinder arg0)