From 1ab937d220e8262d34abfe87f35a974e53f49594 Mon Sep 17 00:00:00 2001 From: Gerrygames Date: Sat, 5 Oct 2019 23:51:35 +0200 Subject: [PATCH] 19w40a --- build.gradle.kts | 12 ++++++------ .../viafabric/platform/VRViaConfig.java | 10 ++++++++++ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 15e8973..14c7ce4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -46,16 +46,16 @@ tasks.named("processResources") { dependencies { // transitive = false because Guava is conflicting on runClient - compile("us.myles:viaversion:2.1.4-19w37a") { isTransitive = false } - include("us.myles:viaversion:2.1.4-19w37a") + compile("us.myles:viaversion:2.1.4-19w40a") { isTransitive = false } + include("us.myles:viaversion:2.1.4-19w40a") compileOnly("com.google.code.findbugs:jsr305:3.0.2") - minecraft("com.mojang:minecraft:19w37a") - mappings("net.fabricmc:yarn:19w37a+build.1") - modCompile("net.fabricmc:fabric-loader:0.6.1+build.165") + minecraft("com.mojang:minecraft:19w40a") + mappings("net.fabricmc:yarn:19w40a+build.4") + modCompile("net.fabricmc:fabric-loader:0.6.3+build.167") - modCompile("net.fabricmc.fabric-api:fabric-api:0.3.2+build.227-1.15") + modCompile("net.fabricmc.fabric-api:fabric-api:0.4.3+build.247-1.15") modCompile("io.github.cottonmc:cotton-client-commands:0.4.2+1.14.3-SNAPSHOT") include("io.github.cottonmc:cotton-client-commands:0.4.2+1.14.3-SNAPSHOT") diff --git a/src/main/java/com/github/creeper123123321/viafabric/platform/VRViaConfig.java b/src/main/java/com/github/creeper123123321/viafabric/platform/VRViaConfig.java index c5a444a..defe1ee 100644 --- a/src/main/java/com/github/creeper123123321/viafabric/platform/VRViaConfig.java +++ b/src/main/java/com/github/creeper123123321/viafabric/platform/VRViaConfig.java @@ -297,6 +297,16 @@ public class VRViaConfig extends Config implements ViaVersionConfig { return false; } + @Override + public boolean isNonFullBlockLightFix() { + return this.getBoolean("fix-non-full-blocklight", true); + } + + @Override + public boolean is1_14HealthNaNFix() { + return this.getBoolean("fix-1_14-health-nan", true); + } + @Override public boolean is1_15InstantRespawn() { return this.getBoolean("use-1_15-instant-respawn", false);