net.minecraft.world.level.block.entity

public class CampfireBlockEntity

extends BlockEntity implements Clearable

All mapped superinterfaces:

Clearable

ebg
net.minecraft.world.level.block.entity.CampfireBlockEntity
net.minecraft.class_3924
net.minecraft.block.entity.CampfireBlockEntity

Field summary

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

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public static void
a(aub arg0, jb arg1, eeb arg2, ebg arg3, dht$a<dif, dgx> 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(dmu arg0, jb arg1, eeb arg2, ebg 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(dmu arg0, jb arg1, eeb arg2, ebg 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>
c()
getItems()
method_17505()
getItemsBeingCooked()
protected void
a(fda arg0)
loadAdditional(ValueInput arg0)
method_11014(class_11368 arg0)
readData(ReadView arg0)
protected void
a(fdc arg0)
saveAdditional(ValueOutput arg0)
method_11007(class_11372 arg0)
writeData(WriteView arg0)
public ClientboundBlockEntityDataPacket
d()
getUpdatePacket()
method_38245()
toUpdatePacket()
public CompoundTag
a(jn$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public boolean
a(aub arg0, cam arg1, dcv 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
a(jb arg0, eeb arg1)
preRemoveSideEffects(BlockPos arg0, BlockState arg1)
method_66473(class_2338 arg0, class_2680 arg1)
onBlockReplaced(BlockPos arg0, BlockState arg1)
protected void
a(kl arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_57568(class_9473 arg0)
readComponents(ComponentsAccess arg0)
protected void
a(kn$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
public void
b(fdc arg0)
removeComponentsFromTag(ValueOutput arg0)
method_57569(class_11372 arg0)
removeFromCopiedStackData(WriteView arg0)