sizableshrimp / forge-class-remapper Goto Github PK
View Code? Open in Web Editor NEWRemaps MCP classnames to Mojmaps for 1.17+ and in reverse.
License: Creative Commons Zero v1.0 Universal
Remaps MCP classnames to Mojmaps for 1.17+ and in reverse.
License: Creative Commons Zero v1.0 Universal
The title says it all :)
I was trying to figure out how to fix a gradle error for like 10 minutes and I forgot to add this to build.gradle:
java.toolchain.languageVersion = JavaLanguageVersion.of(16)
I suggest you to add information about this in readme.
Just writing an issue in case you ever want to fix it or add it to the readme.
I don't know if this really deserves a whole issue but here I go.
So, basically, I'm backporting my mod from 1.17 to 1.16 and I followed the steps in the readme.
I changed the ForgeGradle to 4.1.+ and my gradle to 6.8.1. After that I changed my JavaLanguageVersion to 8 and my SDK in Project Structure. I also added the script under all plugins (like it says).
Here comes the issue. When I run gradlew -PUPDATE_CLASSNAMES=true -PREVERSED=true updateClassnames
, it starts off normally and then it fails with the following issue:
* Where:
Script 'https://raw.githubusercontent.com/SizableShrimp/Forge-Class-Remapper/main/classremapper.gradle' line: 49
* What went wrong:
A problem occurred configuring root project 'Mod Files'.
> Could not create task ':extractRangeMap'.
> Could not create task of type 'ExtractRangeMap'.
> No service of type JavaToolchainService available in ProjectScopeServices.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
I read something about it in a gradle issue which said it's fixed in gradle 7 but I doubt I need to upgrade since after all I used this script to update to 1.17.
AgeableEntity gets converted to AgableMob instead of AgeableMob.
"import net.minecraft.loot.ConstantRange" (1.16) should become "import net.minecraft.world.level.storage.loot.providers.number.ConstantValue"; unfortunately, you converted it to "ConstantIntValue", which doesn't exist in Minecraft and greatly confused my IDE, which thought it was from the sun.jvm package.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.