@Environment(value=CLIENT) public class CollisionDebugRenderer extends Object implements DebugRenderer.Renderer
Modifier and Type | Field and Description |
---|---|
private MinecraftClient |
client |
private List<VoxelShape> |
collisions |
private double |
lastUpdateTime |
Constructor and Description |
---|
CollisionDebugRenderer(MinecraftClient client) |
Modifier and Type | Method and Description |
---|---|
void |
render(MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
double cameraX,
double cameraY,
double cameraZ) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear
private final MinecraftClient client
private double lastUpdateTime
private List<VoxelShape> collisions
public CollisionDebugRenderer(MinecraftClient client)
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)
render
in interface DebugRenderer.Renderer