Skip to content

Resource Loader startup improvements - #94

Merged
SpaceWalkerRS merged 2 commits into
gen2from
resource-loader-startup-improvements
Oct 30, 2026
Merged

SpaceWalkerRS merged 2 commits into
gen2from
resource-loader-startup-improvements

Conversation

@SpaceWalkerRS

Copy link
Copy Markdown
Member

I noticed in versions before 1.6 Resource Loader would run two full resource reloads on start-up. This PR refactors some of the implementation details to stop that from happening, and adds a more convenient way to initiate a resource reload.

I also removed the Mixin plugin in favor of using Conditional Mixin, so it is possible there is a regression if I messed that up, though from testing it seems to work fine.

API Changes

  • Added reloadResources method to Minecraft in 1.5.2 and below, with the same functionality as in 1.6+. It reloads the pack repository, starts a full resource reload, and reloads the world renderer.

@SpaceWalkerRS SpaceWalkerRS added bug Something isn't working enhancement New feature or request labels Oct 18, 2026
@SpaceWalkerRS
SpaceWalkerRS changed the base branch from namespaced-identifier-improvements to gen2 October 30, 2026 09:26
@SpaceWalkerRS
SpaceWalkerRS merged commit 026f908 into gen2 Oct 30, 2026
2 checks passed
@SpaceWalkerRS
SpaceWalkerRS deleted the resource-loader-startup-improvements branch October 30, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant