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

btn
net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
net.minecraft.class_2609
net.minecraft.block.entity.AbstractFurnaceBlockEntity
net.minecraft.tileentity.AbstractFurnaceTileEntity
net.minecraft.server.v1_14_R1.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 Map<ResourceLocation, Integer>
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<?> arg0, RecipeType<? extends AbstractCookingRecipe> arg1)

Method summary

Modifier and TypeMethod
public static Map<Item, Integer>
f()
getFuel()
method_11196()
createFuelTimeMap()
func_214001_f()
private static void
a(Map<bce, Integer> arg0, zg<bce> 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, Tag<Item> arg1, int arg2)
private static void
a(Map<bce, Integer> arg0, bhq 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)
func_213996_a(Map<Item, Integer> arg0, IItemProvider arg1, int arg2)
private boolean
s()
isLit()
method_11201()
isBurning()
func_214006_r()
isBurning()
public void
a(id arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
fromTag(CompoundTag arg0)
func_145839_a(CompoundNBT arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(id arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public void
T_()
tick()
method_16896()
tick()
func_73660_a()
tick()
protected boolean
b(ber<?> arg0)
canBurn(Recipe<?> arg0)
method_11192(class_1860<?> arg0)
canAcceptRecipeOutput(Recipe<?> recipe)
func_214008_b(IRecipe<?> arg0)
canBurn(IRecipe<?> arg0)
private void
c(ber<?> arg0)
burn(Recipe<?> arg0)
method_11203(class_1860<?> arg0)
craftRecipe(Recipe<?> recipe)
func_214007_c(IRecipe<?> arg0)
burn(IRecipe<?> arg0)
protected int
a(bcj 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(bcj arg0)
isFuel(ItemStack arg0)
method_11195(class_1799 arg0)
canUseAsFuel(ItemStack stack)
func_213991_b(ItemStack arg0)
isFuel(ItemStack arg0)
public int[]
a(fb arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getInvAvailableSlots(Direction arg0)
func_180463_a(Direction arg0)
getSlotsForFace(EnumDirection arg0)
public boolean
a(int arg0, bcj arg1, fb arg2)
canPlaceItemThroughFace(int arg0, ItemStack arg1, Direction arg2)
method_5492(int arg0, class_1799 arg1, class_2350 arg2)
canInsertInvStack(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, bcj arg1, fb arg2)
canTakeItemThroughFace(int arg0, ItemStack arg1, Direction arg2)
method_5493(int arg0, class_1799 arg1, class_2350 arg2)
canExtractInvStack(int arg0, ItemStack arg1, Direction arg2)
func_180461_b(int arg0, ItemStack arg1, Direction arg2)
canTakeItemThroughFace(int arg0, ItemStack arg1, EnumDirection arg2)
public int
M_()
getContainerSize()
method_5439()
getInvSize()
func_70302_i_()
getSize()
public boolean
c()
isEmpty()
method_5442()
isInvEmpty()
func_191420_l()
isNotEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getInvStack(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)
takeInvStack(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)
removeInvStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bcj arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setInvStack(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public boolean
a(awg arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUseInv(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public boolean
b(int arg0, bcj arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValidInvStack(int arg0, ItemStack arg1)
func_94041_b(int arg0, ItemStack arg1)
public void
L_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
public void
a(ber<?> arg0)
setRecipeUsed(Recipe<?> arg0)
method_7662(class_1860<?> arg0)
setLastRecipe(Recipe<?> arg0)
func_193056_a(IRecipe<?> arg0)
public Recipe<?>
U_()
getRecipeUsed()
method_7663()
getLastRecipe()
func_193055_i()
public void
b(awg arg0)
awardAndReset(Player arg0)
method_7664(class_1657 arg0)
unlockLastRecipe(PlayerEntity arg0)
func_201560_d(PlayerEntity arg0)
public void
d(awg arg0)
awardResetAndExperience(Player arg0)
method_17763(class_1657 arg0)
dropExperience(PlayerEntity player)
func_213995_d(PlayerEntity arg0)
private static void
a(awg arg0, int arg1, float arg2)
createExperience(Player arg0, int arg1, float arg2)
method_17760(class_1657 arg0, int arg1, float arg2)
dropExperience(PlayerEntity player, int totalExperience, float experienceFraction)
func_214003_a(PlayerEntity arg0, int arg1, float arg2)
public void
a(awi arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
provideRecipeInputs(RecipeFinder arg0)
func_194018_a(RecipeItemHelper arg0)