Class ChunkSection

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

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

    • yOffset

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

      private char[] blockStates
      Mappings:
      Namespace Name Mixin selector
      official d Lbfm;d:[C
      intermediary field_9955 Lnet/minecraft/class_1197;field_9955:[C
      named blockStates Lnet/minecraft/world/chunk/ChunkSection;blockStates:[C
    • blockLight

      private ChunkNibbleArray blockLight
      Mappings:
      Namespace Name Mixin selector
      official e Lbfm;e:Lbff;
      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 Lbfm;f:Lbff;
      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> Lbfm;<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 Lbfm;a(III)Lbec;
      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 Lbfm;a(IIILbec;)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
    • getBlock

      public Block getBlock(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Lbfm;b(III)Latr;
      intermediary method_6539 Lnet/minecraft/class_1197;method_6539(III)Lnet/minecraft/class_197;
      named getBlock Lnet/minecraft/world/chunk/ChunkSection;getBlock(III)Lnet/minecraft/block/Block;
    • getBlockData

      public int getBlockData(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official c Lbfm;c(III)I
      intermediary method_3931 Lnet/minecraft/class_1197;method_3931(III)I
      named getBlockData Lnet/minecraft/world/chunk/ChunkSection;getBlockData(III)I
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      official a Lbfm;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 Lbfm;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 Lbfm;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 Lbfm;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 d Lbfm;d(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 Lbfm;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 e Lbfm;e(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 Lbfm;e()V
      intermediary method_3941 Lnet/minecraft/class_1197;method_3941()V
      named calculateCounts Lnet/minecraft/world/chunk/ChunkSection;calculateCounts()V
    • getBlockStates

      public char[] getBlockStates()
      Mappings:
      Namespace Name Mixin selector
      official g Lbfm;g()[C
      intermediary method_3942 Lnet/minecraft/class_1197;method_3942()[C
      named getBlockStates Lnet/minecraft/world/chunk/ChunkSection;getBlockStates()[C
    • setBlockStates

      public void setBlockStates(char[] blockStates)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfm;a([C)V
      intermediary method_9172 Lnet/minecraft/class_1197;method_9172([C)V
      named setBlockStates Lnet/minecraft/world/chunk/ChunkSection;setBlockStates([C)V
    • getBlockLight

      public ChunkNibbleArray getBlockLight()
      Mappings:
      Namespace Name Mixin selector
      official h Lbfm;h()Lbff;
      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 Lbfm;i()Lbff;
      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 Lbfm;a(Lbff;)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 Lbfm;b(Lbff;)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