Skip to content

Fix FabricTransformer for Minecraft classic and pre-classic #1043

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SpaceWalkerRS
Copy link
Contributor

The isMinecraftClass check does not consider classes in the com.mojang.rubydung package (pre-classic) or the com.mojang.minecraft package (classic). This PR adds those checks.

@Player3324
Copy link
Contributor

Do we need the env stripping and access transformation for these versions? The former only makes sense if there is a separate dedicated server jar and the latter depends on whether the production jar has mapping dependent access issues.

@SpaceWalkerRS
Copy link
Contributor Author

The access transformations are needed for sure. In old versions the main class moved between packages a few times and if you want to keep the intermediary consistent you need to fix package access errors.

An argument could be made that the env stripping applies to classic (given it has dedicated servers) though we'd first have to confirm the client and server for these versions can be merged at all.

@Player3324
Copy link
Contributor

I turned it into a more generic property, please have a look at #1056

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