Added 1.19.4 support

This commit is contained in:
RaphiMC 2023-03-14 18:37:41 +01:00
parent 619531f7c6
commit 1ccf625b78
3 changed files with 6 additions and 7 deletions

View file

@ -10,12 +10,12 @@ For a full user guide go to the [Usage for Players](#usage-for-players--gui-) se
- Classic (c0.0.15 - c0.30 including [CPE](https://wiki.vg/Classic_Protocol_Extension)) - Classic (c0.0.15 - c0.30 including [CPE](https://wiki.vg/Classic_Protocol_Extension))
- Alpha (a1.0.15 - a1.2.6) - Alpha (a1.0.15 - a1.2.6)
- Beta (b1.0 - b1.8.1) - Beta (b1.0 - b1.8.1)
- Release (1.0.0 - 1.19.3) - Release (1.0.0 - 1.19.4)
- April Fools (3D Shareware, 20w14infinite) - April Fools (3D Shareware, 20w14infinite)
- Combat Snapshots (Combat Test 8c) - Combat Snapshots (Combat Test 8c)
## Supported Client versions ## Supported Client versions
- Release (1.7.2 - 1.19.3) - Release (1.7.2 - 1.19.4)
ViaProxy supports joining to any of the listed server version from any of the listed client versions. ViaProxy supports joining to any of the listed server version from any of the listed client versions.

View file

@ -59,13 +59,13 @@ repositories {
dependencies { dependencies {
compileOnly sourceSets.java17compat.output compileOnly sourceSets.java17compat.output
include "com.viaversion:viaversion:4.6.0-1.19.4-rc3-SNAPSHOT" include "com.viaversion:viaversion:4.6.0"
include("com.viaversion:viabackwards-common:4.6.0-1.19.4-pre4-SNAPSHOT") { include("com.viaversion:viabackwards-common:4.6.0") {
exclude group: "com.viaversion", module: "viaversion" exclude group: "com.viaversion", module: "viaversion"
exclude group: "io.netty", module: "netty-all" exclude group: "io.netty", module: "netty-all"
exclude group: "com.google.guava", module: "guava" exclude group: "com.google.guava", module: "guava"
} }
include "com.viaversion:viarewind-core:2.0.3-SNAPSHOT" include "com.viaversion:viarewind-core:2.0.3"
include "net.raphimc:ViaLegacy:2.2.8" include "net.raphimc:ViaLegacy:2.2.8"
include "net.raphimc:ViaAprilFools:2.0.6" include "net.raphimc:ViaAprilFools:2.0.6"
include("net.raphimc:ViaProtocolHack:2.2.0") { include("net.raphimc:ViaProtocolHack:2.2.0") {
@ -86,7 +86,7 @@ dependencies {
include "net.lenni0451.classtransform:additionalclassprovider:1.8.4" include "net.lenni0451.classtransform:additionalclassprovider:1.8.4"
include "net.lenni0451:Reflect:1.1.0" include "net.lenni0451:Reflect:1.1.0"
include "net.lenni0451:LambdaEvents:2.0.3" include "net.lenni0451:LambdaEvents:2.0.3"
include "net.raphimc.netminecraft:all:2.3.1" include "net.raphimc.netminecraft:all:2.3.2"
include("net.raphimc:MinecraftAuth:2.0.1") { include("net.raphimc:MinecraftAuth:2.0.1") {
exclude group: "com.google.code.gson", module: "gson" exclude group: "com.google.code.gson", module: "gson"
exclude group: "org.slf4j", module: "slf4j-api" exclude group: "org.slf4j", module: "slf4j-api"

View file

@ -50,7 +50,6 @@ public abstract class MixinProtocolVersion {
remaps.put("1.16.4/5", new Pair<>("1.16.4-1.16.5", null)); remaps.put("1.16.4/5", new Pair<>("1.16.4-1.16.5", null));
remaps.put("1.18/1.18.1", new Pair<>("1.18-1.18.1", null)); remaps.put("1.18/1.18.1", new Pair<>("1.18-1.18.1", null));
remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null)); remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null));
remaps.put("1.19.4", new Pair<>("1.19.4-rc3", 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;")) @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;"))