Skip to content

Make debug charts accurate to old versions - #182

Open
BluSpring wants to merge 1 commit into
Nostalgica-Reverie:1.21from
BluSpring:1.21
Open

BluSpring wants to merge 1 commit into
Nostalgica-Reverie:1.21from
BluSpring:1.21

Conversation

@BluSpring

Copy link
Copy Markdown

Rebased variant of #180, because apparently GitHub doesn't allow switching source branches and I wrote this code a year ago so it wasn't properly branched.

if (CandyTweak.OLD_DEBUG.get() == Generic.BETA)
{
this.left.add(String.format("ChunkCache: %d", this.level.getChunkSource().getLoadedChunksCount()));
this.left.add(String.format("ServerChunkCache: %d Drop: 0", this.level.getChunkSource().getLoadedChunksCount()));

@forkiesassds forkiesassds Aug 21, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is accurate for Beta 1.6+, and up to 1.3, however is not accurate for versions prior to Beta 1.6. Also if possible, the dropped chunks stat should also be shown, even if potentially inaccurate, at least for Beta 1.7.3 and prior.

this.graphics.pose().translate(0.0F, this.graphics.guiHeight() - (this.height / 2.0F), 0.0F);
this.graphics.pose().scale(0.5F, 0.5F, 0.5F);
this.graphics.pose().translate(0.0F, this.graphics.guiHeight() - this.height, 0.0F);
//this.graphics.pose().scale(0.5F, 0.5F, 0.5F);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this line is to be removed, then it should be removed completely, rather than commented out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants