debug overlay improvements
This commit is contained in:
parent
6c34d24b8c
commit
f70f3ad450
2 changed files with 3 additions and 7 deletions
|
@ -2095,9 +2095,8 @@ public class Client implements IThreadListener {
|
|||
// "MS: " + (
|
||||
// this.connected != null ? this.connected : "[???]"))),
|
||||
this.renderer.getDebugInfoRenders() + "\n" +
|
||||
this.renderer.getDebugInfoEntities() + "\n" +
|
||||
"Partikel: " + this.effectRenderer.getParticleCount() + ", O: " + this.entities.size() + "\n" +
|
||||
"Chunk-Cache: " + this.chunkMapping.getNumHashElements() + "\n" +
|
||||
"Objekte: " + this.entities.size() + ", P: " + this.effectRenderer.getParticleCount() + ", C: " + this.chunkMapping.getNumHashElements() + ", " +
|
||||
this.renderer.getDebugInfoEntities() + "\n" +
|
||||
String.format("XYZ: %.3f / %.3f / %.3f", this.viewEntity.posX,
|
||||
this.viewEntity.getEntityBoundingBox().minY, this.viewEntity.posZ) + "\n" +
|
||||
String.format("Block: %d %d %d, R: '%s/%s'", pos.getX(), pos.getY(), pos.getZ(),
|
||||
|
|
|
@ -2306,12 +2306,9 @@ public class Renderer {
|
|||
/* this.gm.renderChunksMany ? "(s) " : "", */ this.renderDistanceChunks, this.renderDispatcher.getDebugInfo());
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the entities info for use on the Debug screen
|
||||
*/
|
||||
public String getDebugInfoEntities()
|
||||
{
|
||||
return "Objekte: " + this.countEntitiesRendered + "/" + this.countEntitiesTotal + ", V: " + this.countEntitiesHidden + ", I: " + (this.countEntitiesTotal - this.countEntitiesHidden - this.countEntitiesRendered);
|
||||
return "R: " + this.countEntitiesRendered + ", V: " + this.countEntitiesHidden + ", I: " + (this.countEntitiesTotal - this.countEntitiesHidden - this.countEntitiesRendered);
|
||||
}
|
||||
|
||||
private void setupTerrain(Entity viewEntity, double partialTicks, int frameCount, boolean playerSpectator)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue