Update to LibJF 3

This commit is contained in:
Johannes Frohnmeyer 2022-08-28 13:09:22 +02:00
parent 389ca1b33b
commit bb2025794b
Signed by: Johannes
GPG Key ID: E76429612C2929F4
4 changed files with 25 additions and 23 deletions

View File

@ -1,11 +1,11 @@
apply from: "https://jfmods.gitlab.io/scripts/jfmod.gradle"
apply from: "https://jfmods.gitlab.io/scripts/gradle/v2.gradle"
dependencies {
modImplementation("io.gitlab.jfronny.libjf:libjf-config-v0:${project.jfapi_version}")
include modImplementation(fabricApi.module("fabric-lifecycle-events-v1", project.fabric_version))
modImplementation("io.gitlab.jfronny.libjf:libjf-config-core-v1:${project.libjf_version}")
modImplementation "com.terraformersmc:modmenu:4.0.5"
// Compat fix
modImplementation(fabricApi.module("fabric-command-api-v2", "${project.fabric_version}"))
// Dev env
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-reflect-v1:${project.libjf_version}")
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny-v1:${project.libjf_version}")
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:${project.libjf_version}")
modLocalRuntime("com.terraformersmc:modmenu:4.0.6")
}

View File

@ -1,12 +1,12 @@
# https://fabricmc.net/develop/
minecraft_version=1.19.1
yarn_mappings=build.1
loader_version=0.14.8
minecraft_version=1.19.2
yarn_mappings=build.8
loader_version=0.14.9
maven_group=io.gitlab.jfronny
archives_base_name=YesCheat
jfapi_version=2.10.0
fabric_version=0.58.5+1.19.1
libjf_version=3.0.1
fabric_version=0.60.0+1.19.2
modrinth_id=yescheat
modrinth_required_dependencies=libjf

View File

@ -1,14 +1,15 @@
package io.gitlab.jfronny.yescheat;
import io.gitlab.jfronny.libjf.config.api.Entry;
import io.gitlab.jfronny.libjf.config.api.JfConfig;
import io.gitlab.jfronny.libjf.config.api.v1.Entry;
import io.gitlab.jfronny.libjf.config.api.v1.JfConfig;
public class Cfg implements JfConfig {
@Entry public static Boolean antiRubberband = true;
@Entry public static Boolean uncapEnchants = true;
@Entry public static Boolean unblockChests = true;
@Entry public static Boolean distantContainers = true;
@Entry public static Boolean unlockMending = true;
@Entry public static Boolean distantBreaking = true;
@Entry public static Boolean villagersFollowEmeralds = true;
@JfConfig
public class Cfg {
@Entry public static boolean antiRubberband = true;
@Entry public static boolean uncapEnchants = true;
@Entry public static boolean unblockChests = true;
@Entry public static boolean distantContainers = true;
@Entry public static boolean unlockMending = true;
@Entry public static boolean distantBreaking = true;
@Entry public static boolean villagersFollowEmeralds = true;
}

View File

@ -17,6 +17,7 @@
],
"depends": {
"fabricloader": ">=0.14.0",
"minecraft": "*"
"minecraft": "*",
"libjf-config-core-v1": "*"
}
}