Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TransformingClassLoader usable in FML tests. #127

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

shartte
Copy link
Contributor

@shartte shartte commented Jun 12, 2024

Used in neoforged/FancyModLoader#163 to set up a relatively close-to-real loading process. Access to the transforming classloader is needed to test coremods and enum extensions.

I tried to only make constructors available, which means this does not actually add the ability to access more state at runtime for mods or such.

@marchermans marchermans merged commit 0f24dec into McModLauncher:main Jun 12, 2024
18 checks passed
@shartte shartte deleted the testability branch June 12, 2024 12:01
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