1
0
mirror of https://github.com/chylex/Java-Checker.git synced 2025-05-23 12:34:05 +02:00

Update README.md

This commit is contained in:
Daniel Chýlek 2018-11-26 21:53:45 +01:00 committed by GitHub
parent 38ae8da593
commit 4a4d8002c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,11 @@ http://minecraft.curseforge.com/projects/java-version-checker
The mod is in Public Domain, so do whatever you want with it! Hugs and mentions appreciated but not required. If you want to include Java Checker in your own mod, read the shading guide.
## Shading Java Checker into your mod
## Repository archived
*Warning: this is experimental, if you find any issues, please report them immediately.*
Because Minecraft 1.12+ already requires Java 8 and mods cannot use Java 9+ yet, the repository has been archived. If modding starts moving towards a newer version of Java in the future, I might revisit the project.
## Shading Java Checker into your mod
You can insert Java Checker into your mod, so that it will alert the user if they are using outdated Java. You will need to use a special version designed for shading, you can use tterrag's Maven repository in your build.gradle or download it manually.
@ -21,5 +23,3 @@ In order to shade and configure Java Checker, you need to update your **build.gr
You can also use [Hardcore Ender Expansion's build.gradle](https://github.com/chylex/Hardcore-Ender-Expansion/blob/master/build.gradle) as a reference.
Now build the mod and run it to make sure nothing messed up. If the mod does not load, something might have changed in Forge which breaks a hack in the shading library. In that case, [create a new issue](https://github.com/chylex/Java-Checker/issues) and I will release an update.
If you need help with something related to build.gradle, ask AbrarSyed because I have absolutely no idea what I'm doing :P.