net.minecraft.world.level.chunk

public class LevelChunkSection

crb
net.minecraft.world.level.chunk.LevelChunkSection
net.minecraft.class_2826
net.minecraft.world.chunk.ChunkSection
net.minecraft.src.C_2139_
net.minecraft.world.level.chunk.ChunkSection

Field summary

Modifier and TypeField
public static final int
a
SECTION_WIDTH
field_31406
field_31406
f_156455_
public static final int
b
SECTION_HEIGHT
field_31407
field_31407
f_156456_
public static final int
c
SECTION_SIZE
field_31408
field_31408
f_156457_
public static final int
d
BIOME_CONTAINER_BITS
field_34555
field_34555
f_187994_
private final int
e
bottomBlockY
field_12880
yOffset
f_62968_
private short
f
nonEmptyBlockCount
field_12877
nonEmptyBlockCount
f_62969_
private short
g
tickingBlockCount
field_12882
randomTickableBlockCount
f_62970_
private short
h
tickingFluidCount
field_12881
nonEmptyFluidCount
f_62971_
private final PalettedContainer<BlockState>
i
states
field_12878
blockStateContainer
f_62972_
private final PalettedContainer<Holder<Biome>>
j
biomes
field_34556
biomeContainer
f_187995_

Constructor summary

ModifierConstructor
public (int chunkPos, PalettedContainer<BlockState> blockStateContainer, PalettedContainer<Holder<Biome>> biomeContainer)
public (int chunkPos, Registry<Biome> biomeRegistry)

Method summary

Modifier and TypeMethod
public static int
a(int arg0)
getBottomBlockY(int arg0)
method_31729(int arg0)
blockCoordFromChunkCoord(int chunkPos)
m_156458_(int p_156459_)
public BlockState
a(int arg0, int arg1, int arg2)
getBlockState(int arg0, int arg1, int arg2)
method_12254(int arg0, int arg1, int arg2)
getBlockState(int x, int y, int z)
m_62982_(int p_62984_, int p_62985_, int arg2)
public FluidState
b(int arg0, int arg1, int arg2)
getFluidState(int arg0, int arg1, int arg2)
method_12255(int arg0, int arg1, int arg2)
getFluidState(int x, int y, int z)
m_63007_(int p_63009_, int p_63010_, int arg2)
public void
a()
acquire()
method_16676()
lock()
m_62981_()
public void
b()
release()
method_16677()
unlock()
m_63006_()
public BlockState
a(int arg0, int arg1, int arg2, cov arg3)
setBlockState(int arg0, int arg1, int arg2, BlockState arg3)
method_16675(int arg0, int arg1, int arg2, class_2680 arg3)
setBlockState(int x, int y, int z, BlockState state)
m_62986_(int p_62988_, int p_62989_, int p_62990_, C_2064_ arg3)
public BlockState
a(int arg0, int arg1, int arg2, cov arg3, boolean arg4)
setBlockState(int arg0, int arg1, int arg2, BlockState arg3, boolean arg4)
method_12256(int arg0, int arg1, int arg2, class_2680 arg3, boolean arg4)
setBlockState(int x, int y, int z, BlockState state, boolean lock)
m_62991_(int p_62993_, int p_62994_, int p_62995_, C_2064_ p_62996_, boolean arg4)
public boolean
c()
hasOnlyAir()
method_38292()
isEmpty()
m_188008_()
public boolean
d()
isRandomlyTicking()
method_12262()
hasRandomTicks()
m_63014_()
public boolean
e()
isRandomlyTickingBlocks()
method_12263()
hasRandomBlockTicks()
m_63015_()
public boolean
f()
isRandomlyTickingFluids()
method_12264()
hasRandomFluidTicks()
m_63016_()
public int
g()
bottomBlockY()
method_12259()
getYOffset()
m_63017_()
public void
h()
recalcBlockCounts()
method_12253()
calculateCounts()
m_63018_()
public PalettedContainer<BlockState>
i()
getStates()
method_12265()
getBlockStateContainer()
m_63019_()
public PalettedContainer<Holder<Biome>>
j()
getBiomes()
method_38294()
getBiomeContainer()
m_188013_()
public void
a(py arg0)
read(FriendlyByteBuf arg0)
method_12258(class_2540 arg0)
fromPacket(PacketByteBuf buf)
m_63004_(C_4983_ arg0)
public void
b(py arg0)
write(FriendlyByteBuf arg0)
method_12257(class_2540 arg0)
toPacket(PacketByteBuf buf)
m_63011_(C_4983_ arg0)
public int
k()
getSerializedSize()
method_12260()
getPacketSize()
m_63020_()
public boolean
a(Predicate<cov> arg0)
maybeHas(Predicate<BlockState> arg0)
method_19523(Predicate<class_2680> arg0)
hasAny(Predicate<BlockState> predicate)
m_63002_(Predicate<C_2064_> arg0)
public Holder<Biome>
c(int arg0, int arg1, int arg2)
getNoiseBiome(int arg0, int arg1, int arg2)
method_38293(int arg0, int arg1, int arg2)
getBiome(int x, int y, int z)
m_204433_(int p_204435_, int p_204436_, int arg2)
public void
a(cbu arg0, cbz$f arg1, int arg2, int arg3)
fillBiomesFromNoise(BiomeResolver arg0, Climate$Sampler arg1, int arg2, int arg3)
method_38291(class_6780 arg0, class_6544$class_6552 arg1, int arg2, int arg3)
populateBiomes(BiomeSupplier biomeSupplier, MultiNoiseUtil$MultiNoiseSampler sampler, int x, int z)
m_188003_(C_182855_ p_188005_, C_182857_$C_182866_ p_188006_, int p_188007_, int arg3)