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 poseStack, MultiBufferSource bufferSource, double camX, double camY, double camZ) private static void
renderEdge
(PoseStack poseStack, VertexConsumer buffer, double camX, double camY, double camZ, int x1, int y1, int z1, int x2, int y2, int z2, org.joml.Vector4f color) private static void
renderEdges
(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, MultiBufferSource bufferSource, double camX, double camY, double camZ, org.joml.Vector4f color) private static void
renderFace
(PoseStack poseStack, VertexConsumer buffer, Direction face, double camX, double camY, double camZ, int blockX, int blockY, int blockZ, org.joml.Vector4f color) private static void
renderFaces
(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, VertexConsumer buffer, double camX, double camY, double camZ, org.joml.Vector4f color) 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 poseStack, MultiBufferSource bufferSource, double camX, double camY, double camZ) - Specified by:
render
in interfaceDebugRenderer.SimpleDebugRenderer
-
renderFaces
private static void renderFaces(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, VertexConsumer buffer, double camX, double camY, double camZ, org.joml.Vector4f color) -
renderEdges
private static void renderEdges(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, MultiBufferSource bufferSource, double camX, double camY, double camZ, org.joml.Vector4f color) -
renderFace
private static void renderFace(PoseStack poseStack, VertexConsumer buffer, Direction face, double camX, double camY, double camZ, int blockX, int blockY, int blockZ, org.joml.Vector4f color) -
renderEdge
private static void renderEdge(PoseStack poseStack, VertexConsumer buffer, double camX, double camY, double camZ, int x1, int y1, int z1, int x2, int y2, int z2, org.joml.Vector4f color)
-