1.14 Pre-Release 1

This commit is contained in:
creeper123123321 2019-04-10 16:17:06 -03:00
parent 2e74b7afd8
commit 9df2457a65
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1
2 changed files with 9 additions and 10 deletions

View File

@ -40,8 +40,8 @@ tasks.named<ProcessResources>("processResources") {
dependencies {
// transitive = false, viabackwards-core because Guava is conflicting on runClient
compile("us.myles:viaversion:2.0.0-19w14b") { isTransitive = false }
include("us.myles:viaversion:2.0.0-19w14b")
compile("us.myles:viaversion:2.0.0-1.14-pre1") { isTransitive = false }
include("us.myles:viaversion:2.0.0-1.14-pre1")
compile("de.gerrygames:viarewind-core:1.4.0") { isTransitive = false }
include("de.gerrygames:viarewind-core:1.4.0")
compile("nl.matsv:viabackwards-core:3.0.0-19w11b") { isTransitive = false } // todo update
@ -49,12 +49,12 @@ dependencies {
compileOnly("com.google.code.findbugs:jsr305:3.0.2")
minecraft("com.mojang:minecraft:19w14b")
mappings("net.fabricmc:yarn:19w14b.4")
modCompile("net.fabricmc:fabric-loader:0.4.0+build.115")
minecraft("com.mojang:minecraft:1.14 Pre-Release 1")
mappings("net.fabricmc:yarn:1.14 Pre-Release 1+build.3")
modCompile("net.fabricmc:fabric-loader:0.4.0+build.116")
modCompile("net.fabricmc:fabric:0.2.6.121")
include("net.fabricmc:fabric:0.2.6.121")
modCompile("net.fabricmc:fabric:0.2.7+build.122")
include("net.fabricmc:fabric:0.2.7+build.122")
}
minecraft {

View File

@ -106,7 +106,7 @@ public abstract class MixinMultiplayerScreen extends Screen {
enableClientSideViaVersion = new ButtonWidget(this.width / 2 + 48, 13, 105, 15,
I18n.translate("gui.enable_client_side_button"), button ->
MinecraftClient.getInstance().openScreen(new YesNoScreen(
(answer, id) -> {
answer -> {
MinecraftClient.getInstance().openScreen(this);
if (answer) {
try {
@ -121,8 +121,7 @@ public abstract class MixinMultiplayerScreen extends Screen {
new TranslatableTextComponent("gui.enable_client_side.question"),
new TranslatableTextComponent("gui.enable_client_side.warning"),
I18n.translate("gui.enable_client_side.enable"),
I18n.translate("gui.cancel"),
0
I18n.translate("gui.cancel")
)));
protocolVersion.setVisible(FabricLoader.getInstance().getConfigDirectory().toPath().resolve("ViaFabric").resolve("enable_client_side").toFile().exists());
enableClientSideViaVersion.visible = !protocolVersion.isVisible();