Skip to content

Conversation

ahasdemir
Copy link

Description

Backported the "Don't show working template" checkbox setting from 1.21.7 to 1.20.1 branch for AutoBuildHack. Here is the PR for the 1.21.7 This allows users to hide template information from the HUD display while building.

What it does:

  • Adds a new checkbox setting: "Don't show working template"
  • When enabled, hides template names and progress information from the HUD
  • When disabled (default), shows normal template information as before
  • Affects all AutoBuild status displays: Loading, Idle, and Building states

Changes made:

  • Added hideTemplate CheckboxSetting with appropriate description
  • Updated getRenderName() method to conditionally display template information
  • Added the setting to the constructor's setting list

This change is non-breaking and optional - the default behavior remains unchanged for existing users.

Testing

Manual testing performed:

  1. Enable AutoBuildHack on 1.20.1
  2. Load a template and verify normal display shows: AutoBuild [TemplateName]
  3. Toggle "Don't show working template" checkbox ON
  4. Verify display changes to just: AutoBuild
  5. Start building and confirm progress percentage is hidden when checkbox is enabled
  6. Toggle checkbox OFF and verify template information reappears
  7. Test across all status states: NO_TEMPLATE, LOADING, IDLE, and BUILDING

Testing tips for reviewer:

  • Test with different template sizes to verify progress display behavior
  • Verify the setting persists across hack enable/disable cycles
  • Check that the feature works in both InstaBuild and normal building modes

References

  • Previously implemented: This feature was already added to the 1.21.7 branch and is working as expected there
  • Backport reason: To maintain feature parity between supported Minecraft versions
  • Personal use case: When capturing screenshots or recording videos, users may want to hide template names to keep their builds private. I was using this hack mostly on 1.20.1.
  • Provides cleaner HUD display for content creation and privacy purposes

@ahasdemir ahasdemir changed the title Add 'Don't show working template' feature to AutoBuildHack' Add 'Don't show working template' feature to AutoBuildHack' for 1.20.1 Jul 9, 2025
@ahasdemir ahasdemir changed the title Add 'Don't show working template' feature to AutoBuildHack' for 1.20.1 Add 'Don't show working template' feature to AutoBuildHack for 1.20.1 Jul 9, 2025
- Always show build progress percentage even when template name is hidden
- When hideTemplate is enabled: shows 'AutoBuild 67%' instead of nothing
- When hideTemplate is disabled: shows 'AutoBuild [TemplateName] 67%'
- Updated setting description to clarify that progress will still be shown
@ahasdemir
Copy link
Author

In the latest commit, the feature now only hides the template name. Previously, it also hid the progression percentage.

And here is the testing video for the changes:
▶️Testing Video

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.

1 participant