Class ChunkSection.BlockStateCounter

java.lang.Object
net.minecraft.world.chunk.ChunkSection.BlockStateCounter
All Implemented Interfaces:
PalettedContainer.Counter<BlockState>
Enclosing class:
ChunkSection

class ChunkSection.BlockStateCounter extends Object implements PalettedContainer.Counter<BlockState>
Mappings:
Namespace Name
official cxu$a
intermediary net/minecraft/class_2826$class_6869
named net/minecraft/world/chunk/ChunkSection$BlockStateCounter
  • Field Details

    • nonEmptyBlockCount

      public int nonEmptyBlockCount
      Mappings:
      Namespace Name Mixin selector
      official a Lcxu$a;a:I
      intermediary field_36408 Lnet/minecraft/class_2826$class_6869;field_36408:I
      named nonEmptyBlockCount Lnet/minecraft/world/chunk/ChunkSection$BlockStateCounter;nonEmptyBlockCount:I
    • randomTickableBlockCount

      public int randomTickableBlockCount
      Mappings:
      Namespace Name Mixin selector
      official b Lcxu$a;b:I
      intermediary field_36409 Lnet/minecraft/class_2826$class_6869;field_36409:I
      named randomTickableBlockCount Lnet/minecraft/world/chunk/ChunkSection$BlockStateCounter;randomTickableBlockCount:I
    • nonEmptyFluidCount

      public int nonEmptyFluidCount
      Mappings:
      Namespace Name Mixin selector
      official c Lcxu$a;c:I
      intermediary field_36410 Lnet/minecraft/class_2826$class_6869;field_36410:I
      named nonEmptyFluidCount Lnet/minecraft/world/chunk/ChunkSection$BlockStateCounter;nonEmptyFluidCount:I
  • Constructor Details

    • BlockStateCounter

      BlockStateCounter()
  • Method Details

    • accept

      public void accept(BlockState blockState, int int2)
      Specified by:
      accept in interface PalettedContainer.Counter<BlockState>
      Parameters:
      blockState - the palette entry
      int2 - the entry's number of occurrence
      Mappings:
      Namespace Name Mixin selector
      official a Lcxu$a;a(Lcvo;I)V
      intermediary method_40155 Lnet/minecraft/class_2826$class_6869;method_40155(Lnet/minecraft/class_2680;I)V
      named accept Lnet/minecraft/world/chunk/ChunkSection$BlockStateCounter;accept(Lnet/minecraft/block/BlockState;I)V