Skip to content

Fix HammerCore URL stalling loading#863

Merged
ACGaming merged 1 commit into
ACGaming:mainfrom
WaitingIdly:hammercore-url
May 27, 2026
Merged

Fix HammerCore URL stalling loading#863
ACGaming merged 1 commit into
ACGaming:mainfrom
WaitingIdly:hammercore-url

Conversation

@WaitingIdly

Copy link
Copy Markdown
Collaborator

changes in this PR:

  • add the ability to skip the hammercore url check, as it can cause the program to stall depending on if the url is accessible - which it is not in russia (default: false).
  • rename mixins.hammerlib.json to mixins.hammerlib.color.json.

inspired by https://github.com/friendlyhj/IsolatedCrystal3/blob/471f4b8bb163b7fa066d7d6c253f274c51730898/.minecraft/scripts/mixin/hammercore.zs

@what-the-diff

what-the-diff Bot commented May 27, 2026

Copy link
Copy Markdown

PR Summary

  • Improvements to README.md:
    • It now contains a new entry on a feature that allows us to skip an API check that might cause unnecessary delays.
  • Addition to UTConfigMods.java:
    • This piece of code has been updated with a new option that can either enable or disable the skipping of this API check. Please note that any changes here will require restarting Minecraft.
  • Changes in UTMixinLoader.java:
    • The path for a specific function has been changed. This has been carried out in order to ensure compatibility with improved URL management.
  • Creation of UTModSourceAdapterMixin.java:
    • A new bit of code has been added that modifies a certain field to prevent any delays when loading certain URLs.
  • File Renamed:
    • The mixins.hammerlib.json was renamed to mixins.hammerlib.color.json to reflect that it now focuses on handling color rendering.
  • New file (mixins.hammerlib.url.json) added:
    • This new file will help in better URL management by allowing you to skip checks that could potentially slow things down.

@ACGaming ACGaming merged commit 0759a57 into ACGaming:main May 27, 2026
1 check passed
@WaitingIdly WaitingIdly deleted the hammercore-url branch May 28, 2026 07:10
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