net.minecraft.world.level.block.entity

public abstract class AbstractFurnaceBlockEntity

extends BaseContainerBlockEntity implements WorldlyContainer, RecipeHolder, StackedContentsCompatible, TickableBlockEntity

All mapped superinterfaces:

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

cbw
net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
net.minecraft.class_2609
net.minecraft.block.entity.AbstractFurnaceBlockEntity
net.minecraft.tileentity.AbstractFurnaceTileEntity
net.minecraft.server.v1_16_R2.TileEntityFurnace

Field summary

Modifier and TypeField
private static final int[]
g
SLOTS_FOR_UP
field_11987
TOP_SLOTS
field_214015_g
private static final int[]
h
SLOTS_FOR_DOWN
field_11982
BOTTOM_SLOTS
field_214016_h
private static final int[]
i
SLOTS_FOR_SIDES
field_11983
SIDE_SLOTS
field_214017_i
protected NonNullList<ItemStack>
a
items
field_11984
inventory
field_214012_a
items
private int
j
litTime
field_11981
burnTime
field_214018_j
burnTime
private int
k
litDuration
field_11980
fuelTime
field_214019_k
ticksForCurrentFuel
private int
l
cookingProgress
field_11989
cookTime
field_214020_l
cookTime
private int
m
cookingTotalTime
field_11988
cookTimeTotal
field_214021_m
cookTimeTotal
protected final ContainerData
b
dataAccess
field_17374
propertyDelegate
field_214013_b
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<ResourceLocation>
n
recipesUsed
field_11986
recipesUsed
field_214022_n
protected final RecipeType<? extends AbstractCookingRecipe>
c
recipeType
field_17582
recipeType
field_214014_c

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> blockEntityType, RecipeType<? extends AbstractCookingRecipe> recipeType)

Method summary

Modifier and TypeMethod
public static Map<Item, Integer>
f()
getFuel()
method_11196()
createFuelTimeMap()
func_214001_f()
private static boolean
b(blu arg0)
isNeverAFurnaceFuel(Item arg0)
method_26395(class_1792 arg0)
isNonFlammableWood(Item item)
func_235644_b_(Item arg0)
private static void
a(Map<blu, Integer> arg0, aej<blu> 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)
func_213992_a(Map<Item, Integer> arg0, ITag<Item> arg1, int arg2)
private static void
a(Map<blu, Integer> arg0, brt 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> arg0, ItemConvertible item, int fuelTime)
func_213996_a(Map<Item, Integer> arg0, IItemProvider arg1, int arg2)
private boolean
j()
isLit()
method_11201()
isBurning()
func_214006_r()
isBurning()
public void
a(cee arg0, md arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState arg0, CompoundTag arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
load(IBlockData arg0, NBTTagCompound arg1)
public CompoundTag
a(md arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public void
aj_()
tick()
method_16896()
tick()
func_73660_a()
tick()
protected boolean
b(bon<?> arg0)
canBurn(Recipe<?> arg0)
method_11192(class_1860<?> arg0)
canAcceptRecipeOutput(Recipe<?> recipe)
func_214008_b(IRecipe<?> arg0)
canBurn(IRecipe<?> arg0)
private void
c(bon<?> arg0)
burn(Recipe<?> arg0)
method_11203(class_1860<?> arg0)
craftRecipe(Recipe<?> recipe)
func_214007_c(IRecipe<?> arg0)
burn(IRecipe<?> arg0)
protected int
a(bly arg0)
getBurnDuration(ItemStack arg0)
method_11200(class_1799 arg0)
getFuelTime(ItemStack fuel)
func_213997_a(ItemStack arg0)
fuelTime(ItemStack arg0)
protected int
h()
getTotalCookTime()
method_17029()
getCookTime()
func_214005_h()
getRecipeCookingTime()
public static boolean
b(bly arg0)
isFuel(ItemStack arg0)
method_11195(class_1799 arg0)
canUseAsFuel(ItemStack stack)
func_213991_b(ItemStack arg0)
isFuel(ItemStack arg0)
public int[]
a(gc arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
func_180463_a(Direction arg0)
getSlotsForFace(EnumDirection arg0)
public boolean
a(int arg0, bly arg1, gc 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)
func_180462_a(int arg0, ItemStack arg1, Direction arg2)
canPlaceItemThroughFace(int arg0, ItemStack arg1, EnumDirection arg2)
public boolean
b(int arg0, bly arg1, gc 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)
func_180461_b(int arg0, ItemStack arg1, Direction arg2)
canTakeItemThroughFace(int arg0, ItemStack arg1, EnumDirection arg2)
public int
Z_()
getContainerSize()
method_5439()
size()
func_70302_i_()
getSize()
public boolean
c()
isEmpty()
method_5442()
isEmpty()
func_191420_l()
isEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int arg0)
func_70301_a(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)
func_70298_a(int arg0, int arg1)
splitStack(int arg0, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bly arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public boolean
a(bft arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public boolean
b(int arg0, bly arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValid(int arg0, ItemStack arg1)
func_94041_b(int arg0, ItemStack arg1)
public void
Y_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
public void
a(bon<?> arg0)
setRecipeUsed(Recipe<?> arg0)
method_7662(class_1860<?> arg0)
setLastRecipe(Recipe<?> arg0)
func_193056_a(IRecipe<?> arg0)
public Recipe<?>
ak_()
getRecipeUsed()
method_7663()
getLastRecipe()
func_193055_i()
public void
b(bft arg0)
awardUsedRecipes(Player arg0)
method_7664(class_1657 arg0)
unlockLastRecipe(PlayerEntity arg0)
func_201560_d(PlayerEntity arg0)
public void
d(bft arg0)
awardUsedRecipesAndPopExperience(Player arg0)
method_17763(class_1657 arg0)
dropExperience(PlayerEntity player)
func_235645_d_(PlayerEntity arg0)
public List<Recipe<?>>
a(bru arg0, dck arg1)
getRecipesToAwardAndPopExperience(Level arg0, Vec3 arg1)
method_27354(class_1937 arg0, class_243 arg1)
method_27354(World arg0, Vec3d arg1)
func_235640_a_(World arg0, Vector3d arg1)
private static void
a(bru arg0, dck arg1, int arg2, float arg3)
createExperience(Level arg0, Vec3 arg1, int arg2, float arg3)
method_17760(class_1937 arg0, class_243 arg1, int arg2, float arg3)
dropExperience(World arg0, Vec3d arg1, int arg2, float arg3)
func_235641_a_(World arg0, Vector3d arg1, int arg2, float arg3)
public void
a(bfv arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
provideRecipeInputs(RecipeFinder arg0)
func_194018_a(RecipeItemHelper arg0)