net.minecraft.world.level.block.entity

public class CampfireBlockEntity

extends BlockEntity implements Clearable

All mapped superinterfaces:

Clearable

cmd
net.minecraft.world.level.block.entity.CampfireBlockEntity
net.minecraft.class_3924
net.minecraft.block.entity.CampfireBlockEntity
net.minecraft.src.C_1996_
net.minecraft.world.level.block.entity.TileEntityCampfire

Field summary

Modifier and TypeField
private static final int
a
BURN_COOL_SPEED
field_31330
field_31330
f_155298_
private static final int
b
NUM_SLOTS
field_31331
field_31331
f_155299_
private final NonNullList<ItemStack>
c
items
field_17383
itemsBeingCooked
f_59042_
private final int[]
d
cookingProgress
field_17384
cookingTimes
f_59043_
private final int[]
e
cookingTime
field_17385
cookingTotalTimes
f_59044_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public static void
a(cad arg0, gh arg1, coc arg2, cmd arg3)
cookTick(Level arg0, BlockPos arg1, BlockState arg2, CampfireBlockEntity arg3)
method_31666(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_3924 arg3)
litServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire)
m_155306_(C_1596_ p_155307_, C_4675_ p_155308_, C_2064_ p_155309_, C_1996_ p_155310_)
public static void
b(cad arg0, gh arg1, coc arg2, cmd arg3)
cooldownTick(Level arg0, BlockPos arg1, BlockState arg2, CampfireBlockEntity arg3)
method_31667(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_3924 arg3)
unlitServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire)
m_155313_(C_1596_ p_155314_, C_4675_ p_155315_, C_2064_ p_155316_, C_1996_ p_155317_)
public static void
c(cad arg0, gh arg1, coc arg2, cmd arg3)
particleTick(Level arg0, BlockPos arg1, BlockState arg2, CampfireBlockEntity arg3)
method_31668(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_3924 arg3)
clientTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire)
m_155318_(C_1596_ p_155319_, C_4675_ p_155320_, C_2064_ p_155321_, C_1996_ p_155322_)
public NonNullList<ItemStack>
c()
getItems()
method_17505()
getItemsBeingCooked()
m_59065_()
public void
a(oc arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(oc arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public ClientboundBlockEntityDataPacket
d()
getUpdatePacket()
method_38245()
toUpdatePacket()
m_183216_()
public CompoundTag
Z_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
public Optional<CampfireCookingRecipe>
a(bue arg0)
getCookableRecipe(ItemStack arg0)
method_17502(class_1799 arg0)
getRecipeFor(ItemStack item)
m_59051_(C_1391_ arg0)
public boolean
a(bue arg0, int arg1)
placeFood(ItemStack arg0, int arg1)
method_17503(class_1799 arg0, int arg1)
addItem(ItemStack item, int integer)
m_59053_(C_1391_ p_59055_, int arg1)
private void
g()
markUpdated()
method_17510()
updateListeners()
m_59069_()
public void
a()
clearContent()
method_5448()
clear()
m_6211_()
public void
f()
dowse()
method_17506()
spawnItemsBeingCooked()
m_59066_()