mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-21 16:17:37 +01:00
0.4.6: 1.18.2
This commit is contained in:
parent
59aaeca4c5
commit
d1571ea360
@ -19,7 +19,7 @@ def ENV = System.getenv()
|
|||||||
|
|
||||||
group = "com.viaversion.fabric"
|
group = "com.viaversion.fabric"
|
||||||
description = "Client-side and server-side ViaVersion implementation for Fabric"
|
description = "Client-side and server-side ViaVersion implementation for Fabric"
|
||||||
version = "0.4.5+" + ENV.GITHUB_RUN_NUMBER + "-" + getBranch()
|
version = "0.4.6+" + ENV.GITHUB_RUN_NUMBER + "-" + getBranch()
|
||||||
logger.lifecycle("Building ViaFabric: $version")
|
logger.lifecycle("Building ViaFabric: $version")
|
||||||
|
|
||||||
def getBranch() {
|
def getBranch() {
|
||||||
@ -150,7 +150,7 @@ processResources {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
List<String> versionToAdd = new ArrayList<>(Arrays.asList("Fabric", "1.18.1", "1.17.1",
|
List<String> versionToAdd = new ArrayList<>(Arrays.asList("Fabric", "1.18.2", "1.17.1",
|
||||||
"1.16.5", "1.15.2", "1.14.4", "1.8.9"))
|
"1.16.5", "1.15.2", "1.14.4", "1.8.9"))
|
||||||
versionToAdd.addAll(IntStream.rangeClosed(8, 18)
|
versionToAdd.addAll(IntStream.rangeClosed(8, 18)
|
||||||
.mapToObj { n -> (String) "Java $n" }
|
.mapToObj { n -> (String) "Java $n" }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# rip my ram
|
# rip my ram
|
||||||
org.gradle.jvmargs=-Xms32M -Xmx3G
|
org.gradle.jvmargs=-Xms32M -Xmx3G
|
||||||
|
|
||||||
loader_version=0.12.12
|
loader_version=0.13.3
|
||||||
viaver_version=4.1.2-SNAPSHOT
|
viaver_version=4.2.1
|
||||||
yaml_version=1.30
|
yaml_version=1.30
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
dependencies {
|
dependencies {
|
||||||
minecraft("com.mojang:minecraft:1.18.1")
|
minecraft("com.mojang:minecraft:1.18.2")
|
||||||
mappings("net.fabricmc:yarn:1.18.1+build.14:v2")
|
mappings("net.fabricmc:yarn:1.18.2+build.1:v2")
|
||||||
|
|
||||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.45.0+1.18")
|
modImplementation("net.fabricmc.fabric-api:fabric-api:0.47.8+1.18.2")
|
||||||
modImplementation("com.terraformersmc:modmenu:3.0.0")
|
modImplementation("com.terraformersmc:modmenu:3.0.0")
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,7 @@ public class ViaConfigScreen extends Screen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClose() {
|
public void close() {
|
||||||
this.client.setScreen(this.parent);
|
this.client.setScreen(this.parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package com.viaversion.fabric.mc118.mixin.pipeline;
|
|||||||
import com.viaversion.fabric.common.handler.PipelineReorderEvent;
|
import com.viaversion.fabric.common.handler.PipelineReorderEvent;
|
||||||
import io.netty.channel.Channel;
|
import io.netty.channel.Channel;
|
||||||
import net.minecraft.network.ClientConnection;
|
import net.minecraft.network.ClientConnection;
|
||||||
import org.apache.logging.log4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
import org.spongepowered.asm.mixin.Shadow;
|
import org.spongepowered.asm.mixin.Shadow;
|
||||||
import org.spongepowered.asm.mixin.injection.At;
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
@ -22,7 +22,7 @@ public class MixinClientConnection {
|
|||||||
remap = false,
|
remap = false,
|
||||||
at = @At(
|
at = @At(
|
||||||
value = "INVOKE",
|
value = "INVOKE",
|
||||||
target = "Lorg/apache/logging/log4j/Logger;debug(Ljava/lang/String;Ljava/lang/Throwable;)V"
|
target = "Lorg/slf4j/Logger;debug(Ljava/lang/String;Ljava/lang/Throwable;)V"
|
||||||
))
|
))
|
||||||
private void redirectDebug(Logger logger, String message, Throwable t) {
|
private void redirectDebug(Logger logger, String message, Throwable t) {
|
||||||
if ("Failed to sent packet".equals(message)) {
|
if ("Failed to sent packet".equals(message)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user