net.minecraft.world.level.block.entity

public class CampfireBlockEntity

extends BlockEntity implements Clearable

All mapped superinterfaces:

Clearable

ciu
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(bwq arg0, gg arg1, ckt arg2, ciu 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(bwq arg0, gg arg1, ckt arg2, ciu 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(bwq arg0, gg arg1, ckt arg2, ciu 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>
d()
getItems()
method_17505()
getItemsBeingCooked()
m_59065_()
getItems()
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)
private CompoundTag
c(na arg0)
saveMetadataAndItems(CompoundTag arg0)
method_17507(class_2487 arg0)
saveInitialChunkData(NbtCompound nbt)
m_59063_(C_4917_ arg0)
public ClientboundBlockEntityDataPacket
Y_()
getUpdatePacket()
method_16886()
toUpdatePacket()
m_7033_()
getUpdatePacket()
public CompoundTag
Z_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
public Optional<CampfireCookingRecipe>
a(bqq arg0)
getCookableRecipe(ItemStack arg0)
method_17502(class_1799 arg0)
getRecipeFor(ItemStack item)
m_59051_(C_1391_ arg0)
public boolean
a(bqq 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_()
clear()
public void
f()
dowse()
method_17506()
spawnItemsBeingCooked()
m_59066_()