net.minecraft.world.level.block.entity

public class CampfireBlockEntity

extends BlockEntity implements Clearable

All mapped superinterfaces:

Clearable

dug
net.minecraft.world.level.block.entity.CampfireBlockEntity
net.minecraft.class_3924
net.minecraft.block.entity.CampfireBlockEntity
net.minecraft.world.level.block.entity.TileEntityCampfire

Field summary

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

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public static void
a(ard arg0, ji arg1, dwy arg2, dug arg3, dbm$a<dby, daq> arg4)
cookTick(ServerLevel arg0, BlockPos arg1, BlockState arg2, CampfireBlockEntity arg3, RecipeManager$CachedCheck<SingleRecipeInput, CampfireCookingRecipe> arg4)
method_31666(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_3924 arg3, class_1863$class_7266<class_9696, class_3920> arg4)
litServerTick(ServerWorld world, BlockPos pos, BlockState state, CampfireBlockEntity blockEntity, ServerRecipeManager$MatchGetter<SingleStackRecipeInput, CampfireCookingRecipe> recipeMatchGetter)
public static void
a(dgj arg0, ji arg1, dwy arg2, dug 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)
public static void
b(dgj arg0, ji arg1, dwy arg2, dug 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)
public NonNullList<ItemStack>
b()
getItems()
method_17505()
getItemsBeingCooked()
protected void
a(tq arg0, jt$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
b(tq arg0, jt$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
public ClientboundBlockEntityDataPacket
c()
getUpdatePacket()
method_38245()
toUpdatePacket()
public CompoundTag
a(jt$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public boolean
a(ard arg0, bvi arg1, cwq arg2)
placeFood(ServerLevel arg0, LivingEntity arg1, ItemStack arg2)
method_17503(class_3218 arg0, class_1309 arg1, class_1799 arg2)
addItem(ServerWorld world, LivingEntity entity, ItemStack stack)
private void
f()
markUpdated()
method_17510()
updateListeners()
public void
a()
clearContent()
method_5448()
clear()
public void
d()
dowse()
method_17506()
spawnItemsBeingCooked()
protected void
a(dua$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
protected void
a(kr$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
public void
a(tq arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)