Coder Social home page Coder Social logo

forge-class-remapper's People

Contributors

ewyboy avatar maxanier avatar sizableshrimp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

forge-class-remapper's Issues

Add information about changing java version.

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.

"No service of type JavaToolchainService available in ProjectScopeServices."

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.

ConstantRange incorrectly converted to ConstantIntValue

"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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.