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 poseStack, MultiBufferSource bufferSource, double camX, double camY, double camZ) private static voidrenderEdge(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 voidrenderEdges(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, MultiBufferSource bufferSource, double camX, double camY, double camZ, org.joml.Vector4f color) private static voidrenderFace(PoseStack poseStack, VertexConsumer buffer, Direction face, double camX, double camY, double camZ, int blockX, int blockY, int blockZ, org.joml.Vector4f color) private static voidrenderFaces(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, 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 poseStack, MultiBufferSource bufferSource, double camX, double camY, double camZ) - Specified by:
renderin 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)
-