Class ChunkSection

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

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

    • yOffset

      private int yOffset
      Mappings:
      Namespace Name Mixin selector
      official a Lasg;a: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 b Lasg;b: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 c Lasg;c:I
      intermediary field_4746 Lnet/minecraft/class_1197;field_4746:I
      named tickableBlockCount Lnet/minecraft/world/chunk/ChunkSection;tickableBlockCount:I
    • field_12914

      private class_2743 field_12914
      Mappings:
      Namespace Name Mixin selector
      official d Lasg;d:Lary;
      intermediary field_12914 Lnet/minecraft/class_1197;field_12914:Lnet/minecraft/class_2743;
      named field_12914 Lnet/minecraft/world/chunk/ChunkSection;field_12914:Lnet/minecraft/class_2743;
    • blockLight

      private ChunkNibbleArray blockLight
      Mappings:
      Namespace Name Mixin selector
      official e Lasg;e:Lasb;
      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 f Lasg;f:Lasb;
      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> Lasg;<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 Lasg;a(III)Lard;
      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;
    • setBlockState

      public void setBlockState(int x, int y, int z, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lasg;a(IIILard;)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 Lasg;a()Z
      intermediary method_3925 Lnet/minecraft/class_1197;method_3925()Z
      named isEmpty Lnet/minecraft/world/chunk/ChunkSection;isEmpty()Z
    • hasTickableBlocks

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

      public int getYOffset()
      Mappings:
      Namespace Name Mixin selector
      official d Lasg;d()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 Lasg;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 b Lasg;b(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 Lasg;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 c Lasg;c(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 e Lasg;e()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 method_11774()
      Mappings:
      Namespace Name Mixin selector
      official g Lasg;g()Lary;
      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 Lasg;h()Lasb;
      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 Lasg;i()Lasb;
      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 Lasg;a(Lasb;)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 Lasg;b(Lasb;)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