Update LibJF

This commit is contained in:
Johannes Frohnmeyer 2022-04-03 20:32:40 +02:00
parent b005b8be56
commit d69285213d
Signed by: Johannes
GPG Key ID: E76429612C2929F4
5 changed files with 9 additions and 7 deletions

View File

@ -9,4 +9,6 @@ dependencies {
modRuntimeOnly("io.gitlab.jfronny.libjf:libjf-devutil-v0:${project.jfapi_version}")
modImplementation "com.terraformersmc:modmenu:3.1.0"
include modRuntimeOnly('io.gitlab.jfronny:gson:2.9.0.2022.4.2.19.45.43') // Dependency of LibJF 2.7.0
}

View File

@ -1,12 +1,12 @@
# https://fabricmc.net/develop/
minecraft_version=1.18.2
yarn_mappings=build.1
yarn_mappings=build.2
loader_version=0.13.3
maven_group=io.jfronny.gitlab
archives_base_name=quickmeth
fabric_version=0.47.8+1.18.2
jfapi_version=2.5.0
fabric_version=0.48.0+1.18.2
jfapi_version=2.7.1
modrinth_id=hRVfXPJj
modrinth_optional_dependencies=mOgUt4GM

View File

@ -19,8 +19,8 @@ public class BytecodeTransformer implements AsmConfig, Patch {
private static final Map<String, String> mth = Map.of(
mth("method_15374", "(F)F"), "sinM",
mth("method_15362", "(F)F"), "cosM",
mth("method_15355", "(F)F"), "sqrtM",
mth("method_15375", "(D)I"), "floor"
mth("method_15355", "(F)F"), "sqrtM"
//mth("method_15375", "(D)I"), "floor"
);
private static final Map<String, Boolean> stat = Map.of(
"sin", Cfg.corruptTrigonometry2,

View File

@ -31,7 +31,7 @@
"depends": {
"fabricloader": ">=0.13.3",
"minecraft": "*",
"libjf-config-v0": ">=2.0"
"libjf-config-v0": ">=2.7.1"
},
"custom": {
"lithium:options": {

View File

@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "io.gitlab.jfronny.quickmeth.mixin",
"compatibilityLevel": "JAVA_8",
"compatibilityLevel": "JAVA_17",
"plugin": "io.gitlab.jfronny.quickmeth.MixinPlugin",
"mixins": [
"MathHelperMixin",