@Environment(value=CLIENT) public class GameTestDebugRenderer extends Object implements DebugRenderer.Renderer
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GameTestDebugRenderer.Marker |
Modifier and Type | Field and Description |
---|---|
private Map<BlockPos,GameTestDebugRenderer.Marker> |
markers |
Constructor and Description |
---|
GameTestDebugRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
addMarker(BlockPos pos,
int color,
String message,
int duration) |
void |
clear() |
private void |
method_23111(BlockPos blockPos,
GameTestDebugRenderer.Marker marker) |
void |
render(MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
double cameraX,
double cameraY,
double cameraZ) |
private final Map<BlockPos,GameTestDebugRenderer.Marker> markers
public void clear()
clear
in interface DebugRenderer.Renderer
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)
render
in interface DebugRenderer.Renderer
private void method_23111(BlockPos blockPos, GameTestDebugRenderer.Marker marker)