Package net.minecraft.client.render
Class ChunkRenderingDataPreparer
java.lang.Object
net.minecraft.client.render.ChunkRenderingDataPreparer
- Mappings:
Namespace Name named net/minecraft/client/render/ChunkRenderingDataPreparer
intermediary net/minecraft/class_8679
official glz
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
private static class
private static final record
private static final record
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate @Nullable BuiltChunkStorage
private static final double
private static final Direction[]
private final AtomicReference
<ChunkRenderingDataPreparer.Events> private static final int
private final AtomicBoolean
private static final Logger
private final AtomicReference
<ChunkRenderingDataPreparer.PreparerState> private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addNeighbors
(ChunkRenderingDataPreparer.Events events, ChunkPos chunkPos) void
addNeighbors
(ChunkPos chunkPos) void
collectChunks
(Frustum frustum, List<ChunkBuilder.BuiltChunk> builtChunks, List<ChunkBuilder.BuiltChunk> nearbyChunks) getInfo
(ChunkBuilder.BuiltChunk chunk) private ChunkBuilder.BuiltChunk
getRenderedChunk
(long sectionPos, ChunkBuilder.BuiltChunk chunk, Direction direction) private boolean
isWithinViewDistance
(long centerSectionPos, long otherSectionPos) private void
method_52821
(Camera camera, Queue<ChunkRenderingDataPreparer.ChunkInfo> queue) private void
method_52823
(ChunkRenderingDataPreparer.PreparerState preparerState) private void
method_52825
(ChunkRenderingDataPreparer.RenderableChunks renderableChunks, Vec3d pos, Queue<ChunkRenderingDataPreparer.ChunkInfo> queue, boolean cullChunks, Consumer<ChunkBuilder.BuiltChunk> consumer, LongOpenHashSet longOpenHashSet) private void
method_52835
(boolean bool, Frustum frustum, List<ChunkBuilder.BuiltChunk> builtChunks, Vec3d cameraPos, LongOpenHashSet activeSections) boolean
void
schedulePropagationFrom
(ChunkBuilder.BuiltChunk builtChunk) void
void
setStorage
(@Nullable BuiltChunkStorage storage) void
updateSectionOcclusionGraph
(boolean cullChunks, Camera camera, Frustum frustum, List<ChunkBuilder.BuiltChunk> builtChunk, LongOpenHashSet activeSections) private void
updateTerrain
(boolean cullChunks, Camera camera, Vec3d cameraPos, LongOpenHashSet activeSections)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;LOGGER:Lorg/slf4j/Logger;
intermediary field_45617
Lnet/minecraft/class_8679;field_45617:Lorg/slf4j/Logger;
official a
Lglz;a:Lorg/slf4j/Logger;
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector named DIRECTIONS
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
intermediary field_45618
Lnet/minecraft/class_8679;field_45618:[Lnet/minecraft/class_2350;
official b
Lglz;b:[Ljm;
-
field_45619
private static final int field_45619- See Also:
- Mappings:
Namespace Name Mixin selector named field_45619
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;field_45619:I
intermediary field_45619
Lnet/minecraft/class_8679;field_45619:I
official c
Lglz;c:I
-
CHUNK_INNER_DIAGONAL_LENGTH
private static final double CHUNK_INNER_DIAGONAL_LENGTH- Mappings:
Namespace Name Mixin selector named CHUNK_INNER_DIAGONAL_LENGTH
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;CHUNK_INNER_DIAGONAL_LENGTH:D
intermediary field_45620
Lnet/minecraft/class_8679;field_45620:D
official d
Lglz;d:D
-
terrainUpdateScheduled
private boolean terrainUpdateScheduled- Mappings:
Namespace Name Mixin selector named terrainUpdateScheduled
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;terrainUpdateScheduled:Z
intermediary field_45621
Lnet/minecraft/class_8679;field_45621:Z
official e
Lglz;e:Z
-
terrainUpdateFuture
- Mappings:
Namespace Name Mixin selector named terrainUpdateFuture
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;terrainUpdateFuture:Ljava/util/concurrent/Future;
intermediary field_45622
Lnet/minecraft/class_8679;field_45622:Ljava/util/concurrent/Future;
official f
Lglz;f:Ljava/util/concurrent/Future;
-
builtChunkStorage
- Mappings:
Namespace Name Mixin selector named builtChunkStorage
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;builtChunkStorage:Lnet/minecraft/client/render/BuiltChunkStorage;
intermediary field_45623
Lnet/minecraft/class_8679;field_45623:Lnet/minecraft/class_769;
official g
Lglz;g:Lgmi;
-
state
- Mappings:
Namespace Name Mixin selector named state
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;state:Ljava/util/concurrent/atomic/AtomicReference;
intermediary field_45624
Lnet/minecraft/class_8679;field_45624:Ljava/util/concurrent/atomic/AtomicReference;
official h
Lglz;h:Ljava/util/concurrent/atomic/AtomicReference;
-
events
- Mappings:
Namespace Name Mixin selector named events
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;events:Ljava/util/concurrent/atomic/AtomicReference;
intermediary field_45625
Lnet/minecraft/class_8679;field_45625:Ljava/util/concurrent/atomic/AtomicReference;
official i
Lglz;i:Ljava/util/concurrent/atomic/AtomicReference;
-
field_45626
- Mappings:
Namespace Name Mixin selector named field_45626
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;field_45626:Ljava/util/concurrent/atomic/AtomicBoolean;
intermediary field_45626
Lnet/minecraft/class_8679;field_45626:Ljava/util/concurrent/atomic/AtomicBoolean;
official j
Lglz;j:Ljava/util/concurrent/atomic/AtomicBoolean;
-
-
Constructor Details
-
ChunkRenderingDataPreparer
public ChunkRenderingDataPreparer()
-
-
Method Details
-
setStorage
- Mappings:
Namespace Name Mixin selector named setStorage
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;setStorage(Lnet/minecraft/client/render/BuiltChunkStorage;)V
intermediary method_52826
Lnet/minecraft/class_8679;method_52826(Lnet/minecraft/class_769;)V
official a
Lglz;a(Lgmi;)V
-
scheduleTerrainUpdate
public void scheduleTerrainUpdate()- Mappings:
Namespace Name Mixin selector named scheduleTerrainUpdate
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;scheduleTerrainUpdate()V
intermediary method_52817
Lnet/minecraft/class_8679;method_52817()V
official a
Lglz;a()V
-
collectChunks
public void collectChunks(Frustum frustum, List<ChunkBuilder.BuiltChunk> builtChunks, List<ChunkBuilder.BuiltChunk> nearbyChunks) - Mappings:
Namespace Name Mixin selector named collectChunks
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;collectChunks(Lnet/minecraft/client/render/Frustum;Ljava/util/List;Ljava/util/List;)V
intermediary method_52828
Lnet/minecraft/class_8679;method_52828(Lnet/minecraft/class_4604;Ljava/util/List;Ljava/util/List;)V
official a
Lglz;a(Lgpb;Ljava/util/List;Ljava/util/List;)V
-
method_52836
public boolean method_52836()- Mappings:
Namespace Name Mixin selector named method_52836
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;method_52836()Z
intermediary method_52836
Lnet/minecraft/class_8679;method_52836()Z
official b
Lglz;b()Z
-
addNeighbors
- Mappings:
Namespace Name Mixin selector named addNeighbors
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;addNeighbors(Lnet/minecraft/util/math/ChunkPos;)V
intermediary method_52819
Lnet/minecraft/class_8679;method_52819(Lnet/minecraft/class_1923;)V
official a
Lglz;a(Ldgn;)V
-
schedulePropagationFrom
- Mappings:
Namespace Name Mixin selector named schedulePropagationFrom
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;schedulePropagationFrom(Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;)V
intermediary method_52827
Lnet/minecraft/class_8679;method_52827(Lnet/minecraft/class_846$class_851;)V
official a
Lglz;a(Lgox$b;)V
-
updateSectionOcclusionGraph
public void updateSectionOcclusionGraph(boolean cullChunks, Camera camera, Frustum frustum, List<ChunkBuilder.BuiltChunk> builtChunk, LongOpenHashSet activeSections) - Mappings:
Namespace Name Mixin selector named updateSectionOcclusionGraph
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;updateSectionOcclusionGraph(ZLnet/minecraft/client/render/Camera;Lnet/minecraft/client/render/Frustum;Ljava/util/List;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
intermediary method_52834
Lnet/minecraft/class_8679;method_52834(ZLnet/minecraft/class_4184;Lnet/minecraft/class_4604;Ljava/util/List;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
official a
Lglz;a(ZLflo;Lgpb;Ljava/util/List;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
-
updateTerrain
private void updateTerrain(boolean cullChunks, Camera camera, Vec3d cameraPos, LongOpenHashSet activeSections) - Mappings:
Namespace Name Mixin selector named updateTerrain
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;updateTerrain(ZLnet/minecraft/client/render/Camera;Lnet/minecraft/util/math/Vec3d;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
intermediary method_52833
Lnet/minecraft/class_8679;method_52833(ZLnet/minecraft/class_4184;Lnet/minecraft/class_243;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
official a
Lglz;a(ZLflo;Lfbx;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
-
method_52835
private void method_52835(boolean bool, Frustum frustum, List<ChunkBuilder.BuiltChunk> builtChunks, Vec3d cameraPos, LongOpenHashSet activeSections) - Mappings:
Namespace Name Mixin selector named method_52835
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;method_52835(ZLnet/minecraft/client/render/Frustum;Ljava/util/List;Lnet/minecraft/util/math/Vec3d;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
intermediary method_52835
Lnet/minecraft/class_8679;method_52835(ZLnet/minecraft/class_4604;Ljava/util/List;Lnet/minecraft/class_243;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
official a
Lglz;a(ZLgpb;Ljava/util/List;Lfbx;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
-
method_52823
- Mappings:
Namespace Name Mixin selector named method_52823
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;method_52823(Lnet/minecraft/client/render/ChunkRenderingDataPreparer$PreparerState;)V
intermediary method_52823
Lnet/minecraft/class_8679;method_52823(Lnet/minecraft/class_8679$class_8681;)V
official a
Lglz;a(Lglz$b;)V
-
addNeighbors
- Mappings:
Namespace Name Mixin selector named addNeighbors
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;addNeighbors(Lnet/minecraft/client/render/ChunkRenderingDataPreparer$Events;Lnet/minecraft/util/math/ChunkPos;)V
intermediary method_52822
Lnet/minecraft/class_8679;method_52822(Lnet/minecraft/class_8679$class_8680;Lnet/minecraft/class_1923;)V
official a
Lglz;a(Lglz$a;Ldgn;)V
-
method_52821
- Mappings:
Namespace Name Mixin selector named method_52821
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;method_52821(Lnet/minecraft/client/render/Camera;Ljava/util/Queue;)V
intermediary method_52821
Lnet/minecraft/class_8679;method_52821(Lnet/minecraft/class_4184;Ljava/util/Queue;)V
official a
Lglz;a(Lflo;Ljava/util/Queue;)V
-
method_52825
private void method_52825(ChunkRenderingDataPreparer.RenderableChunks renderableChunks, Vec3d pos, Queue<ChunkRenderingDataPreparer.ChunkInfo> queue, boolean cullChunks, Consumer<ChunkBuilder.BuiltChunk> consumer, LongOpenHashSet longOpenHashSet) - Mappings:
Namespace Name Mixin selector named method_52825
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;method_52825(Lnet/minecraft/client/render/ChunkRenderingDataPreparer$RenderableChunks;Lnet/minecraft/util/math/Vec3d;Ljava/util/Queue;ZLjava/util/function/Consumer;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
intermediary method_52825
Lnet/minecraft/class_8679;method_52825(Lnet/minecraft/class_8679$class_6600;Lnet/minecraft/class_243;Ljava/util/Queue;ZLjava/util/function/Consumer;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
official a
Lglz;a(Lglz$c;Lfbx;Ljava/util/Queue;ZLjava/util/function/Consumer;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V
-
isWithinViewDistance
private boolean isWithinViewDistance(long centerSectionPos, long otherSectionPos) - Mappings:
Namespace Name Mixin selector named isWithinViewDistance
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;isWithinViewDistance(JJ)Z
intermediary method_52832
Lnet/minecraft/class_8679;method_52832(JJ)Z
official a
Lglz;a(JJ)Z
-
getRenderedChunk
@Nullable private ChunkBuilder.BuiltChunk getRenderedChunk(long sectionPos, ChunkBuilder.BuiltChunk chunk, Direction direction) - Mappings:
Namespace Name Mixin selector named getRenderedChunk
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;getRenderedChunk(JLnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;
intermediary method_52831
Lnet/minecraft/class_8679;method_52831(JLnet/minecraft/class_846$class_851;Lnet/minecraft/class_2350;)Lnet/minecraft/class_846$class_851;
official a
Lglz;a(JLgox$b;Ljm;)Lgox$b;
-
getInfo
@Nullable public @Nullable ChunkRenderingDataPreparer.ChunkInfo getInfo(ChunkBuilder.BuiltChunk chunk) - Mappings:
Namespace Name Mixin selector named getInfo
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;getInfo(Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;)Lnet/minecraft/client/render/ChunkRenderingDataPreparer$ChunkInfo;
intermediary method_52837
Lnet/minecraft/class_8679;method_52837(Lnet/minecraft/class_846$class_851;)Lnet/minecraft/class_8679$class_762;
official b
Lglz;b(Lgox$b;)Lglz$d;
-
getOctree
- Mappings:
Namespace Name Mixin selector named getOctree
Lnet/minecraft/client/render/ChunkRenderingDataPreparer;getOctree()Lnet/minecraft/client/render/chunk/Octree;
intermediary method_62925
Lnet/minecraft/class_8679;method_62925()Lnet/minecraft/class_10143;
official c
Lglz;c()Lgll;
-