Class LightSectionDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.LightSectionDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate 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 camX, double camY, double camZ, DebugValueAccess debugValues, Frustum frustum, float partialTicks) private static voidrenderEdge(int sectionX0, int sectionY0, int sectionZ0, int sectionX1, int sectionY1, int sectionZ1, int color) private static voidrenderEdges(DiscreteVoxelShape shape, SectionPos minSection, int color) private static voidrenderFace(Direction direction, int sectionX, int sectionY, int sectionZ, int color) private static voidrenderFaces(DiscreteVoxelShape shape, SectionPos minSection, int color)
-
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 camX, double camY, double camZ, DebugValueAccess debugValues, Frustum frustum, float partialTicks) - Specified by:
emitGizmosin interfaceDebugRenderer.SimpleDebugRenderer
-
renderFaces
-
renderEdges
-
renderFace
private static void renderFace(Direction direction, int sectionX, int sectionY, int sectionZ, int color) -
renderEdge
private static void renderEdge(int sectionX0, int sectionY0, int sectionZ0, int sectionX1, int sectionY1, int sectionZ1, int color)
-