Class ChunkSection

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

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

    • field_18896

      private static final class_2748<BlockState> field_18896
      Mappings:
      Namespace Name Mixin selector
      official a Lbnk;a:Lbno;
      intermediary field_18896 Lnet/minecraft/class_1197;field_18896:Lnet/minecraft/class_2748;
      named field_18896 Lnet/minecraft/world/chunk/ChunkSection;field_18896:Lnet/minecraft/class_2748;
    • yOffset

      private final int yOffset
      Mappings:
      Namespace Name Mixin selector
      official b Lbnk;b:I
      intermediary field_4744 Lnet/minecraft/class_1197;field_4744:I
      named yOffset Lnet/minecraft/world/chunk/ChunkSection;yOffset:I
    • containedBlockCount

      private int containedBlockCount
      Mappings:
      Namespace Name Mixin selector
      official c Lbnk;c:I
      intermediary field_4745 Lnet/minecraft/class_1197;field_4745:I
      named containedBlockCount Lnet/minecraft/world/chunk/ChunkSection;containedBlockCount:I
    • tickableBlockCount

      private int tickableBlockCount
      Mappings:
      Namespace Name Mixin selector
      official d Lbnk;d:I
      intermediary field_4746 Lnet/minecraft/class_1197;field_4746:I
      named tickableBlockCount Lnet/minecraft/world/chunk/ChunkSection;tickableBlockCount:I
    • field_18897

      private int field_18897
      Mappings:
      Namespace Name Mixin selector
      official e Lbnk;e:I
      intermediary field_18897 Lnet/minecraft/class_1197;field_18897:I
      named field_18897 Lnet/minecraft/world/chunk/ChunkSection;field_18897:I
    • field_18898

      private final class_2743<BlockState> field_18898
      Mappings:
      Namespace Name Mixin selector
      official f Lbnk;f:Lbnq;
      intermediary field_18898 Lnet/minecraft/class_1197;field_18898:Lnet/minecraft/class_2743;
      named field_18898 Lnet/minecraft/world/chunk/ChunkSection;field_18898:Lnet/minecraft/class_2743;
    • blockLight

      private ChunkNibbleArray blockLight
      Mappings:
      Namespace Name Mixin selector
      official g Lbnk;g:Lbne;
      intermediary field_4750 Lnet/minecraft/class_1197;field_4750:Lnet/minecraft/class_1194;
      named blockLight Lnet/minecraft/world/chunk/ChunkSection;blockLight:Lnet/minecraft/world/chunk/ChunkNibbleArray;
    • skyLight

      private ChunkNibbleArray skyLight
      Mappings:
      Namespace Name Mixin selector
      official h Lbnk;h:Lbne;
      intermediary field_4751 Lnet/minecraft/class_1197;field_4751:Lnet/minecraft/class_1194;
      named skyLight Lnet/minecraft/world/chunk/ChunkSection;skyLight:Lnet/minecraft/world/chunk/ChunkNibbleArray;
  • Constructor Details

    • ChunkSection

      public ChunkSection(int yOffset, boolean skyLightEnabled)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbnk;<init>(IZ)V
      intermediary <init> Lnet/minecraft/class_1197;<init>(IZ)V
      named <init> Lnet/minecraft/world/chunk/ChunkSection;<init>(IZ)V
  • Method Details

    • getBlockState

      public BlockState getBlockState(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnk;a(III)Lblc;
      intermediary method_9170 Lnet/minecraft/class_1197;method_9170(III)Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/world/chunk/ChunkSection;getBlockState(III)Lnet/minecraft/block/BlockState;
    • method_17093

      public FluidState method_17093(int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official b Lbnk;b(III)Lbyw;
      intermediary method_17093 Lnet/minecraft/class_1197;method_17093(III)Lnet/minecraft/class_4024;
      named method_17093 Lnet/minecraft/world/chunk/ChunkSection;method_17093(III)Lnet/minecraft/fluid/FluidState;
    • setBlockState

      public void setBlockState(int x, int y, int z, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnk;a(IIILblc;)V
      intermediary method_9171 Lnet/minecraft/class_1197;method_9171(IIILnet/minecraft/class_2232;)V
      named setBlockState Lnet/minecraft/world/chunk/ChunkSection;setBlockState(IIILnet/minecraft/block/BlockState;)V
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      official a Lbnk;a()Z
      intermediary method_3925 Lnet/minecraft/class_1197;method_3925()Z
      named isEmpty Lnet/minecraft/world/chunk/ChunkSection;isEmpty()Z
    • method_17092

      public boolean method_17092()
      Mappings:
      Namespace Name Mixin selector
      official b Lbnk;b()Z
      intermediary method_17092 Lnet/minecraft/class_1197;method_17092()Z
      named method_17092 Lnet/minecraft/world/chunk/ChunkSection;method_17092()Z
    • hasTickableBlocks

      public boolean hasTickableBlocks()
      Mappings:
      Namespace Name Mixin selector
      official c Lbnk;c()Z
      intermediary method_3930 Lnet/minecraft/class_1197;method_3930()Z
      named hasTickableBlocks Lnet/minecraft/world/chunk/ChunkSection;hasTickableBlocks()Z
    • method_17094

      public boolean method_17094()
      Mappings:
      Namespace Name Mixin selector
      official d Lbnk;d()Z
      intermediary method_17094 Lnet/minecraft/class_1197;method_17094()Z
      named method_17094 Lnet/minecraft/world/chunk/ChunkSection;method_17094()Z
    • getYOffset

      public int getYOffset()
      Mappings:
      Namespace Name Mixin selector
      official e Lbnk;e()I
      intermediary method_3937 Lnet/minecraft/class_1197;method_3937()I
      named getYOffset Lnet/minecraft/world/chunk/ChunkSection;getYOffset()I
    • setSkyLight

      public void setSkyLight(int x, int y, int z, int light)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnk;a(IIII)V
      intermediary method_3935 Lnet/minecraft/class_1197;method_3935(IIII)V
      named setSkyLight Lnet/minecraft/world/chunk/ChunkSection;setSkyLight(IIII)V
    • getSkyLight

      public int getSkyLight(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official c Lbnk;c(III)I
      intermediary method_3934 Lnet/minecraft/class_1197;method_3934(III)I
      named getSkyLight Lnet/minecraft/world/chunk/ChunkSection;getSkyLight(III)I
    • setBlockLight

      public void setBlockLight(int x, int y, int z, int light)
      Mappings:
      Namespace Name Mixin selector
      official b Lbnk;b(IIII)V
      intermediary method_3939 Lnet/minecraft/class_1197;method_3939(IIII)V
      named setBlockLight Lnet/minecraft/world/chunk/ChunkSection;setBlockLight(IIII)V
    • getBlockLight

      public int getBlockLight(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official d Lbnk;d(III)I
      intermediary method_3938 Lnet/minecraft/class_1197;method_3938(III)I
      named getBlockLight Lnet/minecraft/world/chunk/ChunkSection;getBlockLight(III)I
    • calculateCounts

      public void calculateCounts()
      Mappings:
      Namespace Name Mixin selector
      official f Lbnk;f()V
      intermediary method_3941 Lnet/minecraft/class_1197;method_3941()V
      named calculateCounts Lnet/minecraft/world/chunk/ChunkSection;calculateCounts()V
    • method_11774

      public class_2743<BlockState> method_11774()
      Mappings:
      Namespace Name Mixin selector
      official g Lbnk;g()Lbnq;
      intermediary method_11774 Lnet/minecraft/class_1197;method_11774()Lnet/minecraft/class_2743;
      named method_11774 Lnet/minecraft/world/chunk/ChunkSection;method_11774()Lnet/minecraft/class_2743;
    • getBlockLight

      public ChunkNibbleArray getBlockLight()
      Mappings:
      Namespace Name Mixin selector
      official h Lbnk;h()Lbne;
      intermediary method_3946 Lnet/minecraft/class_1197;method_3946()Lnet/minecraft/class_1194;
      named getBlockLight Lnet/minecraft/world/chunk/ChunkSection;getBlockLight()Lnet/minecraft/world/chunk/ChunkNibbleArray;
    • getSkyLight

      public ChunkNibbleArray getSkyLight()
      Mappings:
      Namespace Name Mixin selector
      official i Lbnk;i()Lbne;
      intermediary method_3947 Lnet/minecraft/class_1197;method_3947()Lnet/minecraft/class_1194;
      named getSkyLight Lnet/minecraft/world/chunk/ChunkSection;getSkyLight()Lnet/minecraft/world/chunk/ChunkNibbleArray;
    • setBlockLight

      public void setBlockLight(ChunkNibbleArray blockLight)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnk;a(Lbne;)V
      intermediary method_3936 Lnet/minecraft/class_1197;method_3936(Lnet/minecraft/class_1194;)V
      named setBlockLight Lnet/minecraft/world/chunk/ChunkSection;setBlockLight(Lnet/minecraft/world/chunk/ChunkNibbleArray;)V
    • setSkyLight

      public void setSkyLight(ChunkNibbleArray skyLight)
      Mappings:
      Namespace Name Mixin selector
      official b Lbnk;b(Lbne;)V
      intermediary method_3940 Lnet/minecraft/class_1197;method_3940(Lnet/minecraft/class_1194;)V
      named setSkyLight Lnet/minecraft/world/chunk/ChunkSection;setSkyLight(Lnet/minecraft/world/chunk/ChunkNibbleArray;)V