net.minecraft.world.level.block.entity

public abstract class AbstractFurnaceBlockEntity

extends BaseContainerBlockEntity implements WorldlyContainer, RecipeHolder, StackedContentsCompatible

All mapped superinterfaces:

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

czc
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
c
SLOT_INPUT
field_31286
INPUT_SLOT_INDEX
f_154980_
protected static final int
d
SLOT_FUEL
field_31287
FUEL_SLOT_INDEX
f_154981_
protected static final int
e
SLOT_RESULT
field_31288
OUTPUT_SLOT_INDEX
f_154982_
public static final int
f
DATA_LIT_TIME
field_31289
BURN_TIME_PROPERTY_INDEX
f_154983_
private static final int[]
r
SLOTS_FOR_UP
field_11987
TOP_SLOTS
f_58313_
private static final int[]
s
SLOTS_FOR_DOWN
field_11982
BOTTOM_SLOTS
f_58314_
private static final int[]
t
SLOTS_FOR_SIDES
field_11983
SIDE_SLOTS
f_58315_
public static final int
g
DATA_LIT_DURATION
field_31290
FUEL_TIME_PROPERTY_INDEX
f_154984_
public static final int
h
DATA_COOKING_PROGRESS
field_31291
COOK_TIME_PROPERTY_INDEX
f_154985_
public static final int
i
DATA_COOKING_TOTAL_TIME
field_31292
COOK_TIME_TOTAL_PROPERTY_INDEX
f_154986_
public static final int
j
NUM_DATA_VALUES
field_31293
PROPERTY_COUNT
f_154987_
public static final int
k
BURN_TIME_STANDARD
field_31294
DEFAULT_COOK_TIME
f_154988_
public static final int
l
BURN_COOL_SPEED
field_31295
field_31295
f_154989_
protected NonNullList<ItemStack>
m
items
field_11984
inventory
f_58310_
int
u
litTime
field_11981
burnTime
f_58316_
int
v
litDuration
field_11980
fuelTime
f_58317_
int
w
cookingProgress
field_11989
cookTime
f_58318_
int
x
cookingTotalTime
field_11988
cookTimeTotal
f_58319_
protected final ContainerData
n
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 Map<Item, Integer>
f()
getFuel()
method_11196()
createFuelTimeMap()
m_58423_()
private static boolean
b(cfu arg0)
isNeverAFurnaceFuel(Item arg0)
method_26395(class_1792 arg0)
isNonFlammableWood(Item item)
m_58397_(C_1381_ p_58398_)
private static void
a(Map<cfu, Integer> arg0, anl<cfu> 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<cfu, Integer> arg0, cml 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
i()
isLit()
method_11201()
isBurning()
m_58425_()
public void
a(qr arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(qr arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public static void
a(cmm arg0, gu arg1, dcb arg2, czc 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(hs arg0, cjc<?> arg1, hn<cfz> arg2, int arg3)
canBurn(RegistryAccess arg0, Recipe<?> arg1, NonNullList<ItemStack> arg2, int arg3)
method_11192(class_5455 arg0, class_1860<?> arg1, class_2371<class_1799> arg2, int arg3)
canAcceptRecipeOutput(DynamicRegistryManager registryManager, Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)
m_155005_(C_4706_ p_266924_, C_1469_<?> p_155006_, C_4702_<C_1391_> p_155007_, int p_155008_)
private static boolean
b(hs arg0, cjc<?> arg1, hn<cfz> arg2, int arg3)
burn(RegistryAccess arg0, Recipe<?> arg1, NonNullList<ItemStack> arg2, int arg3)
method_11203(class_5455 arg0, class_1860<?> arg1, class_2371<class_1799> arg2, int arg3)
craftRecipe(DynamicRegistryManager registryManager, Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)
m_266209_(C_4706_ p_266740_, C_1469_<?> p_266780_, C_4702_<C_1391_> p_267073_, int p_267157_)
protected int
a(cfz arg0)
getBurnDuration(ItemStack arg0)
method_11200(class_1799 arg0)
getFuelTime(ItemStack fuel)
m_7743_(C_1391_ arg0)
private static int
a(cmm arg0, czc 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
b(cfz arg0)
isFuel(ItemStack arg0)
method_11195(class_1799 arg0)
canUseAsFuel(ItemStack stack)
m_58399_(C_1391_ p_58400_)
public int[]
a(ha arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
m_7071_(C_4687_ arg0)
public boolean
a(int arg0, cfz arg1, ha 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, cfz arg1, ha 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_()
public boolean
ab_()
isEmpty()
method_5442()
isEmpty()
m_7983_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int arg0)
m_8020_(int arg0)
public ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
removeStack(int arg0, int arg1)
m_7407_(int p_58331_, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
public void
a(int arg0, cfz 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
a(byo arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public boolean
b(int arg0, cfz 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()
clearContent()
method_5448()
clear()
m_6211_()
public void
a(cjc<?> arg0)
setRecipeUsed(Recipe<?> arg0)
method_7662(class_1860<?> arg0)
setLastRecipe(Recipe<?> arg0)
m_6029_(C_1469_<?> arg0)
public Recipe<?>
d()
getRecipeUsed()
method_7663()
getLastRecipe()
m_7928_()
public void
a(byo arg0, List<cfz> 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(aig arg0)
awardUsedRecipesAndPopExperience(ServerPlayer arg0)
method_17763(class_3222 arg0)
dropExperienceForRecipesUsed(ServerPlayerEntity player)
m_155003_(C_13_ arg0)
public List<Recipe<?>>
a(aif arg0, eei 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(aif arg0, eei 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(bys arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
provideRecipeInputs(RecipeMatcher arg0)
m_5809_(C_1145_ arg0)