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

cig
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
field_31286
f_154980_
protected static final int
c
SLOT_FUEL
field_31287
field_31287
f_154981_
protected static final int
d
SLOT_RESULT
field_31288
field_31288
f_154982_
public static final int
e
DATA_LIT_TIME
field_31289
field_31289
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
field_31290
f_154984_
public static final int
g
DATA_COOKING_PROGRESS
field_31291
field_31291
f_154985_
public static final int
h
DATA_COOKING_TOTAL_TIME
field_31292
field_31292
f_154986_
public static final int
i
NUM_DATA_VALUES
field_31293
field_31293
f_154987_
public static final int
j
BURN_TIME_STANDARD
field_31294
field_31294
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_
protected final ContainerData
m
dataAccess
field_17374
propertyDelegate
f_58311_
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<ResourceLocation>
x
recipesUsed
field_11986
recipesUsed
f_58320_
private final RecipeType<? extends AbstractCookingRecipe>
y
recipeType
field_17582
recipeType
f_58312_

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(bqm arg0)
isNeverAFurnaceFuel(Item arg0)
method_26395(class_1792 arg0)
isNonFlammableWood(Item item)
m_58397_(C_1381_ p_58398_)
private static void
a(Map<bqm, Integer> arg0, aga<bqm> arg1, int arg2)
add(Map<Item, Integer> arg0, Tag<Item> arg1, int arg2)
method_11194(Map<class_1792, Integer> arg0, class_3494<class_1792> arg1, int arg2)
addFuel(Map<Item, Integer> fuelTimes, Tag<Item> tag, int fuelTime)
m_58370_(Map<C_1381_, Integer> p_58371_, C_147_<C_1381_> p_58372_, int p_58373_)
private static void
a(Map<bqm, Integer> arg0, bwp 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
h()
isLit()
method_11201()
isBurning()
m_58425_()
isBurning()
public void
a(na arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(na arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_6945_(C_4917_ arg0)
save(NBTTagCompound arg0)
public static void
a(bwq arg0, gg arg1, ckt arg2, cig 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(bti<?> arg0, gs<bqq> arg1, int arg2)
canBurn(Recipe<?> arg0, NonNullList<ItemStack> arg1, int arg2)
method_11192(class_1860<?> arg0, class_2371<class_1799> arg1, int arg2)
canAcceptRecipeOutput(Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)
m_155005_(C_1469_<?> p_155006_, C_4702_<C_1391_> p_155007_, int p_155008_)
canBurn(IRecipe<?> arg0, NonNullList<ItemStack> arg1, int arg2)
private static boolean
b(bti<?> arg0, gs<bqq> arg1, int arg2)
burn(Recipe<?> arg0, NonNullList<ItemStack> arg1, int arg2)
method_11203(class_1860<?> arg0, class_2371<class_1799> arg1, int arg2)
craftRecipe(Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)
m_155026_(C_1469_<?> p_155027_, C_4702_<C_1391_> p_155028_, int p_155029_)
burn(IRecipe<?> arg0, NonNullList<ItemStack> arg1, int arg2)
protected int
a(bqq arg0)
getBurnDuration(ItemStack arg0)
method_11200(class_1799 arg0)
getFuelTime(ItemStack fuel)
m_7743_(C_1391_ arg0)
fuelTime(ItemStack arg0)
private static int
a(bwq arg0, btl<? extends bsu> arg1, aru arg2)
getTotalCookTime(Level arg0, RecipeType<? extends AbstractCookingRecipe> arg1, Container arg2)
method_17029(class_1937 arg0, class_3956<? extends class_1874> arg1, class_1263 arg2)
getCookTime(World world, RecipeType<? extends AbstractCookingRecipe> recipeType, Inventory inventory)
m_155009_(C_1596_ p_155010_, C_1472_<? extends C_1451_> p_155011_, C_464_ p_155012_)
getRecipeCookingTime(World arg0, Recipes<? extends RecipeCooking> arg1, IInventory arg2)
public static boolean
b(bqq arg0)
isFuel(ItemStack arg0)
method_11195(class_1799 arg0)
canUseAsFuel(ItemStack stack)
m_58399_(C_1391_ p_58400_)
isFuel(ItemStack arg0)
public int[]
a(gl arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
m_7071_(C_4687_ arg0)
getSlotsForFace(EnumDirection arg0)
public boolean
a(int arg0, bqq arg1, gl 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)
canPlaceItemThroughFace(int arg0, ItemStack arg1, EnumDirection arg2)
public boolean
b(int arg0, bqq arg1, gl 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)
canTakeItemThroughFace(int arg0, ItemStack arg1, EnumDirection arg2)
public int
b()
getContainerSize()
method_5439()
size()
m_6643_()
getSize()
public boolean
c()
isEmpty()
method_5442()
isEmpty()
m_7983_()
isEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int arg0)
m_8020_(int arg0)
getItem(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)
splitStack(int arg0, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bqq 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)
setItem(int arg0, ItemStack arg1)
public boolean
a(bke arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public boolean
b(int arg0, bqq 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_()
clear()
public void
a(bti<?> arg0)
setRecipeUsed(Recipe<?> arg0)
method_7662(class_1860<?> arg0)
setLastRecipe(Recipe<?> arg0)
m_6029_(C_1469_<?> arg0)
setRecipeUsed(IRecipe<?> arg0)
public Recipe<?>
d()
getRecipeUsed()
method_7663()
getLastRecipe()
m_7928_()
getRecipeUsed()
public void
b(bke arg0)
awardUsedRecipes(Player arg0)
method_7664(class_1657 arg0)
unlockLastRecipe(PlayerEntity arg0)
m_8015_(C_1141_ arg0)
awardUsedRecipes(EntityHuman arg0)
public void
a(abs arg0)
awardUsedRecipesAndPopExperience(ServerPlayer arg0)
method_17763(class_3222 arg0)
dropExperienceForRecipesUsed(ServerPlayerEntity player)
m_155003_(C_13_ arg0)
public List<Recipe<?>>
a(abr arg0, dna 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(abr arg0, dna 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(bkg arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
provideRecipeInputs(RecipeMatcher arg0)
m_5809_(C_1145_ arg0)