Class ChunkSection

java.lang.Object
net.minecraft.world.chunk.ChunkSection

public class ChunkSection extends Object
Mappings:
Namespace Name
named net/minecraft/world/chunk/ChunkSection
intermediary net/minecraft/class_2826
official dvh
  • Field Details

    • field_31406

      public static final int field_31406
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31406 Lnet/minecraft/world/chunk/ChunkSection;field_31406:I
      intermediary field_31406 Lnet/minecraft/class_2826;field_31406:I
      official a Ldvh;a:I
    • field_31407

      public static final int field_31407
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31407 Lnet/minecraft/world/chunk/ChunkSection;field_31407:I
      intermediary field_31407 Lnet/minecraft/class_2826;field_31407:I
      official b Ldvh;b:I
    • field_31408

      public static final int field_31408
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31408 Lnet/minecraft/world/chunk/ChunkSection;field_31408:I
      intermediary field_31408 Lnet/minecraft/class_2826;field_31408:I
      official c Ldvh;c:I
    • field_34555

      public static final int field_34555
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_34555 Lnet/minecraft/world/chunk/ChunkSection;field_34555:I
      intermediary field_34555 Lnet/minecraft/class_2826;field_34555:I
      official d Ldvh;d:I
    • nonEmptyBlockCount

      private short nonEmptyBlockCount
      Mappings:
      Namespace Name Mixin selector
      named nonEmptyBlockCount Lnet/minecraft/world/chunk/ChunkSection;nonEmptyBlockCount:S
      intermediary field_12877 Lnet/minecraft/class_2826;field_12877:S
      official e Ldvh;e:S
    • randomTickableBlockCount

      private short randomTickableBlockCount
      Mappings:
      Namespace Name Mixin selector
      named randomTickableBlockCount Lnet/minecraft/world/chunk/ChunkSection;randomTickableBlockCount:S
      intermediary field_12882 Lnet/minecraft/class_2826;field_12882:S
      official f Ldvh;f:S
    • nonEmptyFluidCount

      private short nonEmptyFluidCount
      Mappings:
      Namespace Name Mixin selector
      named nonEmptyFluidCount Lnet/minecraft/world/chunk/ChunkSection;nonEmptyFluidCount:S
      intermediary field_12881 Lnet/minecraft/class_2826;field_12881:S
      official g Ldvh;g:S
    • blockStateContainer

      private final PalettedContainer<BlockState> blockStateContainer
      Mappings:
      Namespace Name Mixin selector
      named blockStateContainer Lnet/minecraft/world/chunk/ChunkSection;blockStateContainer:Lnet/minecraft/world/chunk/PalettedContainer;
      intermediary field_12878 Lnet/minecraft/class_2826;field_12878:Lnet/minecraft/class_2841;
      official h Ldvh;h:Ldvo;
    • biomeContainer

      private ReadableContainer<RegistryEntry<Biome>> biomeContainer
      Mappings:
      Namespace Name Mixin selector
      named biomeContainer Lnet/minecraft/world/chunk/ChunkSection;biomeContainer:Lnet/minecraft/world/chunk/ReadableContainer;
      intermediary field_34556 Lnet/minecraft/class_2826;field_34556:Lnet/minecraft/class_7522;
      official i Ldvh;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;)V
      intermediary <init> Lnet/minecraft/class_2826;<init>(Lnet/minecraft/class_2841;Lnet/minecraft/class_7522;)V
      official <init> Ldvh;<init>(Ldvo;Ldvp;)V
    • ChunkSection

      public ChunkSection(Registry<Biome> biomeRegistry)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/chunk/ChunkSection;<init>(Lnet/minecraft/registry/Registry;)V
      intermediary <init> Lnet/minecraft/class_2826;<init>(Lnet/minecraft/class_2378;)V
      official <init> Ldvh;<init>(Ljz;)V
  • Method Details

    • getBlockState

      public BlockState getBlockState(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named getBlockState Lnet/minecraft/world/chunk/ChunkSection;getBlockState(III)Lnet/minecraft/block/BlockState;
      intermediary method_12254 Lnet/minecraft/class_2826;method_12254(III)Lnet/minecraft/class_2680;
      official a Ldvh;a(III)Ldta;
    • getFluidState

      public FluidState getFluidState(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named getFluidState Lnet/minecraft/world/chunk/ChunkSection;getFluidState(III)Lnet/minecraft/fluid/FluidState;
      intermediary method_12255 Lnet/minecraft/class_2826;method_12255(III)Lnet/minecraft/class_3610;
      official b Ldvh;b(III)Leoy;
    • lock

      public void lock()
      Mappings:
      Namespace Name Mixin selector
      named lock Lnet/minecraft/world/chunk/ChunkSection;lock()V
      intermediary method_16676 Lnet/minecraft/class_2826;method_16676()V
      official a Ldvh;a()V
    • unlock

      public void unlock()
      Mappings:
      Namespace Name Mixin selector
      named unlock Lnet/minecraft/world/chunk/ChunkSection;unlock()V
      intermediary method_16677 Lnet/minecraft/class_2826;method_16677()V
      official b Ldvh;b()V
    • setBlockState

      public BlockState setBlockState(int x, int y, int z, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named setBlockState Lnet/minecraft/world/chunk/ChunkSection;setBlockState(IIILnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
      intermediary method_16675 Lnet/minecraft/class_2826;method_16675(IIILnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
      official a Ldvh;a(IIILdta;)Ldta;
    • setBlockState

      public BlockState setBlockState(int x, int y, int z, BlockState state, boolean lock)
      Mappings:
      Namespace Name Mixin selector
      named setBlockState Lnet/minecraft/world/chunk/ChunkSection;setBlockState(IIILnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
      intermediary method_12256 Lnet/minecraft/class_2826;method_12256(IIILnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;
      official a Ldvh;a(IIILdta;Z)Ldta;
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/world/chunk/ChunkSection;isEmpty()Z
      intermediary method_38292 Lnet/minecraft/class_2826;method_38292()Z
      official c Ldvh;c()Z
    • hasRandomTicks

      public boolean hasRandomTicks()
      Mappings:
      Namespace Name Mixin selector
      named hasRandomTicks Lnet/minecraft/world/chunk/ChunkSection;hasRandomTicks()Z
      intermediary method_12262 Lnet/minecraft/class_2826;method_12262()Z
      official d Ldvh;d()Z
    • hasRandomBlockTicks

      public boolean hasRandomBlockTicks()
      Mappings:
      Namespace Name Mixin selector
      named hasRandomBlockTicks Lnet/minecraft/world/chunk/ChunkSection;hasRandomBlockTicks()Z
      intermediary method_12263 Lnet/minecraft/class_2826;method_12263()Z
      official e Ldvh;e()Z
    • hasRandomFluidTicks

      public boolean hasRandomFluidTicks()
      Mappings:
      Namespace Name Mixin selector
      named hasRandomFluidTicks Lnet/minecraft/world/chunk/ChunkSection;hasRandomFluidTicks()Z
      intermediary method_12264 Lnet/minecraft/class_2826;method_12264()Z
      official f Ldvh;f()Z
    • calculateCounts

      public void calculateCounts()
      Mappings:
      Namespace Name Mixin selector
      named calculateCounts Lnet/minecraft/world/chunk/ChunkSection;calculateCounts()V
      intermediary method_12253 Lnet/minecraft/class_2826;method_12253()V
      official g Ldvh;g()V
    • getBlockStateContainer

      public PalettedContainer<BlockState> getBlockStateContainer()
      Mappings:
      Namespace Name Mixin selector
      named getBlockStateContainer Lnet/minecraft/world/chunk/ChunkSection;getBlockStateContainer()Lnet/minecraft/world/chunk/PalettedContainer;
      intermediary method_12265 Lnet/minecraft/class_2826;method_12265()Lnet/minecraft/class_2841;
      official h Ldvh;h()Ldvo;
    • getBiomeContainer

      public ReadableContainer<RegistryEntry<Biome>> getBiomeContainer()
      Mappings:
      Namespace Name Mixin selector
      named getBiomeContainer Lnet/minecraft/world/chunk/ChunkSection;getBiomeContainer()Lnet/minecraft/world/chunk/ReadableContainer;
      intermediary method_38294 Lnet/minecraft/class_2826;method_38294()Lnet/minecraft/class_7522;
      official i Ldvh;i()Ldvp;
    • readDataPacket

      public void readDataPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named readDataPacket Lnet/minecraft/world/chunk/ChunkSection;readDataPacket(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_12258 Lnet/minecraft/class_2826;method_12258(Lnet/minecraft/class_2540;)V
      official a Ldvh;a(Lvv;)V
    • readBiomePacket

      public void readBiomePacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named readBiomePacket Lnet/minecraft/world/chunk/ChunkSection;readBiomePacket(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_49526 Lnet/minecraft/class_2826;method_49526(Lnet/minecraft/class_2540;)V
      official b Ldvh;b(Lvv;)V
    • toPacket

      public void toPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named toPacket Lnet/minecraft/world/chunk/ChunkSection;toPacket(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_12257 Lnet/minecraft/class_2826;method_12257(Lnet/minecraft/class_2540;)V
      official c Ldvh;c(Lvv;)V
    • getPacketSize

      public int getPacketSize()
      Mappings:
      Namespace Name Mixin selector
      named getPacketSize Lnet/minecraft/world/chunk/ChunkSection;getPacketSize()I
      intermediary method_12260 Lnet/minecraft/class_2826;method_12260()I
      official j Ldvh;j()I
    • hasAny

      public boolean hasAny(Predicate<BlockState> predicate)
      Mappings:
      Namespace Name Mixin selector
      named hasAny Lnet/minecraft/world/chunk/ChunkSection;hasAny(Ljava/util/function/Predicate;)Z
      intermediary method_19523 Lnet/minecraft/class_2826;method_19523(Ljava/util/function/Predicate;)Z
      official a Ldvh;a(Ljava/util/function/Predicate;)Z
    • getBiome

      public RegistryEntry<Biome> getBiome(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named getBiome Lnet/minecraft/world/chunk/ChunkSection;getBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_38293 Lnet/minecraft/class_2826;method_38293(III)Lnet/minecraft/class_6880;
      official c Ldvh;c(III)Ljm;
    • populateBiomes

      public void populateBiomes(BiomeSupplier biomeSupplier, MultiNoiseUtil.MultiNoiseSampler sampler, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named populateBiomes Lnet/minecraft/world/chunk/ChunkSection;populateBiomes(Lnet/minecraft/world/biome/source/BiomeSupplier;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;III)V
      intermediary method_38291 Lnet/minecraft/class_2826;method_38291(Lnet/minecraft/class_6780;Lnet/minecraft/class_6544$class_6552;III)V
      official a Ldvh;a(Lddx;Lded$f;III)V