net.minecraft.world.level.block.entity

public class CampfireBlockEntity

extends BlockEntity implements Clearable

All mapped superinterfaces:

Clearable

csp
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_
private final RecipeManager$CachedCheck<Container, CampfireCookingRecipe>
f
quickCheck
field_38235
matchGetter
f_222760_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public static void
a(cga arg0, gt arg1, cur arg2, csp 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(cga arg0, gt arg1, cur arg2, csp 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(cga arg0, gt arg1, cur arg2, csp 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(pj arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(pj 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_58483_()
public CompoundTag
ab_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
public Optional<CampfireCookingRecipe>
a(caa arg0)
getCookableRecipe(ItemStack arg0)
method_17502(class_1799 arg0)
getRecipeFor(ItemStack stack)
m_59051_(C_1391_ arg0)
public boolean
a(baq arg0, caa arg1, int arg2)
placeFood(Entity arg0, ItemStack arg1, int arg2)
method_17503(class_1297 arg0, class_1799 arg1, int arg2)
addItem(Entity user, ItemStack stack, int cookTime)
m_238284_(C_507_ p_238286_, C_1391_ p_238287_, int arg2)
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_()