mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-21 16:17:37 +01:00
update deps, fix runClient
This commit is contained in:
parent
26aea3e9a3
commit
295bbfa24a
@ -87,7 +87,7 @@ allprojects {
|
||||
|
||||
subprojects {
|
||||
dependencies {
|
||||
implementation rootProject
|
||||
modImplementation rootProject
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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")
|
||||
}
|
@ -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")
|
||||
}
|
||||
|
@ -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")
|
||||
}
|
||||
|
@ -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")
|
||||
}
|
||||
|
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user