Updated Via*

This commit is contained in:
FlorianMichael 2023-03-03 16:40:38 +01:00
parent 6c17a2c6e1
commit 6e561270bb
3 changed files with 12 additions and 8 deletions

View File

@ -25,6 +25,10 @@ allprojects {
name = "ViaVersion"
url = "https://repo.viaversion.com"
}
maven {
name = "Lenni0451"
url "https://maven.lenni0451.net/releases"
}
maven {
url = "https://maven.terraformersmc.com/releases"
}
@ -45,10 +49,10 @@ dependencies {
libs "com.viaversion:viaversion:${project.viaversion_version}"
libs "com.viaversion:viabackwards-common:${project.viabackwards_version}"
libs "org.yaml:snakeyaml:1.29"
libs "org.yaml:snakeyaml:2.0"
libs "com.github.RaphiMC:ViaLegacy:${project.vialegacy_version}"
libs "com.github.RaphiMC:ViaAprilFools:${project.viaaprilfools_version}"
libs "net.raphimc:ViaLegacy:${project.vialegacy_version}"
libs "net.raphimc:ViaAprilFools:${project.viaaprilfools_version}"
libs "net.lenni0451.mcstructs:text:${project.mcstructs_text_version}"
}

View File

@ -10,10 +10,10 @@ maven_group=de.florianmichael
archives_base_name=viafabricplus
vialoadingbase_version=db24c2279c
viaversion_version=4.6.0-1.19.4-pre2-SNAPSHOT
viabackwards_version=4.6.0-1.19.4-pre1-SNAPSHOT
vialegacy_version=cc56733803
viaaprilfools_version=37bb14feb1
viaversion_version=4.6.0-1.19.4-pre3-SNAPSHOT
viabackwards_version=4.6.0-1.19.4-pre3-SNAPSHOT
vialegacy_version=2.2.8
viaaprilfools_version=2.0.5
mcstructs_text_version=2.2.0

View File

@ -29,7 +29,7 @@ public abstract class MixinProtocolVersion {
protocolhack_remaps.put("1.16.4/5", new Pair<>("1.16.4-1.16.5", null));
protocolhack_remaps.put("1.18/1.18.1", new Pair<>("1.18-1.18.1", null));
protocolhack_remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null));
protocolhack_remaps.put("1.19.4", new Pair<>("1.19.4-pre1", null));
protocolhack_remaps.put("1.19.4", new Pair<>("1.19.4-pre3", null));
}
@Redirect(method = "<clinit>", at = @At(value = "INVOKE", target = "Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;register(ILjava/lang/String;)Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;"))