Class LightDebugRenderer
java.lang.Object
net.minecraft.client.render.debug.LightDebugRenderer
- All Implemented Interfaces:
DebugRenderer.Renderer
@Environment(CLIENT)
public class LightDebugRenderer
extends Object
implements DebugRenderer.Renderer
- Mappings:
Namespace Name official fqvintermediary net/minecraft/class_8520named net/minecraft/client/render/debug/LightDebugRenderer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate @Nullable LightDebugRenderer.Dataprivate static final Vector4fprivate final LightTypeprivate Instantprivate static final intprivate static final Vector4fprivate static final Duration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voiddrawEdge(MatrixStack matrices, VertexConsumer vertexConsumer, double cameraX, double cameraY, double cameraZ, int x1, int y1, int z1, int x2, int y2, int z, Vector4f color) private static voiddrawEdges(MatrixStack matrices, VoxelSet shape, ChunkSectionPos sectionPos, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, Vector4f color) private static voiddrawFace(MatrixStack matrices, VertexConsumer vertexConsumer, Direction direction, double cameraX, double cameraY, double cameraZ, int x, int y, int z, Vector4f color) private static voiddrawFaces(MatrixStack matrices, VoxelSet shape, ChunkSectionPos sectionPos, VertexConsumer vertexConsumer, double cameraX, double cameraY, double cameraZ, Vector4f color) voidrender(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.render.debug.DebugRenderer.Renderer
clear
-
Field Details
-
UPDATE_INTERVAL
- Mappings:
Namespace Name Mixin selector official aLfqv;a:Ljava/time/Duration;intermediary field_44675Lnet/minecraft/class_8520;field_44675:Ljava/time/Duration;named UPDATE_INTERVALLnet/minecraft/client/render/debug/LightDebugRenderer;UPDATE_INTERVAL:Ljava/time/Duration;
-
RADIUS
private static final int RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector official bLfqv;b:Iintermediary field_44676Lnet/minecraft/class_8520;field_44676:Inamed RADIUSLnet/minecraft/client/render/debug/LightDebugRenderer;RADIUS:I
-
READY_SHAPE_COLOR
- Mappings:
Namespace Name Mixin selector official cLfqv;c:Lorg/joml/Vector4f;intermediary field_44677Lnet/minecraft/class_8520;field_44677:Lorg/joml/Vector4f;named READY_SHAPE_COLORLnet/minecraft/client/render/debug/LightDebugRenderer;READY_SHAPE_COLOR:Lorg/joml/Vector4f;
-
DEFAULT_SHAPE_COLOR
- Mappings:
Namespace Name Mixin selector official dLfqv;d:Lorg/joml/Vector4f;intermediary field_44678Lnet/minecraft/class_8520;field_44678:Lorg/joml/Vector4f;named DEFAULT_SHAPE_COLORLnet/minecraft/client/render/debug/LightDebugRenderer;DEFAULT_SHAPE_COLOR:Lorg/joml/Vector4f;
-
client
- Mappings:
Namespace Name Mixin selector official eLfqv;e:Leqn;intermediary field_44679Lnet/minecraft/class_8520;field_44679:Lnet/minecraft/class_310;named clientLnet/minecraft/client/render/debug/LightDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
-
lightType
- Mappings:
Namespace Name Mixin selector official fLfqv;f:Lcpt;intermediary field_44680Lnet/minecraft/class_8520;field_44680:Lnet/minecraft/class_1944;named lightTypeLnet/minecraft/client/render/debug/LightDebugRenderer;lightType:Lnet/minecraft/world/LightType;
-
prevUpdateTime
- Mappings:
Namespace Name Mixin selector official gLfqv;g:Ljava/time/Instant;intermediary field_44681Lnet/minecraft/class_8520;field_44681:Ljava/time/Instant;named prevUpdateTimeLnet/minecraft/client/render/debug/LightDebugRenderer;prevUpdateTime:Ljava/time/Instant;
-
data
- Mappings:
Namespace Name Mixin selector official hLfqv;h:Lfqv$a;intermediary field_44682Lnet/minecraft/class_8520;field_44682:Lnet/minecraft/class_8520$class_8521;named dataLnet/minecraft/client/render/debug/LightDebugRenderer;data:Lnet/minecraft/client/render/debug/LightDebugRenderer$Data;
-
-
Constructor Details
-
LightDebugRenderer
- Mappings:
Namespace Name Mixin selector official <init>Lfqv;<init>(Leqn;Lcpt;)Vintermediary <init>Lnet/minecraft/class_8520;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_1944;)Vnamed <init>Lnet/minecraft/client/render/debug/LightDebugRenderer;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/world/LightType;)V
-
-
Method Details
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ) - Specified by:
renderin interfaceDebugRenderer.Renderer- Mappings:
Namespace Name Mixin selector official aLfqp$a;a(Lelh;Lfng;DDD)Vintermediary method_23109Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)Vnamed renderLnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDD)V
-
drawFaces
private static void drawFaces(MatrixStack matrices, VoxelSet shape, ChunkSectionPos sectionPos, VertexConsumer vertexConsumer, double cameraX, double cameraY, double cameraZ, Vector4f color) - Mappings:
Namespace Name Mixin selector official aLfqv;a(Lelh;Leho;Lhy;Lell;DDDLorg/joml/Vector4f;)Vintermediary method_51457Lnet/minecraft/class_8520;method_51457(Lnet/minecraft/class_4587;Lnet/minecraft/class_251;Lnet/minecraft/class_4076;Lnet/minecraft/class_4588;DDDLorg/joml/Vector4f;)Vnamed drawFacesLnet/minecraft/client/render/debug/LightDebugRenderer;drawFaces(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/client/render/VertexConsumer;DDDLorg/joml/Vector4f;)V
-
drawEdges
private static void drawEdges(MatrixStack matrices, VoxelSet shape, ChunkSectionPos sectionPos, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, Vector4f color) - Mappings:
Namespace Name Mixin selector official aLfqv;a(Lelh;Leho;Lhy;Lfng;DDDLorg/joml/Vector4f;)Vintermediary method_51458Lnet/minecraft/class_8520;method_51458(Lnet/minecraft/class_4587;Lnet/minecraft/class_251;Lnet/minecraft/class_4076;Lnet/minecraft/class_4597;DDDLorg/joml/Vector4f;)Vnamed drawEdgesLnet/minecraft/client/render/debug/LightDebugRenderer;drawEdges(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/client/render/VertexConsumerProvider;DDDLorg/joml/Vector4f;)V
-
drawFace
private static void drawFace(MatrixStack matrices, VertexConsumer vertexConsumer, Direction direction, double cameraX, double cameraY, double cameraZ, int x, int y, int z, Vector4f color) - Mappings:
Namespace Name Mixin selector official aLfqv;a(Lelh;Lell;Lhb;DDDIIILorg/joml/Vector4f;)Vintermediary method_51460Lnet/minecraft/class_8520;method_51460(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_2350;DDDIIILorg/joml/Vector4f;)Vnamed drawFaceLnet/minecraft/client/render/debug/LightDebugRenderer;drawFace(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/util/math/Direction;DDDIIILorg/joml/Vector4f;)V
-
drawEdge
private static void drawEdge(MatrixStack matrices, VertexConsumer vertexConsumer, double cameraX, double cameraY, double cameraZ, int x1, int y1, int z1, int x2, int y2, int z, Vector4f color) - Mappings:
Namespace Name Mixin selector official aLfqv;a(Lelh;Lell;DDDIIIIIILorg/joml/Vector4f;)Vintermediary method_51459Lnet/minecraft/class_8520;method_51459(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;DDDIIIIIILorg/joml/Vector4f;)Vnamed drawEdgeLnet/minecraft/client/render/debug/LightDebugRenderer;drawEdge(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;DDDIIIIIILorg/joml/Vector4f;)V
-