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 Instantprivate static final org.joml.Vector4fprivate static final org.joml.Vector4fprivate final LightLayerprivate final Minecraftprivate static final intprivate static final Duration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) private static voidrenderEdge(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 voidrenderEdges(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ, org.joml.Vector4f pColor) private static voidrenderFace(PoseStack pPoseStack, VertexConsumer pBuffer, Direction pFace, double pCamX, double pCamY, double pCamZ, int pBlockX, int pBlockY, int pBlockZ, org.joml.Vector4f pColor) private static voidrenderFaces(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, waitMethods 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:
renderin 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)
-