/**
* Gets the render info for use on the Debug screen
*/
public String getDebugInfoRenders()
{
int i = this.viewFrustum.renderChunks.length;
int j = 0;
for (Object renderglobal$containerlocalrenderinformation0 : this.renderInfos)
{
RenderGlobal.ContainerLocalRenderInformation renderglobal$containerlocalrenderinformation = (RenderGlobal.ContainerLocalRenderInformation) renderglobal$containerlocalrenderinformation0;
CompiledChunk compiledchunk = renderglobal$containerlocalrenderinformation.renderChunk.compiledChunk;
if (compiledchunk != CompiledChunk.DUMMY && !compiledchunk.isEmpty())
{
++j;
}
}
return String.format("C: %d/%d %sD: %d, %s", new Object[] {Integer.valueOf(j), Integer.valueOf(i), this.mc.renderChunksMany ? "(s) " : "", Integer.valueOf(this.renderDistanceChunks), this.renderDispatcher.getDebugInfo()});
}
RenderGlobal.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:BaseClient
作者:
评论列表
文章目录