Package net.minecraft.world.chunk
Class ChunkSection
java.lang.Object
net.minecraft.world.chunk.ChunkSection
- Mappings:
Namespace Name named net/minecraft/world/chunk/ChunkSectionintermediary net/minecraft/class_2826official dvh
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ReadableContainer<RegistryEntry<Biome>> private final PalettedContainer<BlockState> static final intstatic final intstatic final intstatic final intprivate shortprivate shortprivate short -
Constructor Summary
ConstructorsConstructorDescriptionChunkSection(Registry<Biome> biomeRegistry) ChunkSection(PalettedContainer<BlockState> blockStateContainer, ReadableContainer<RegistryEntry<Biome>> biomeContainer) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetBiome(int x, int y, int z) getBlockState(int x, int y, int z) getFluidState(int x, int y, int z) intbooleanhasAny(Predicate<BlockState> predicate) booleanbooleanbooleanbooleanisEmpty()voidlock()voidpopulateBiomes(BiomeSupplier biomeSupplier, MultiNoiseUtil.MultiNoiseSampler sampler, int x, int y, int z) voidvoidsetBlockState(int x, int y, int z, BlockState state) setBlockState(int x, int y, int z, BlockState state, boolean lock) voidtoPacket(PacketByteBuf buf) voidunlock()
-
Field Details
-
field_31406
public static final int field_31406- See Also:
- Mappings:
Namespace Name Mixin selector named field_31406Lnet/minecraft/world/chunk/ChunkSection;field_31406:Iintermediary field_31406Lnet/minecraft/class_2826;field_31406:Iofficial aLdvh;a:I
-
field_31407
public static final int field_31407- See Also:
- Mappings:
Namespace Name Mixin selector named field_31407Lnet/minecraft/world/chunk/ChunkSection;field_31407:Iintermediary field_31407Lnet/minecraft/class_2826;field_31407:Iofficial bLdvh;b:I
-
field_31408
public static final int field_31408- See Also:
- Mappings:
Namespace Name Mixin selector named field_31408Lnet/minecraft/world/chunk/ChunkSection;field_31408:Iintermediary field_31408Lnet/minecraft/class_2826;field_31408:Iofficial cLdvh;c:I
-
field_34555
public static final int field_34555- See Also:
- Mappings:
Namespace Name Mixin selector named field_34555Lnet/minecraft/world/chunk/ChunkSection;field_34555:Iintermediary field_34555Lnet/minecraft/class_2826;field_34555:Iofficial dLdvh;d:I
-
nonEmptyBlockCount
private short nonEmptyBlockCount- Mappings:
Namespace Name Mixin selector named nonEmptyBlockCountLnet/minecraft/world/chunk/ChunkSection;nonEmptyBlockCount:Sintermediary field_12877Lnet/minecraft/class_2826;field_12877:Sofficial eLdvh;e:S
-
randomTickableBlockCount
private short randomTickableBlockCount- Mappings:
Namespace Name Mixin selector named randomTickableBlockCountLnet/minecraft/world/chunk/ChunkSection;randomTickableBlockCount:Sintermediary field_12882Lnet/minecraft/class_2826;field_12882:Sofficial fLdvh;f:S
-
nonEmptyFluidCount
private short nonEmptyFluidCount- Mappings:
Namespace Name Mixin selector named nonEmptyFluidCountLnet/minecraft/world/chunk/ChunkSection;nonEmptyFluidCount:Sintermediary field_12881Lnet/minecraft/class_2826;field_12881:Sofficial gLdvh;g:S
-
blockStateContainer
- Mappings:
Namespace Name Mixin selector named blockStateContainerLnet/minecraft/world/chunk/ChunkSection;blockStateContainer:Lnet/minecraft/world/chunk/PalettedContainer;intermediary field_12878Lnet/minecraft/class_2826;field_12878:Lnet/minecraft/class_2841;official hLdvh;h:Ldvo;
-
biomeContainer
- Mappings:
Namespace Name Mixin selector named biomeContainerLnet/minecraft/world/chunk/ChunkSection;biomeContainer:Lnet/minecraft/world/chunk/ReadableContainer;intermediary field_34556Lnet/minecraft/class_2826;field_34556:Lnet/minecraft/class_7522;official iLdvh;i:Ldvp;
-
-
Constructor Details
-
ChunkSection
public ChunkSection(PalettedContainer<BlockState> blockStateContainer, ReadableContainer<RegistryEntry<Biome>> biomeContainer) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/chunk/ChunkSection;<init>(Lnet/minecraft/world/chunk/PalettedContainer;Lnet/minecraft/world/chunk/ReadableContainer;)Vintermediary <init>Lnet/minecraft/class_2826;<init>(Lnet/minecraft/class_2841;Lnet/minecraft/class_7522;)Vofficial <init>Ldvh;<init>(Ldvo;Ldvp;)V
-
ChunkSection
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/chunk/ChunkSection;<init>(Lnet/minecraft/registry/Registry;)Vintermediary <init>Lnet/minecraft/class_2826;<init>(Lnet/minecraft/class_2378;)Vofficial <init>Ldvh;<init>(Ljz;)V
-
-
Method Details
-
getBlockState
- Mappings:
Namespace Name Mixin selector named getBlockStateLnet/minecraft/world/chunk/ChunkSection;getBlockState(III)Lnet/minecraft/block/BlockState;intermediary method_12254Lnet/minecraft/class_2826;method_12254(III)Lnet/minecraft/class_2680;official aLdvh;a(III)Ldta;
-
getFluidState
- Mappings:
Namespace Name Mixin selector named getFluidStateLnet/minecraft/world/chunk/ChunkSection;getFluidState(III)Lnet/minecraft/fluid/FluidState;intermediary method_12255Lnet/minecraft/class_2826;method_12255(III)Lnet/minecraft/class_3610;official bLdvh;b(III)Leoy;
-
lock
public void lock()- Mappings:
Namespace Name Mixin selector named lockLnet/minecraft/world/chunk/ChunkSection;lock()Vintermediary method_16676Lnet/minecraft/class_2826;method_16676()Vofficial aLdvh;a()V
-
unlock
public void unlock()- Mappings:
Namespace Name Mixin selector named unlockLnet/minecraft/world/chunk/ChunkSection;unlock()Vintermediary method_16677Lnet/minecraft/class_2826;method_16677()Vofficial bLdvh;b()V
-
setBlockState
- Mappings:
Namespace Name Mixin selector named setBlockStateLnet/minecraft/world/chunk/ChunkSection;setBlockState(IIILnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;intermediary method_16675Lnet/minecraft/class_2826;method_16675(IIILnet/minecraft/class_2680;)Lnet/minecraft/class_2680;official aLdvh;a(IIILdta;)Ldta;
-
setBlockState
- Mappings:
Namespace Name Mixin selector named setBlockStateLnet/minecraft/world/chunk/ChunkSection;setBlockState(IIILnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;intermediary method_12256Lnet/minecraft/class_2826;method_12256(IIILnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;official aLdvh;a(IIILdta;Z)Ldta;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector named isEmptyLnet/minecraft/world/chunk/ChunkSection;isEmpty()Zintermediary method_38292Lnet/minecraft/class_2826;method_38292()Zofficial cLdvh;c()Z
-
hasRandomTicks
public boolean hasRandomTicks()- Mappings:
Namespace Name Mixin selector named hasRandomTicksLnet/minecraft/world/chunk/ChunkSection;hasRandomTicks()Zintermediary method_12262Lnet/minecraft/class_2826;method_12262()Zofficial dLdvh;d()Z
-
hasRandomBlockTicks
public boolean hasRandomBlockTicks()- Mappings:
Namespace Name Mixin selector named hasRandomBlockTicksLnet/minecraft/world/chunk/ChunkSection;hasRandomBlockTicks()Zintermediary method_12263Lnet/minecraft/class_2826;method_12263()Zofficial eLdvh;e()Z
-
hasRandomFluidTicks
public boolean hasRandomFluidTicks()- Mappings:
Namespace Name Mixin selector named hasRandomFluidTicksLnet/minecraft/world/chunk/ChunkSection;hasRandomFluidTicks()Zintermediary method_12264Lnet/minecraft/class_2826;method_12264()Zofficial fLdvh;f()Z
-
calculateCounts
public void calculateCounts()- Mappings:
Namespace Name Mixin selector named calculateCountsLnet/minecraft/world/chunk/ChunkSection;calculateCounts()Vintermediary method_12253Lnet/minecraft/class_2826;method_12253()Vofficial gLdvh;g()V
-
getBlockStateContainer
- Mappings:
Namespace Name Mixin selector named getBlockStateContainerLnet/minecraft/world/chunk/ChunkSection;getBlockStateContainer()Lnet/minecraft/world/chunk/PalettedContainer;intermediary method_12265Lnet/minecraft/class_2826;method_12265()Lnet/minecraft/class_2841;official hLdvh;h()Ldvo;
-
getBiomeContainer
- Mappings:
Namespace Name Mixin selector named getBiomeContainerLnet/minecraft/world/chunk/ChunkSection;getBiomeContainer()Lnet/minecraft/world/chunk/ReadableContainer;intermediary method_38294Lnet/minecraft/class_2826;method_38294()Lnet/minecraft/class_7522;official iLdvh;i()Ldvp;
-
readDataPacket
- Mappings:
Namespace Name Mixin selector named readDataPacketLnet/minecraft/world/chunk/ChunkSection;readDataPacket(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_12258Lnet/minecraft/class_2826;method_12258(Lnet/minecraft/class_2540;)Vofficial aLdvh;a(Lvv;)V
-
readBiomePacket
- Mappings:
Namespace Name Mixin selector named readBiomePacketLnet/minecraft/world/chunk/ChunkSection;readBiomePacket(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_49526Lnet/minecraft/class_2826;method_49526(Lnet/minecraft/class_2540;)Vofficial bLdvh;b(Lvv;)V
-
toPacket
- Mappings:
Namespace Name Mixin selector named toPacketLnet/minecraft/world/chunk/ChunkSection;toPacket(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_12257Lnet/minecraft/class_2826;method_12257(Lnet/minecraft/class_2540;)Vofficial cLdvh;c(Lvv;)V
-
getPacketSize
public int getPacketSize()- Mappings:
Namespace Name Mixin selector named getPacketSizeLnet/minecraft/world/chunk/ChunkSection;getPacketSize()Iintermediary method_12260Lnet/minecraft/class_2826;method_12260()Iofficial jLdvh;j()I
-
hasAny
- Mappings:
Namespace Name Mixin selector named hasAnyLnet/minecraft/world/chunk/ChunkSection;hasAny(Ljava/util/function/Predicate;)Zintermediary method_19523Lnet/minecraft/class_2826;method_19523(Ljava/util/function/Predicate;)Zofficial aLdvh;a(Ljava/util/function/Predicate;)Z
-
getBiome
- Mappings:
Namespace Name Mixin selector named getBiomeLnet/minecraft/world/chunk/ChunkSection;getBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_38293Lnet/minecraft/class_2826;method_38293(III)Lnet/minecraft/class_6880;official cLdvh;c(III)Ljm;
-
populateBiomes
public void populateBiomes(BiomeSupplier biomeSupplier, MultiNoiseUtil.MultiNoiseSampler sampler, int x, int y, int z) - Mappings:
Namespace Name Mixin selector named populateBiomesLnet/minecraft/world/chunk/ChunkSection;populateBiomes(Lnet/minecraft/world/biome/source/BiomeSupplier;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;III)Vintermediary method_38291Lnet/minecraft/class_2826;method_38291(Lnet/minecraft/class_6780;Lnet/minecraft/class_6544$class_6552;III)Vofficial aLdvh;a(Lddx;Lded$f;III)V
-