net.minecraft.world.level.chunk

public class LevelChunkSection

cmy
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_
private static final Palette<BlockState>
d
GLOBAL_BLOCKSTATE_PALETTE
field_12879
PALETTE
f_62967_
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
container
f_62972_

Constructor summary

ModifierConstructor
public (int yOffset)
public (int yOffset, short nonEmptyBlockCount, short randomTickableBlockCount, short nonEmptyFluidCount)

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)
getType(int arg0, int arg1, 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, ckt 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)
setType(int arg0, int arg1, int arg2, IBlockData arg3)
public BlockState
a(int arg0, int arg1, int arg2, ckt 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)
setType(int arg0, int arg1, int arg2, IBlockData arg3, boolean arg4)
public boolean
c()
isEmpty()
method_12261()
isEmpty()
m_63013_()
public static boolean
a(cmy arg0)
isEmpty(LevelChunkSection arg0)
method_18090(class_2826 arg0)
isEmpty(ChunkSection section)
m_63000_(C_2139_ p_63001_)
public boolean
d()
isRandomlyTicking()
method_12262()
hasRandomTicks()
m_63014_()
public boolean
e()
isRandomlyTickingBlocks()
method_12263()
hasRandomBlockTicks()
m_63015_()
shouldTick()
public boolean
f()
isRandomlyTickingFluids()
method_12264()
hasRandomFluidTicks()
m_63016_()
public int
g()
bottomBlockY()
method_12259()
getYOffset()
m_63017_()
getYPosition()
public void
h()
recalcBlockCounts()
method_12253()
calculateCounts()
m_63018_()
recalcBlockCounts()
public PalettedContainer<BlockState>
i()
getStates()
method_12265()
getContainer()
m_63019_()
getBlocks()
public void
a(og arg0)
read(FriendlyByteBuf arg0)
method_12258(class_2540 arg0)
fromPacket(PacketByteBuf buf)
m_63004_(C_4983_ arg0)
public void
b(og arg0)
write(FriendlyByteBuf arg0)
method_12257(class_2540 arg0)
toPacket(PacketByteBuf buf)
m_63011_(C_4983_ arg0)
public int
j()
getSerializedSize()
method_12260()
getPacketSize()
m_63020_()
public boolean
a(Predicate<ckt> arg0)
maybeHas(Predicate<BlockState> arg0)
method_19523(Predicate<class_2680> arg0)
hasAny(Predicate<BlockState> predicate)
m_63002_(Predicate<C_2064_> arg0)