Class ChunkOcclusionDataBuilder

java.lang.Object
net.minecraft.client.render.chunk.ChunkOcclusionDataBuilder

@Environment(CLIENT)
public class ChunkOcclusionDataBuilder
extends Object
Mappings:
Namespace Name
official eki
intermediary net/minecraft/class_852
named net/minecraft/client/render/chunk/ChunkOcclusionDataBuilder
  • Field Details

    • STEP_X

      private static final int STEP_X
      Mappings:
      Namespace Name Mixin selector
      official a Leki;a:I
      intermediary field_4477 Lnet/minecraft/class_852;field_4477:I
      named STEP_X Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;STEP_X:I
    • STEP_Z

      private static final int STEP_Z
      Mappings:
      Namespace Name Mixin selector
      official b Leki;b:I
      intermediary field_4476 Lnet/minecraft/class_852;field_4476:I
      named STEP_Z Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;STEP_Z:I
    • STEP_Y

      private static final int STEP_Y
      Mappings:
      Namespace Name Mixin selector
      official c Leki;c:I
      intermediary field_4475 Lnet/minecraft/class_852;field_4475:I
      named STEP_Y Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;STEP_Y:I
    • DIRECTIONS

      private static final Direction[] DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      official d Leki;d:[Lgc;
      intermediary field_4479 Lnet/minecraft/class_852;field_4479:[Lnet/minecraft/class_2350;
      named DIRECTIONS Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
    • EDGE_POINTS

      private static final int[] EDGE_POINTS
      Mappings:
      Namespace Name Mixin selector
      official f Leki;f:[I
      intermediary field_4474 Lnet/minecraft/class_852;field_4474:[I
      named EDGE_POINTS Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;EDGE_POINTS:[I
    • closed

      private final BitSet closed
      Mappings:
      Namespace Name Mixin selector
      official e Leki;e:Ljava/util/BitSet;
      intermediary field_4478 Lnet/minecraft/class_852;field_4478:Ljava/util/BitSet;
      named closed Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;closed:Ljava/util/BitSet;
    • openCount

      private int openCount
      Mappings:
      Namespace Name Mixin selector
      official g Leki;g:I
      intermediary field_4473 Lnet/minecraft/class_852;field_4473:I
      named openCount Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;openCount:I
  • Constructor Details

    • ChunkOcclusionDataBuilder

      public ChunkOcclusionDataBuilder()
  • Method Details

    • markClosed

      public void markClosed​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Leki;a(Lfx;)V
      intermediary method_3682 Lnet/minecraft/class_852;method_3682(Lnet/minecraft/class_2338;)V
      named markClosed Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;markClosed(Lnet/minecraft/util/math/BlockPos;)V
    • pack

      private static int pack​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Leki;b(Lfx;)I
      intermediary method_3683 Lnet/minecraft/class_852;method_3683(Lnet/minecraft/class_2338;)I
      named pack Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;pack(Lnet/minecraft/util/math/BlockPos;)I
    • pack

      private static int pack​(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Leki;a(III)I
      intermediary method_3681 Lnet/minecraft/class_852;method_3681(III)I
      named pack Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;pack(III)I
    • build

      public ChunkOcclusionData build()
      Mappings:
      Namespace Name Mixin selector
      official a Leki;a()Lekj;
      intermediary method_3679 Lnet/minecraft/class_852;method_3679()Lnet/minecraft/class_854;
      named build Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;build()Lnet/minecraft/client/render/chunk/ChunkOcclusionData;
    • getOpenFaces

      private Set<Direction> getOpenFaces​(int pos)
      Mappings:
      Namespace Name Mixin selector
      official a Leki;a(I)Ljava/util/Set;
      intermediary method_3687 Lnet/minecraft/class_852;method_3687(I)Ljava/util/Set;
      named getOpenFaces Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;getOpenFaces(I)Ljava/util/Set;
    • addEdgeFaces

      private void addEdgeFaces​(int pos, Set<Direction> openFaces)
      Mappings:
      Namespace Name Mixin selector
      official a Leki;a(ILjava/util/Set;)V
      intermediary method_3684 Lnet/minecraft/class_852;method_3684(ILjava/util/Set;)V
      named addEdgeFaces Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;addEdgeFaces(ILjava/util/Set;)V
    • offset

      private int offset​(int pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Leki;a(ILgc;)I
      intermediary method_3685 Lnet/minecraft/class_852;method_3685(ILnet/minecraft/class_2350;)I
      named offset Lnet/minecraft/client/render/chunk/ChunkOcclusionDataBuilder;offset(ILnet/minecraft/util/math/Direction;)I