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.
FreshCoffee/pipeline/head This commit looks good
Details
|
2 years ago | |
---|---|---|
gradle/wrapper | 3 years ago | |
src/main | 2 years ago | |
.gitignore | 3 years ago | |
CHANGELOG.md | 2 years ago | |
Jenkinsfile | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 2 years ago | |
build.gradle | 3 years ago | |
gradle.properties | 2 years ago | |
gradlew | 3 years ago | |
gradlew.bat | 3 years ago | |
settings.gradle | 3 years 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
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
}
}
You can also force Java preview features:
{
"custom": {
"freshcoffee:preview_features_required": true
}
}