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

duk
net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
net.minecraft.class_2609
net.minecraft.unmapped.C_dlxbwxyf
net.minecraft.block.entity.AbstractFurnaceBlockEntity
net.minecraft.block.entity.AbstractFurnaceBlockEntity
net.minecraft.src.C_1972_
net.minecraft.world.level.block.BlockCarpet

Field summary

Modifier and TypeField
protected static final int
b
SLOT_INPUT
field_31286
f_ruznenwn
INPUT_SLOT_INDEX
INPUT_SLOT
f_154980_
protected static final int
c
SLOT_FUEL
field_31287
f_erasrdjo
FUEL_SLOT_INDEX
FUEL_SLOT
f_154981_
protected static final int
d
SLOT_RESULT
field_31288
f_debmtawn
OUTPUT_SLOT_INDEX
RESULT_SLOT
f_154982_
public static final int
e
DATA_LIT_TIME
field_31289
f_uunwympm
BURN_TIME_PROPERTY_INDEX
BURN_TIME_DATA
f_154983_
private static final int[]
r
SLOTS_FOR_UP
field_11987
f_fwsjbtjw
TOP_SLOTS
TOP_SLOTS
f_58313_
private static final int[]
s
SLOTS_FOR_DOWN
field_11982
f_mzaccpku
BOTTOM_SLOTS
BOTTOM_SLOTS
f_58314_
private static final int[]
t
SLOTS_FOR_SIDES
field_11983
f_apovtvbw
SIDE_SLOTS
SIDE_SLOTS
f_58315_
public static final int
f
DATA_LIT_DURATION
field_31290
f_cjviljdx
FUEL_TIME_PROPERTY_INDEX
FUEL_TIME_DATA
f_154984_
public static final int
g
DATA_COOKING_PROGRESS
field_31291
f_vnrsgghy
COOK_TIME_PROPERTY_INDEX
COOK_TIME_DATA
f_154985_
public static final int
h
DATA_COOKING_TOTAL_TIME
field_31292
f_nqwyvoxy
COOK_TIME_TOTAL_PROPERTY_INDEX
TOTAL_COOK_TIME_DATA
f_154986_
public static final int
i
NUM_DATA_VALUES
field_31293
f_xyumtyfp
PROPERTY_COUNT
DATA_VALUES
f_154987_
public static final int
j
BURN_TIME_STANDARD
field_31294
f_bitqkham
DEFAULT_COOK_TIME
STANDARD_BURN_TIME
f_154988_
public static final int
k
BURN_COOL_SPEED
field_31295
f_hpqapnfb
field_31295
BURN_DECAY_RATE
f_154989_
public static final int
l
UNKNOWN_LIT_DURATION
field_52634
f_rclefyez
field_52634
UNKNOWN_LIT_DURATION
f_349117_
protected NonNullList<ItemStack>
m
items
field_11984
f_ymhvwhvo
inventory
inventory
f_58310_
int
u
litTime
field_11981
f_vusnppoo
burnTime
burnTime
f_58316_
int
v
litDuration
field_11980
f_xzmgcdtx
fuelTime
fuelTime
f_58317_
int
w
cookingProgress
field_11989
f_usgwvvfo
cookTime
cookTime
f_58318_
int
x
cookingTotalTime
field_11988
f_dswenqhr
cookTimeTotal
cookTimeTotal
f_58319_
protected final ContainerData
n
dataAccess
field_17374
f_kekgcosu
propertyDelegate
propertyDelegate
f_58311_
private final it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap<ResourceKey<Recipe<?>>>
y
recipesUsed
field_11986
f_vmpcjcui
recipesUsed
recipesUsed
f_58320_
private final RecipeManager$CachedCheck<SingleRecipeInput, ? extends AbstractCookingRecipe>
z
quickCheck
field_38234
f_rhexgeen
matchGetter
recipeCache
f_222691_

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()
m_igiksnup()
isBurning()
isBurning()
m_58425_()
protected void
a(ux arg0, js$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_330623_, C_213466_$C_254607_ 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)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_330192_, C_213466_$C_254607_ arg1)
public static void
a(ash arg0, jh arg1, dxu arg2, duk arg3)
serverTick(ServerLevel arg0, BlockPos arg1, BlockState arg2, AbstractFurnaceBlockEntity arg3)
method_31651(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_2609 arg3)
m_vjlwslff(C_bdwnwhiu arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_dlxbwxyf arg3)
tick(ServerWorld world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity)
tick(ServerWorld world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity)
m_155013_(C_12_ p_364207_, C_4675_ p_155015_, C_2064_ p_155016_, C_1972_ p_155017_)
private static boolean
a(ke arg0, dci<? extends dbj> arg1, dcw arg2, jz<cxo> 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)
m_dctsvboi(C_wqxmvzdq arg0, C_dscbrwbj<? extends C_hpjdwiwu> arg1, C_hsoxiypb arg2, C_rnrfftze<C_sddaxwyk> arg3, int arg4)
canAcceptRecipeOutput(DynamicRegistryManager dynamicRegistryManager, RecipeEntry<? extends AbstractCookingRecipe> recipe, SingleStackRecipeInput input, DefaultedList<ItemStack> inventory, int maxCount)
canAcceptRecipeOutput(DynamicRegistryManager registryManager, RecipeHolder<? extends AbstractCookingRecipe> recipe, SingleRecipeInput arg2, DefaultedList<ItemStack> slots, int count)
m_155005_(C_4706_ p_266924_, C_290175_<? extends C_1451_> p_299207_, C_336422_ p_364069_, C_4702_<C_1391_> p_155007_, int p_155008_)
private static boolean
b(ke arg0, dci<? extends dbj> arg1, dcw arg2, jz<cxo> 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)
m_szsvrwtz(C_wqxmvzdq arg0, C_dscbrwbj<? extends C_hpjdwiwu> arg1, C_hsoxiypb arg2, C_rnrfftze<C_sddaxwyk> arg3, int arg4)
craftRecipe(DynamicRegistryManager dynamicRegisryManager, RecipeEntry<? extends AbstractCookingRecipe> recipe, SingleStackRecipeInput input, DefaultedList<ItemStack> inventory, int maxCount)
craftRecipe(DynamicRegistryManager registryManager, RecipeHolder<? extends AbstractCookingRecipe> recipe, SingleRecipeInput arg2, DefaultedList<ItemStack> slots, int count)
m_266209_(C_4706_ p_266740_, C_290175_<? extends C_1451_> p_299450_, C_336422_ p_364092_, C_4702_<C_1391_> p_267073_, int p_267157_)
protected int
a(dvu arg0, cxo arg1)
getBurnDuration(FuelValues arg0, ItemStack arg1)
method_11200(class_9895 arg0, class_1799 arg1)
m_zeyvozgy(C_smdnyqwx arg0, C_sddaxwyk arg1)
getFuelTime(FuelRegistry fuelRegistry, ItemStack stack)
getFuelTime(FuelTimes fuelTimes, ItemStack fuel)
m_7743_(C_346192_ p_58343_, C_1391_ arg1)
private static int
a(ash arg0, duk arg1)
getTotalCookTime(ServerLevel arg0, AbstractFurnaceBlockEntity arg1)
method_17029(class_3218 arg0, class_2609 arg1)
m_ynnrkguh(C_bdwnwhiu arg0, C_dlxbwxyf arg1)
getCookTime(ServerWorld world, AbstractFurnaceBlockEntity furnace)
getCookTime(ServerWorld world, AbstractFurnaceBlockEntity blockEntity)
m_222692_(C_12_ p_364532_, C_1972_ p_222694_)
public int[]
a(jm arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
m_beroaavx(C_xpuuihxf arg0)
getAvailableSlots(Direction arg0)
getAvailableSlots(Direction arg0)
m_7071_(C_4687_ arg0)
public boolean
a(int arg0, cxo arg1, jm arg2)
canPlaceItemThroughFace(int arg0, ItemStack arg1, Direction arg2)
method_5492(int arg0, class_1799 arg1, class_2350 arg2)
m_mkcjjlxd(int arg0, C_sddaxwyk arg1, C_xpuuihxf arg2)
canInsert(int arg0, ItemStack arg1, Direction arg2)
canInsert(int arg0, ItemStack arg1, Direction arg2)
m_7155_(int p_58337_, C_1391_ p_58338_, C_4687_ arg2)
public boolean
b(int arg0, cxo arg1, jm arg2)
canTakeItemThroughFace(int arg0, ItemStack arg1, Direction arg2)
method_5493(int arg0, class_1799 arg1, class_2350 arg2)
m_kdgofkkq(int arg0, C_sddaxwyk arg1, C_xpuuihxf arg2)
canExtract(int arg0, ItemStack arg1, Direction arg2)
canExtract(int arg0, ItemStack arg1, Direction arg2)
m_7157_(int p_58393_, C_1391_ p_58394_, C_4687_ arg2)
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
m_drxlwzcv()
getHeldStacks()
getInventory()
m_58617_()
protected void
a(jz<cxo> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
m_nnlaacjo(C_rnrfftze<C_sddaxwyk> arg0)
setHeldStacks(DefaultedList<ItemStack> arg0)
setInventory(DefaultedList<ItemStack> arg0)
m_58609_(C_4702_<C_1391_> arg0)
public void
a(int arg0, cxo arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
m_akaynoad(int arg0, C_sddaxwyk arg1)
setStack(int arg0, ItemStack arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_58334_, C_1391_ arg1)
public boolean
b(int arg0, cxo arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
m_umfxwlmm(int arg0, C_sddaxwyk arg1)
isValid(int arg0, ItemStack arg1)
isValid(int arg0, ItemStack arg1)
m_7013_(int p_58390_, C_1391_ arg1)
public void
a(dci<?> arg0)
setRecipeUsed(RecipeHolder<?> arg0)
method_7662(class_8786<?> arg0)
m_shzndkyk(C_dscbrwbj<?> arg0)
setLastRecipe(RecipeEntry<?> arg0)
onResultUpdate(RecipeHolder<?> arg0)
m_40156_(C_290175_<?> arg0)
public RecipeHolder<?>
d()
getRecipeUsed()
method_7663()
m_qdwxuhpk()
getLastRecipe()
getLastRecipe()
m_40158_()
public void
a(cpw arg0, List<cxo> arg1)
awardUsedRecipes(Player arg0, List<ItemStack> arg1)
method_7664(class_1657 arg0, List<class_1799> arg1)
m_qysvzsry(C_jzrpycqo arg0, List<C_sddaxwyk> arg1)
unlockLastRecipe(PlayerEntity arg0, List<ItemStack> arg1)
unlockLastRecipe(PlayerEntity arg0, List<ItemStack> arg1)
m_58395_(C_1141_ p_282202_, List<C_1391_> arg1)
public void
a(asi arg0)
awardUsedRecipesAndPopExperience(ServerPlayer arg0)
method_17763(class_3222 arg0)
m_emoezrql(C_mxrobsgg arg0)
dropExperienceForRecipesUsed(ServerPlayerEntity player)
dropExperienceForRecipesUsed(ServerPlayerEntity player)
m_155003_(C_13_ arg0)
public List<RecipeHolder<?>>
a(ash arg0, fbx arg1)
getRecipesToAwardAndPopExperience(ServerLevel arg0, Vec3 arg1)
method_27354(class_3218 arg0, class_243 arg1)
m_ezerfwpi(C_bdwnwhiu arg0, C_vgpupfxx arg1)
getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos)
getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos)
m_154995_(C_12_ p_154997_, C_3046_ arg1)
private static void
a(ash arg0, fbx 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)
m_utdugskh(C_bdwnwhiu arg0, C_vgpupfxx arg1, int arg2, float arg3)
dropExperience(ServerWorld world, Vec3d pos, int multiplier, float experience)
dropExperience(ServerWorld world, Vec3d pos, int multiplier, float experience)
m_154998_(C_12_ p_154999_, C_3046_ p_155000_, int p_155001_, float p_155002_)
public void
fillStackedContents(cqb arg0)
fillStackedContents(StackedItemContents arg0)
method_7683(class_9875 arg0)
provideRecipeInputs(RecipeFinder arg0)
m_5809_(C_345581_ arg0)