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 @Nullable LightSectionDebugRenderer.SectionDataprivate Instantprivate static final intprivate static final intprivate final LightLayerprivate final Minecraftprivate static final intprivate static final Duration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidemitGizmos(double p_454694_, double p_455000_, double p_456110_, DebugValueAccess p_455821_, Frustum p_454892_, float p_455573_) private static voidrenderEdge(int pX1, int pY1, int pZ1, int pX2, int pY2, int pZ2, int pColor) private static voidrenderEdges(DiscreteVoxelShape pShape, SectionPos pPos, int pColor) private static voidrenderFace(Direction pDirection, int pX, int pY, int pZ, int pColor) private static voidrenderFaces(DiscreteVoxelShape pShape, SectionPos pPos, int pColor)
-
Field Details
-
REFRESH_INTERVAL
-
RADIUS
private static final int RADIUS- See Also:
-
LIGHT_AND_BLOCKS_COLOR
private static final int LIGHT_AND_BLOCKS_COLOR -
LIGHT_ONLY_COLOR
private static final int LIGHT_ONLY_COLOR -
minecraft
-
lightLayer
-
lastUpdateTime
-
data
-
-
Constructor Details
-
LightSectionDebugRenderer
-
-
Method Details
-
emitGizmos
public void emitGizmos(double p_454694_, double p_455000_, double p_456110_, DebugValueAccess p_455821_, Frustum p_454892_, float p_455573_) - Specified by:
emitGizmosin interfaceDebugRenderer.SimpleDebugRenderer
-
renderFaces
-
renderEdges
-
renderFace
-
renderEdge
private static void renderEdge(int pX1, int pY1, int pZ1, int pX2, int pY2, int pZ2, int pColor)
-