net.minecraft.world.level.block.entity

public class CampfireBlockEntity

extends BlockEntity implements Clearable

All mapped superinterfaces:

Clearable

dqn
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<SingleRecipeInput, 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(dcw arg0, jd arg1, dtc arg2, dqn 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(dcw arg0, jd arg1, dtc arg2, dqn 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(dcw arg0, jd arg1, dtc arg2, dqn 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>
b()
getItems()
method_17505()
getItemsBeingCooked()
m_59065_()
protected void
a(ub arg0, jo$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_318667_(C_4917_ p_333564_, C_213466_$C_254607_ arg1)
protected void
b(ub arg0, jo$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_183515_(C_4917_ p_336279_, C_213466_$C_254607_ arg1)
public ClientboundBlockEntityDataPacket
c()
getUpdatePacket()
method_38245()
toUpdatePacket()
m_58483_()
public CompoundTag
a(jo$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
m_5995_(C_213466_$C_254607_ arg0)
public Optional<RecipeHolder<CampfireCookingRecipe>>
b(cuq arg0)
getCookableRecipe(ItemStack arg0)
method_17502(class_1799 arg0)
getRecipeFor(ItemStack stack)
m_59051_(C_1391_ arg0)
public boolean
a(btn arg0, cuq arg1, int arg2)
placeFood(LivingEntity arg0, ItemStack arg1, int arg2)
method_17503(class_1309 arg0, class_1799 arg1, int arg2)
addItem(LivingEntity user, ItemStack stack, int cookTime)
m_238284_(C_524_ p_238286_, C_1391_ p_238287_, int arg2)
private void
f()
markUpdated()
method_17510()
updateListeners()
m_59069_()
public void
a()
clearContent()
method_5448()
clear()
m_6211_()
public void
d()
dowse()
method_17506()
spawnItemsBeingCooked()
m_59066_()
protected void
a(dqh$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
m_318741_(C_1991_$C_313341_ arg0)
protected void
a(km$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
m_318837_(C_313470_$C_313535_ arg0)
public void
a(ub arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)
m_318942_(C_4917_ arg0)