Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Conversation

@Earthcomputer
Copy link
Contributor

Updated class-tweaker to hopefully be usable in fabric loader and loom in 2025. This would have the advantage of being able to specify injected interfaces in a class tweaker file (currently the access widener file), and in named mappings rather than in intermediary file in a somewhat random location (the FMJ).

  • Updated the buildscript
  • Removed enum extensions. It is hoped that these can be re-added later with an improved design. But removing them now means we can use class-tweaker for its other benefits.
  • Updated interface injection to do all the extra stuff it now does in loom, notably including generics.

Copy link
Member

@modmuss50 modmuss50 left a comment

Choose a reason for hiding this comment

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

Looks great. Hopefully what was here isnt too much of a mess to start with.

Just thinking regarding the iface injection does there need to be a way for them not not be applied at runtime? As this is something Mixin will handle.

@modmuss50 modmuss50 merged commit 1fb493b into FabricMC:main Sep 30, 2025
2 checks passed
@Earthcomputer Earthcomputer deleted the make-useable branch September 30, 2025 10:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants