A library mod that ensures you are running a supported version of Java and can install a supported one if you are not.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
TheBrokenRail 7f828767a8 1.0.3 1 month ago
gradle/wrapper Initial Release 1 month ago
src/main 1.0.3 1 month ago
.gitignore Initial Release 1 month ago
CHANGELOG.md 1.0.3 1 month ago
Jenkinsfile Fix Jenkinsfile 1 month ago
LICENSE Initial Release 1 month ago
README.md Improve Description 1 month ago
build.gradle Initial Release 1 month ago
gradle.properties 1.0.3 1 month ago
gradlew Initial Release 1 month ago
gradlew.bat Initial Release 1 month ago
settings.gradle Initial Release 1 month ago

README.md

FreshCoffee

A library mod that ensures you are running a supported version of Java and can install a supported one if you are not.

FreshCoffee is Minecraft version-independent.

Changelog

View Changelog

How To Include

Add this to build.gradle:

repositories {
    maven { url 'https://maven.thebrokenrail.com' }
}
dependencies {
    modRuntime 'com.thebrokenrail:freshcoffee:VERSION'
    include 'com.thebrokenrail:freshcoffee:VERSION'
    // VERSION = "<Mod Version>+<MC Version>", for example "1.0.0+1.16.2"
}

You can set a minimum version of Java by adding this to fabric.mod.json:

{
    "custom": {
        "freshcoffee:minimum_java_version": 14
    }
}

You can set a maximum version of Java by adding this to fabric.mod.json:

{
    "custom": {
        "freshcoffee:maximum_java_version": 14
    }
}