This script only works for Java source code. If you use another language, you will have to apply the renames manually. You can find a list of the renames in the following document: https://hackmd.io/@neoforged/rJtC7ucZT.
If you have coremods or service resources, you have to rename them manually.
Here is how to run the script:
- Make sure you did not update to 20.2 yet. The script only works if your workspace is already working and compiling. You can use it on a 1.20.1 Forge workspace for example.
- Add the following line in your
build.gradle
file, right below theplugins
block: