public class DebugRenderer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
DebugRenderer.IDebugRenderer |
Modifier and Type | Field and Description |
---|---|
DebugRenderer.IDebugRenderer |
chunkBorder |
private boolean |
chunkBorderEnabled |
DebugRenderer.IDebugRenderer |
collisionBox |
private boolean |
collisionBoxEnabled |
DebugRenderer.IDebugRenderer |
heightMap |
private boolean |
heightMapEnabled |
DebugRenderer.IDebugRenderer |
neighborsUpdate |
private boolean |
neighborsUpdateEnabled |
DebugRenderer.IDebugRenderer |
pathfinding |
private boolean |
pathfindingEnabled |
DebugRenderer.IDebugRenderer |
solidFace |
private boolean |
solidFaceEnabled |
DebugRenderer.IDebugRenderer |
water |
private boolean |
waterEnabled |
Constructor and Description |
---|
DebugRenderer(Minecraft clientIn) |
Modifier and Type | Method and Description |
---|---|
void |
renderDebug(float partialTicks,
long finishTimeNano) |
static void |
renderDebugText(java.lang.String str,
double x,
double y,
double z,
float partialTicks,
int color) |
static void |
renderDebugText(java.lang.String str,
int x,
int y,
int z,
float partialTicks,
int color) |
boolean |
shouldRender() |
boolean |
toggleChunkBorders() |
public final DebugRenderer.IDebugRenderer pathfinding
public final DebugRenderer.IDebugRenderer water
public final DebugRenderer.IDebugRenderer chunkBorder
public final DebugRenderer.IDebugRenderer heightMap
public final DebugRenderer.IDebugRenderer collisionBox
public final DebugRenderer.IDebugRenderer neighborsUpdate
public final DebugRenderer.IDebugRenderer solidFace
private boolean chunkBorderEnabled
private boolean pathfindingEnabled
private boolean waterEnabled
private boolean heightMapEnabled
private boolean collisionBoxEnabled
private boolean neighborsUpdateEnabled
private boolean solidFaceEnabled
public DebugRenderer(Minecraft clientIn)
public boolean shouldRender()
public boolean toggleChunkBorders()
public void renderDebug(float partialTicks, long finishTimeNano)
public static void renderDebugText(java.lang.String str, int x, int y, int z, float partialTicks, int color)
public static void renderDebugText(java.lang.String str, double x, double y, double z, float partialTicks, int color)