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

How to compile this mod? #202

Open
ZedDevStuff opened this issue Sep 25, 2024 · 3 comments
Open

How to compile this mod? #202

ZedDevStuff opened this issue Sep 25, 2024 · 3 comments

Comments

@ZedDevStuff
Copy link

ZedDevStuff commented Sep 25, 2024

I'm the creator of KeybindsPurger and after being told that this mod prevents my mod from working, i started looking into the source to figure out a way to allow compatibility. I figured out how and now i need a common jar for my mixins but i can't compile the mod. I honestly don't know where else to look so i'm asking here in hopes i get seen.

I tried a classic ./gradlew build (which worked with everything else i've used it one before) but i get this error

An exception occurred applying plugin request [id: 'org.spongepowered.gradle.vanilla', version: '0.2.1-SNAPSHOT']
> Failed to apply plugin class 'org.spongepowered.gradle.vanilla.internal.ProvideMinecraftPlugin'.
   > Extension of type 'JavaToolchainService' does not exist. Currently registered extension types: [ExtraPropertiesExtension, MinecraftExtension]

Alternative is rewriting each of my mixins for each loader which is of last resort considering that i support 4 versions at the same time

@jaredlll08
Copy link
Owner

Hey o/

That error is caused by VanillaGradle updating and breaking projects using an older gradle version, I usually fix these errors as they come up when I need to work on my mods, if you tell me the minecraft version(s) you need to compile I can fix those for you.

I do publish my common jars on my maven though, which should have what you need, so you wouldn't need to compile it yourself.

@ZedDevStuff
Copy link
Author

Thank you very much, everything I need is there :D (except 1.16.5 but I think i should be able to compile this one)

@jaredlll08
Copy link
Owner

I believe 1.16.5 is in this folder, it has been a while since I have touched it, however in 1.16.5 I only supported Forge, so there wouldn't be common jar https://maven.blamejared.com/com/blamejared/controlling/Controlling/

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

No branches or pull requests

2 participants