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 Summary
Fields Modifier and Type Field Description private BitSet
closed
private static Direction[]
DIRECTIONS
private static int[]
EDGE_POINTS
private int
openCount
private static int
STEP_X
private static int
STEP_Y
private static int
STEP_Z
-
Constructor Summary
Constructors Constructor Description ChunkOcclusionDataBuilder()
-
Method Summary
Modifier and Type Method Description private void
addEdgeFaces(int pos, Set<Direction> openFaces)
ChunkOcclusionData
build()
private Set<Direction>
getOpenFaces(int pos)
void
markClosed(BlockPos pos)
private int
offset(int pos, Direction direction)
private static int
pack(int x, int y, int z)
private static int
pack(BlockPos pos)
-
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
-