Class LightSectionDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.LightSectionDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Instant
private static final org.joml.Vector4f
private static final org.joml.Vector4f
private final LightLayer
private final Minecraft
private static final int
private static final Duration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) private static void
renderEdge
(PoseStack pPoseStack, VertexConsumer pBuffer, double pCamX, double pCamY, double pCamZ, int pX1, int pY1, int pZ1, int pX2, int pY2, int pZ2, org.joml.Vector4f pColor) private static void
renderEdges
(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ, org.joml.Vector4f pColor) private static void
renderFace
(PoseStack pPoseStack, VertexConsumer pBuffer, Direction pFace, double pCamX, double pCamY, double pCamZ, int pBlockX, int pBlockY, int pBlockZ, org.joml.Vector4f pColor) private static void
renderFaces
(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, VertexConsumer pBuffer, double pCamX, double pCamY, double pCamZ, org.joml.Vector4f pColor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.renderer.debug.DebugRenderer.SimpleDebugRenderer
clear
-
Field Details
-
REFRESH_INTERVAL
-
RADIUS
private static final int RADIUS- See Also:
-
LIGHT_AND_BLOCKS_COLOR
private static final org.joml.Vector4f LIGHT_AND_BLOCKS_COLOR -
LIGHT_ONLY_COLOR
private static final org.joml.Vector4f LIGHT_ONLY_COLOR -
minecraft
-
lightLayer
-
lastUpdateTime
-
data
-
-
Constructor Details
-
LightSectionDebugRenderer
-
-
Method Details
-
render
public void render(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) - Specified by:
render
in interfaceDebugRenderer.SimpleDebugRenderer
-
renderFaces
private static void renderFaces(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, VertexConsumer pBuffer, double pCamX, double pCamY, double pCamZ, org.joml.Vector4f pColor) -
renderEdges
private static void renderEdges(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ, org.joml.Vector4f pColor) -
renderFace
private static void renderFace(PoseStack pPoseStack, VertexConsumer pBuffer, Direction pFace, double pCamX, double pCamY, double pCamZ, int pBlockX, int pBlockY, int pBlockZ, org.joml.Vector4f pColor) -
renderEdge
private static void renderEdge(PoseStack pPoseStack, VertexConsumer pBuffer, double pCamX, double pCamY, double pCamZ, int pX1, int pY1, int pZ1, int pX2, int pY2, int pZ2, org.joml.Vector4f pColor)
-