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

dox
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.entity.TileEntityFurnace

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[]
q
SLOTS_FOR_UP
field_11987
f_fwsjbtjw
TOP_SLOTS
TOP_SLOTS
f_58313_
private static final int[]
r
SLOTS_FOR_DOWN
field_11982
f_mzaccpku
BOTTOM_SLOTS
BOTTOM_SLOTS
f_58314_
private static final int[]
s
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_
protected NonNullList<ItemStack>
l
items
field_11984
f_ymhvwhvo
inventory
inventory
f_58310_
int
t
litTime
field_11981
f_vusnppoo
burnTime
burnTime
f_58316_
int
u
litDuration
field_11980
f_xzmgcdtx
fuelTime
fuelTime
f_58317_
int
v
cookingProgress
field_11989
f_usgwvvfo
cookTime
cookTime
f_58318_
int
w
cookingTotalTime
field_11988
f_dswenqhr
cookTimeTotal
cookTimeTotal
f_58319_
private static volatile Map<Item, Integer>
x
fuelCache
field_48375
f_lvsjgcpq
fuelTimes
fuelMap
f_315506_
protected final ContainerData
m
dataAccess
field_17374
f_kekgcosu
propertyDelegate
propertyDelegate
f_58311_
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<ResourceLocation>
y
recipesUsed
field_11986
f_vmpcjcui
recipesUsed
recipesUsed
f_58320_
private final RecipeManager$CachedCheck<Container, ? 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
public static void
f()
invalidateCache()
method_56120()
m_efzdyvrh()
clearFuelTimes()
resetFuelMap()
m_323223_()
public static Map<Item, Integer>
g()
getFuel()
method_11196()
m_avempppt()
createFuelTimeMap()
createFuelTimeMap()
m_58423_()
private static boolean
b(cum arg0)
isNeverAFurnaceFuel(Item arg0)
method_26395(class_1792 arg0)
m_qvddjqtt(C_vorddnax arg0)
isNonFlammableWood(Item item)
isNonFlammableWood(Item item)
m_58397_(C_1381_ p_58398_)
private static void
a(Map<cum, Integer> arg0, axf<cum> arg1, int arg2)
add(Map<Item, Integer> arg0, TagKey<Item> arg1, int arg2)
method_11194(Map<class_1792, Integer> arg0, class_6862<class_1792> arg1, int arg2)
m_ihnyfmkd(Map<C_vorddnax, Integer> arg0, C_ednuhnnn<C_vorddnax> arg1, int arg2)
addFuel(Map<Item, Integer> fuelTimes, TagKey<Item> tag, int fuelTime)
addFuel(Map<Item, Integer> fuelTimes, TagKey<Item> tag, int fuelTime)
m_204302_(Map<C_1381_, Integer> p_204303_, C_203208_<C_1381_> p_204304_, int p_204305_)
private static void
a(Map<cum, Integer> arg0, dbz arg1, int arg2)
add(Map<Item, Integer> arg0, ItemLike arg1, int arg2)
method_11202(Map<class_1792, Integer> arg0, class_1935 arg1, int arg2)
m_pgxxthxp(Map<C_vorddnax, Integer> arg0, C_gmbqjnle arg1, int arg2)
addFuel(Map<Item, Integer> fuelTimes, ItemConvertible item, int fuelTime)
addFuel(Map<Item, Integer> fuelTimes, ItemConvertible item, int fuelTime)
m_58374_(Map<C_1381_, Integer> p_58375_, C_1595_ p_58376_, int p_58377_)
private boolean
l()
isLit()
method_11201()
m_igiksnup()
isBurning()
isBurning()
m_58425_()
protected void
a(us arg0, jk$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)
m_trzmaydr(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_330623_, C_213466_$C_254607_ arg1)
protected void
b(us arg0, jk$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(dca arg0, iz arg1, dse arg2, dox arg3)
serverTick(Level arg0, BlockPos arg1, BlockState arg2, AbstractFurnaceBlockEntity arg3)
method_31651(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2609 arg3)
m_vjlwslff(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_dlxbwxyf arg3)
tick(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity)
tick(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity)
m_155013_(C_1596_ p_155014_, C_4675_ p_155015_, C_2064_ p_155016_, C_1972_ p_155017_)
private static boolean
a(jw arg0, cyz<?> arg1, jr<cur> arg2, int arg3)
canBurn(RegistryAccess arg0, RecipeHolder<?> arg1, NonNullList<ItemStack> arg2, int arg3)
method_11192(class_5455 arg0, class_8786<?> arg1, class_2371<class_1799> arg2, int arg3)
m_dctsvboi(C_wqxmvzdq arg0, C_dscbrwbj<?> arg1, C_rnrfftze<C_sddaxwyk> arg2, int arg3)
canAcceptRecipeOutput(DynamicRegistryManager registryManager, RecipeEntry<?> recipe, DefaultedList<ItemStack> slots, int count)
canAcceptRecipeOutput(DynamicRegistryManager registryManager, RecipeHolder<?> recipe, DefaultedList<ItemStack> slots, int count)
m_155005_(C_4706_ p_266924_, C_290175_<?> p_299207_, C_4702_<C_1391_> p_155007_, int p_155008_)
private static boolean
b(jw arg0, cyz<?> arg1, jr<cur> arg2, int arg3)
burn(RegistryAccess arg0, RecipeHolder<?> arg1, NonNullList<ItemStack> arg2, int arg3)
method_11203(class_5455 arg0, class_8786<?> arg1, class_2371<class_1799> arg2, int arg3)
m_szsvrwtz(C_wqxmvzdq arg0, C_dscbrwbj<?> arg1, C_rnrfftze<C_sddaxwyk> arg2, int arg3)
craftRecipe(DynamicRegistryManager registryManager, RecipeEntry<?> recipe, DefaultedList<ItemStack> slots, int count)
craftRecipe(DynamicRegistryManager registryManager, RecipeHolder<?> recipe, DefaultedList<ItemStack> slots, int count)
m_266209_(C_4706_ p_266740_, C_290175_<?> p_299450_, C_4702_<C_1391_> p_267073_, int p_267157_)
protected int
b(cur arg0)
getBurnDuration(ItemStack arg0)
method_11200(class_1799 arg0)
m_zeyvozgy(C_sddaxwyk arg0)
getFuelTime(ItemStack fuel)
getFuelTime(ItemStack fuel)
m_7743_(C_1391_ arg0)
private static int
a(dca arg0, dox arg1)
getTotalCookTime(Level arg0, AbstractFurnaceBlockEntity arg1)
method_17029(class_1937 arg0, class_2609 arg1)
m_ynnrkguh(C_cdctfzbn arg0, C_dlxbwxyf arg1)
getCookTime(World world, AbstractFurnaceBlockEntity furnace)
getCookTime(World world, AbstractFurnaceBlockEntity blockEntity)
m_222692_(C_1596_ p_222693_, C_1972_ p_222694_)
public static boolean
c(cur arg0)
isFuel(ItemStack arg0)
method_11195(class_1799 arg0)
m_ymwsgyrr(C_sddaxwyk arg0)
canUseAsFuel(ItemStack stack)
canUseAsFuel(ItemStack stack)
m_58399_(C_1391_ p_58400_)
public int[]
a(je 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, cur arg1, je 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, cur arg1, je 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>
j()
getItems()
method_11282()
m_drxlwzcv()
getHeldStacks()
m_58617_()
protected void
a(jr<cur> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
m_nnlaacjo(C_rnrfftze<C_sddaxwyk> arg0)
setHeldStacks(DefaultedList<ItemStack> arg0)
m_58609_(C_4702_<C_1391_> arg0)
public void
a(int arg0, cur 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, cur 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(cyz<?> arg0)
setRecipeUsed(RecipeHolder<?> arg0)
method_7662(class_8786<?> arg0)
m_shzndkyk(C_dscbrwbj<?> arg0)
setLastRecipe(RecipeEntry<?> arg0)
m_40156_(C_290175_<?> arg0)
public RecipeHolder<?>
d()
getRecipeUsed()
method_7663()
m_qdwxuhpk()
getLastRecipe()
m_40158_()
public void
a(cmz arg0, List<cur> 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)
m_qysvzsry(PlayerEntity arg0, List<ItemStack> arg1)
m_58395_(C_1141_ p_282202_, List<C_1391_> arg1)
public void
a(arg 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(arf arg0, evt 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(arf arg0, evt 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
a(cnd arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
m_mzbxszqu(C_nyagoaau arg0)
provideRecipeInputs(RecipeMatcher arg0)
provideRecipeInputs(RecipeMatcher arg0)
m_5809_(C_1145_ arg0)