Skip to content

Conversation

@PaintNinja
Copy link
Contributor

@PaintNinja PaintNinja commented Oct 1, 2025

Adds a new variant of ModLoader#hasCompletedState which takes in the state directly, which is less error-prone than a string and avoids having to search for one that matches the given name.

Also includes some minor cleanup to FML internals to reduce allocating lambdas, indirection in string concat internals, redundant collection copying, etc...

Targeting 1.21.5 so as to not affect the 1.21.9 port, but this PR should be able to target 1.20.1 - 1.21.9 inclusive.

@PaintNinja PaintNinja added Feature This request implements a new feature. Cleanup This request reorganizes messy code, or fixing it would require doing so. 1.21 labels Oct 1, 2025
@autoforge autoforge bot added Triage This request requires the active attention of the Triage Team. Requires labelling or reviews. LTS This issue/PR is related to the current LTS version. labels Oct 1, 2025
@autoforge autoforge bot requested a review from a team October 1, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.21 Cleanup This request reorganizes messy code, or fixing it would require doing so. Feature This request implements a new feature. LTS This issue/PR is related to the current LTS version. Triage This request requires the active attention of the Triage Team. Requires labelling or reviews.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant