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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(PoseStack p_281418_, MultiBufferSource p_282487_, double p_282164_, double p_282565_, double p_281615_, DebugValueAccess p_449779_, Frustum p_451345_) 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, Vector4f pColor) private static voidrenderEdges(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ, Vector4f pColor) private static voidrenderFace(PoseStack pPoseStack, VertexConsumer pBuffer, Direction pFace, double pCamX, double pCamY, double pCamZ, int pBlockX, int pBlockY, int pBlockZ, Vector4f pColor) private static voidrenderFaces(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, VertexConsumer pBuffer, double pCamX, double pCamY, double pCamZ, Vector4f pColor)
-
Field Details
-
REFRESH_INTERVAL
-
RADIUS
private static final int RADIUS- See Also:
-
LIGHT_AND_BLOCKS_COLOR
-
LIGHT_ONLY_COLOR
-
minecraft
-
lightLayer
-
lastUpdateTime
-
data
-
-
Constructor Details
-
LightSectionDebugRenderer
-
-
Method Details
-
render
public void render(PoseStack p_281418_, MultiBufferSource p_282487_, double p_282164_, double p_282565_, double p_281615_, DebugValueAccess p_449779_, Frustum p_451345_) - Specified by:
renderin interfaceDebugRenderer.SimpleDebugRenderer
-
renderFaces
private static void renderFaces(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, VertexConsumer pBuffer, double pCamX, double pCamY, double pCamZ, Vector4f pColor) -
renderEdges
private static void renderEdges(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ, 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, 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, Vector4f pColor)
-