update deps, fix runClient

This commit is contained in:
creeper123123321 2022-06-11 16:50:19 -03:00
parent 26aea3e9a3
commit 295bbfa24a
7 changed files with 10 additions and 11 deletions

View File

@ -87,7 +87,7 @@ allprojects {
subprojects {
dependencies {
implementation rootProject
modImplementation rootProject
}
publishing {

View File

@ -3,7 +3,7 @@
org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication
org.gradle.parallel=true
loader_version=0.14.6
loader_version=0.14.7
viaver_version=4.3.2-SNAPSHOT
yaml_version=1.30

View File

@ -2,6 +2,6 @@ dependencies {
minecraft("com.mojang:minecraft:1.16.5")
mappings("net.fabricmc:yarn:1.16.5+build.10:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.40.1+1.16")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.42.0+1.16")
modImplementation("com.terraformersmc:modmenu:1.16.9")
}

View File

@ -1,7 +1,7 @@
dependencies {
minecraft("com.mojang:minecraft:1.17.1")
mappings("net.fabricmc:yarn:1.17.1+build.64:v2")
mappings("net.fabricmc:yarn:1.17.1+build.65:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.43.1+1.17")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.46.1+1.17")
modImplementation("com.terraformersmc:modmenu:2.0.2")
}

View File

@ -2,6 +2,6 @@ dependencies {
minecraft("com.mojang:minecraft:1.18.2")
mappings("net.fabricmc:yarn:1.18.2+build.3:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.51.1+1.18.2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.55.1+1.18.2")
modImplementation("com.terraformersmc:modmenu:3.0.0")
}

View File

@ -1,7 +1,7 @@
dependencies {
minecraft("com.mojang:minecraft:1.19")
mappings("net.fabricmc:yarn:1.19+build.1:v2")
mappings("net.fabricmc:yarn:1.19+build.2:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.55.1+1.19")
modImplementation("com.terraformersmc:modmenu:4.0.0-beta.4")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.55.3+1.19")
modImplementation("com.terraformersmc:modmenu:4.0.0")
}

View File

@ -24,9 +24,8 @@ public class MixinServerEntry {
@Final
private ServerInfo server;
// todo fix this intermediary
@Redirect(method = "render", at = @At(value = "INVOKE", ordinal = 0,
target = "Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILnet/minecraft/class_2960;)V"))
target = "Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILnet/minecraft/util/Identifier;)V"))
private void redirectPingIcon(int i, Identifier identifier) {
if (identifier.equals(DrawableHelper.GUI_ICONS_TEXTURE) && ((ViaServerInfo) this.server).isViaTranslating()) {
RenderSystem.setShaderTexture(i, new Identifier("viafabric:textures/gui/icons.png"));