Package net.minecraft.world.chunk
Class ChunkSection
java.lang.Object
net.minecraft.world.chunk.ChunkSection
- Mappings:
Namespace Name official ddz
intermediary net/minecraft/class_2826
named net/minecraft/world/chunk/ChunkSection
-
Field Summary
Modifier and TypeFieldDescriptionprivate ReadableContainer<RegistryEntry<Biome>>
private final PalettedContainer<BlockState>
static final int
static final int
static final int
static final int
private short
private short
private short
private final int
-
Constructor Summary
ConstructorDescriptionChunkSection
(int chunkPos, Registry<Biome> biomeRegistry) ChunkSection
(int chunkPos, PalettedContainer<BlockState> blockStateContainer, ReadableContainer<RegistryEntry<Biome>> biomeContainer) -
Method Summary
Modifier and TypeMethodDescriptionstatic int
blockCoordFromChunkCoord
(int chunkPos) void
getBiome
(int x, int y, int z) getBlockState
(int x, int y, int z) getFluidState
(int x, int y, int z) int
int
boolean
hasAny
(Predicate<BlockState> predicate) boolean
boolean
boolean
boolean
isEmpty()
void
lock()
void
populateBiomes
(BiomeSupplier biomeSupplier, MultiNoiseUtil.MultiNoiseSampler sampler, int x, int z) void
void
setBlockState
(int x, int y, int z, BlockState state) setBlockState
(int x, int y, int z, BlockState state, boolean lock) void
toPacket
(PacketByteBuf buf) void
unlock()
-
Field Details
-
field_31406
public static final int field_31406- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lddz;a:I
intermediary field_31406
Lnet/minecraft/class_2826;field_31406:I
named field_31406
Lnet/minecraft/world/chunk/ChunkSection;field_31406:I
-
field_31407
public static final int field_31407- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lddz;b:I
intermediary field_31407
Lnet/minecraft/class_2826;field_31407:I
named field_31407
Lnet/minecraft/world/chunk/ChunkSection;field_31407:I
-
field_31408
public static final int field_31408- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lddz;c:I
intermediary field_31408
Lnet/minecraft/class_2826;field_31408:I
named field_31408
Lnet/minecraft/world/chunk/ChunkSection;field_31408:I
-
field_34555
public static final int field_34555- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lddz;d:I
intermediary field_34555
Lnet/minecraft/class_2826;field_34555:I
named field_34555
Lnet/minecraft/world/chunk/ChunkSection;field_34555:I
-
yOffset
private final int yOffset- Mappings:
Namespace Name Mixin selector official e
Lddz;e:I
intermediary field_12880
Lnet/minecraft/class_2826;field_12880:I
named yOffset
Lnet/minecraft/world/chunk/ChunkSection;yOffset:I
-
nonEmptyBlockCount
private short nonEmptyBlockCount- Mappings:
Namespace Name Mixin selector official f
Lddz;f:S
intermediary field_12877
Lnet/minecraft/class_2826;field_12877:S
named nonEmptyBlockCount
Lnet/minecraft/world/chunk/ChunkSection;nonEmptyBlockCount:S
-
randomTickableBlockCount
private short randomTickableBlockCount- Mappings:
Namespace Name Mixin selector official g
Lddz;g:S
intermediary field_12882
Lnet/minecraft/class_2826;field_12882:S
named randomTickableBlockCount
Lnet/minecraft/world/chunk/ChunkSection;randomTickableBlockCount:S
-
nonEmptyFluidCount
private short nonEmptyFluidCount- Mappings:
Namespace Name Mixin selector official h
Lddz;h:S
intermediary field_12881
Lnet/minecraft/class_2826;field_12881:S
named nonEmptyFluidCount
Lnet/minecraft/world/chunk/ChunkSection;nonEmptyFluidCount:S
-
blockStateContainer
- Mappings:
Namespace Name Mixin selector official i
Lddz;i:Ldef;
intermediary field_12878
Lnet/minecraft/class_2826;field_12878:Lnet/minecraft/class_2841;
named blockStateContainer
Lnet/minecraft/world/chunk/ChunkSection;blockStateContainer:Lnet/minecraft/world/chunk/PalettedContainer;
-
biomeContainer
- Mappings:
Namespace Name Mixin selector official j
Lddz;j:Ldeg;
intermediary field_34556
Lnet/minecraft/class_2826;field_34556:Lnet/minecraft/class_7522;
named biomeContainer
Lnet/minecraft/world/chunk/ChunkSection;biomeContainer:Lnet/minecraft/world/chunk/ReadableContainer;
-
-
Constructor Details
-
ChunkSection
public ChunkSection(int chunkPos, PalettedContainer<BlockState> blockStateContainer, ReadableContainer<RegistryEntry<Biome>> biomeContainer) - Mappings:
Namespace Name Mixin selector official <init>
Lddz;<init>(ILdef;Ldeg;)V
intermediary <init>
Lnet/minecraft/class_2826;<init>(ILnet/minecraft/class_2841;Lnet/minecraft/class_7522;)V
named <init>
Lnet/minecraft/world/chunk/ChunkSection;<init>(ILnet/minecraft/world/chunk/PalettedContainer;Lnet/minecraft/world/chunk/ReadableContainer;)V
-
ChunkSection
- Mappings:
Namespace Name Mixin selector official <init>
Lddz;<init>(ILhq;)V
intermediary <init>
Lnet/minecraft/class_2826;<init>(ILnet/minecraft/class_2378;)V
named <init>
Lnet/minecraft/world/chunk/ChunkSection;<init>(ILnet/minecraft/registry/Registry;)V
-
-
Method Details
-
blockCoordFromChunkCoord
public static int blockCoordFromChunkCoord(int chunkPos) - Mappings:
Namespace Name Mixin selector official a
Lddz;a(I)I
intermediary method_31729
Lnet/minecraft/class_2826;method_31729(I)I
named blockCoordFromChunkCoord
Lnet/minecraft/world/chunk/ChunkSection;blockCoordFromChunkCoord(I)I
-
getBlockState
- Mappings:
Namespace Name Mixin selector official a
Lddz;a(III)Ldbq;
intermediary method_12254
Lnet/minecraft/class_2826;method_12254(III)Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/world/chunk/ChunkSection;getBlockState(III)Lnet/minecraft/block/BlockState;
-
getFluidState
- Mappings:
Namespace Name Mixin selector official b
Lddz;b(III)Ldwj;
intermediary method_12255
Lnet/minecraft/class_2826;method_12255(III)Lnet/minecraft/class_3610;
named getFluidState
Lnet/minecraft/world/chunk/ChunkSection;getFluidState(III)Lnet/minecraft/fluid/FluidState;
-
lock
public void lock()- Mappings:
Namespace Name Mixin selector official a
Lddz;a()V
intermediary method_16676
Lnet/minecraft/class_2826;method_16676()V
named lock
Lnet/minecraft/world/chunk/ChunkSection;lock()V
-
unlock
public void unlock()- Mappings:
Namespace Name Mixin selector official b
Lddz;b()V
intermediary method_16677
Lnet/minecraft/class_2826;method_16677()V
named unlock
Lnet/minecraft/world/chunk/ChunkSection;unlock()V
-
setBlockState
- Mappings:
Namespace Name Mixin selector official a
Lddz;a(IIILdbq;)Ldbq;
intermediary method_16675
Lnet/minecraft/class_2826;method_16675(IIILnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
named setBlockState
Lnet/minecraft/world/chunk/ChunkSection;setBlockState(IIILnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
setBlockState
- Mappings:
Namespace Name Mixin selector official a
Lddz;a(IIILdbq;Z)Ldbq;
intermediary method_12256
Lnet/minecraft/class_2826;method_12256(IIILnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;
named setBlockState
Lnet/minecraft/world/chunk/ChunkSection;setBlockState(IIILnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official c
Lddz;c()Z
intermediary method_38292
Lnet/minecraft/class_2826;method_38292()Z
named isEmpty
Lnet/minecraft/world/chunk/ChunkSection;isEmpty()Z
-
hasRandomTicks
public boolean hasRandomTicks()- Mappings:
Namespace Name Mixin selector official d
Lddz;d()Z
intermediary method_12262
Lnet/minecraft/class_2826;method_12262()Z
named hasRandomTicks
Lnet/minecraft/world/chunk/ChunkSection;hasRandomTicks()Z
-
hasRandomBlockTicks
public boolean hasRandomBlockTicks()- Mappings:
Namespace Name Mixin selector official e
Lddz;e()Z
intermediary method_12263
Lnet/minecraft/class_2826;method_12263()Z
named hasRandomBlockTicks
Lnet/minecraft/world/chunk/ChunkSection;hasRandomBlockTicks()Z
-
hasRandomFluidTicks
public boolean hasRandomFluidTicks()- Mappings:
Namespace Name Mixin selector official f
Lddz;f()Z
intermediary method_12264
Lnet/minecraft/class_2826;method_12264()Z
named hasRandomFluidTicks
Lnet/minecraft/world/chunk/ChunkSection;hasRandomFluidTicks()Z
-
getYOffset
public int getYOffset()- Mappings:
Namespace Name Mixin selector official g
Lddz;g()I
intermediary method_12259
Lnet/minecraft/class_2826;method_12259()I
named getYOffset
Lnet/minecraft/world/chunk/ChunkSection;getYOffset()I
-
calculateCounts
public void calculateCounts()- Mappings:
Namespace Name Mixin selector official h
Lddz;h()V
intermediary method_12253
Lnet/minecraft/class_2826;method_12253()V
named calculateCounts
Lnet/minecraft/world/chunk/ChunkSection;calculateCounts()V
-
getBlockStateContainer
- Mappings:
Namespace Name Mixin selector official i
Lddz;i()Ldef;
intermediary method_12265
Lnet/minecraft/class_2826;method_12265()Lnet/minecraft/class_2841;
named getBlockStateContainer
Lnet/minecraft/world/chunk/ChunkSection;getBlockStateContainer()Lnet/minecraft/world/chunk/PalettedContainer;
-
getBiomeContainer
- Mappings:
Namespace Name Mixin selector official j
Lddz;j()Ldeg;
intermediary method_38294
Lnet/minecraft/class_2826;method_38294()Lnet/minecraft/class_7522;
named getBiomeContainer
Lnet/minecraft/world/chunk/ChunkSection;getBiomeContainer()Lnet/minecraft/world/chunk/ReadableContainer;
-
readDataPacket
- Mappings:
Namespace Name Mixin selector official a
Lddz;a(Lss;)V
intermediary method_12258
Lnet/minecraft/class_2826;method_12258(Lnet/minecraft/class_2540;)V
named readDataPacket
Lnet/minecraft/world/chunk/ChunkSection;readDataPacket(Lnet/minecraft/network/PacketByteBuf;)V
-
readBiomePacket
- Mappings:
Namespace Name Mixin selector official b
Lddz;b(Lss;)V
intermediary method_49526
Lnet/minecraft/class_2826;method_49526(Lnet/minecraft/class_2540;)V
named readBiomePacket
Lnet/minecraft/world/chunk/ChunkSection;readBiomePacket(Lnet/minecraft/network/PacketByteBuf;)V
-
toPacket
- Mappings:
Namespace Name Mixin selector official c
Lddz;c(Lss;)V
intermediary method_12257
Lnet/minecraft/class_2826;method_12257(Lnet/minecraft/class_2540;)V
named toPacket
Lnet/minecraft/world/chunk/ChunkSection;toPacket(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketSize
public int getPacketSize()- Mappings:
Namespace Name Mixin selector official k
Lddz;k()I
intermediary method_12260
Lnet/minecraft/class_2826;method_12260()I
named getPacketSize
Lnet/minecraft/world/chunk/ChunkSection;getPacketSize()I
-
hasAny
- Mappings:
Namespace Name Mixin selector official a
Lddz;a(Ljava/util/function/Predicate;)Z
intermediary method_19523
Lnet/minecraft/class_2826;method_19523(Ljava/util/function/Predicate;)Z
named hasAny
Lnet/minecraft/world/chunk/ChunkSection;hasAny(Ljava/util/function/Predicate;)Z
-
getBiome
- Mappings:
Namespace Name Mixin selector official c
Lddz;c(III)Lhd;
intermediary method_38293
Lnet/minecraft/class_2826;method_38293(III)Lnet/minecraft/class_6880;
named getBiome
Lnet/minecraft/world/chunk/ChunkSection;getBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;
-
populateBiomes
public void populateBiomes(BiomeSupplier biomeSupplier, MultiNoiseUtil.MultiNoiseSampler sampler, int x, int z) - Mappings:
Namespace Name Mixin selector official a
Lddz;a(Lcni;Lcno$f;II)V
intermediary method_38291
Lnet/minecraft/class_2826;method_38291(Lnet/minecraft/class_6780;Lnet/minecraft/class_6544$class_6552;II)V
named populateBiomes
Lnet/minecraft/world/chunk/ChunkSection;populateBiomes(Lnet/minecraft/world/biome/source/BiomeSupplier;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;II)V
-