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.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
INPUT_SLOT_INDEX
f_154980_
protected static final int
c
SLOT_FUEL
field_31287
FUEL_SLOT_INDEX
f_154981_
protected static final int
d
SLOT_RESULT
field_31288
OUTPUT_SLOT_INDEX
f_154982_
public static final int
e
DATA_LIT_TIME
field_31289
BURN_TIME_PROPERTY_INDEX
f_154983_
private static final int[]
q
SLOTS_FOR_UP
field_11987
TOP_SLOTS
f_58313_
private static final int[]
r
SLOTS_FOR_DOWN
field_11982
BOTTOM_SLOTS
f_58314_
private static final int[]
s
SLOTS_FOR_SIDES
field_11983
SIDE_SLOTS
f_58315_
public static final int
f
DATA_LIT_DURATION
field_31290
FUEL_TIME_PROPERTY_INDEX
f_154984_
public static final int
g
DATA_COOKING_PROGRESS
field_31291
COOK_TIME_PROPERTY_INDEX
f_154985_
public static final int
h
DATA_COOKING_TOTAL_TIME
field_31292
COOK_TIME_TOTAL_PROPERTY_INDEX
f_154986_
public static final int
i
NUM_DATA_VALUES
field_31293
PROPERTY_COUNT
f_154987_
public static final int
j
BURN_TIME_STANDARD
field_31294
DEFAULT_COOK_TIME
f_154988_
public static final int
k
BURN_COOL_SPEED
field_31295
field_31295
f_154989_
protected NonNullList<ItemStack>
l
items
field_11984
inventory
f_58310_
int
t
litTime
field_11981
burnTime
f_58316_
int
u
litDuration
field_11980
fuelTime
f_58317_
int
v
cookingProgress
field_11989
cookTime
f_58318_
int
w
cookingTotalTime
field_11988
cookTimeTotal
f_58319_
private static volatile Map<Item, Integer>
x
fuelCache
field_48375
fuelTimes
f_315506_
protected final ContainerData
m
dataAccess
field_17374
propertyDelegate
f_58311_
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<ResourceLocation>
y
recipesUsed
field_11986
recipesUsed
f_58320_
private final RecipeManager$CachedCheck<Container, ? extends AbstractCookingRecipe>
z
quickCheck
field_38234
matchGetter
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()
clearFuelTimes()
m_323223_()
public static Map<Item, Integer>
g()
getFuel()
method_11196()
createFuelTimeMap()
m_58423_()
private static boolean
b(cum arg0)
isNeverAFurnaceFuel(Item arg0)
method_26395(class_1792 arg0)
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)
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)
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()
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)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup 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)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup 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)
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)
canAcceptRecipeOutput(DynamicRegistryManager registryManager, RecipeEntry<?> 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)
craftRecipe(DynamicRegistryManager registryManager, RecipeEntry<?> 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)
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)
getCookTime(World world, AbstractFurnaceBlockEntity furnace)
m_222692_(C_1596_ p_222693_, C_1972_ p_222694_)
public static boolean
c(cur arg0)
isFuel(ItemStack arg0)
method_11195(class_1799 arg0)
canUseAsFuel(ItemStack stack)
m_58399_(C_1391_ p_58400_)
public int[]
a(je arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 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)
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)
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()
size()
m_6643_()
protected NonNullList<ItemStack>
j()
getItems()
method_11282()
getHeldStacks()
m_58617_()
protected void
a(jr<cur> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> 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)
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)
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)
setLastRecipe(RecipeEntry<?> arg0)
m_40156_(C_290175_<?> arg0)
public RecipeHolder<?>
d()
getRecipeUsed()
method_7663()
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)
unlockLastRecipe(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)
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)
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)
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)
provideRecipeInputs(RecipeMatcher arg0)
m_5809_(C_1145_ arg0)