Added 1.20.4 client and server support

This commit is contained in:
RaphiMC 2023-12-07 16:27:55 +01:00
parent a1fa52e2f4
commit a9e1bda826
No known key found for this signature in database
GPG key ID: 0F6BB0657A03AC94
3 changed files with 7 additions and 6 deletions

View file

@ -6,7 +6,7 @@ Using it is very simple, just run the jar file, and it will start a user interfa
For a full user guide go to the [Usage for Players](#usage-for-players-gui) section or the [Usage for Server Owners](#usage-for-server-owners-cli) section.
## Supported Server versions
- Release (1.0.0 - 1.20.3)
- Release (1.0.0 - 1.20.4)
- Beta (b1.0 - b1.8.1)
- Alpha (a1.0.15 - a1.2.6)
- Classic (c0.0.15 - c0.30 including [CPE](https://wiki.vg/Classic_Protocol_Extension))
@ -15,7 +15,7 @@ For a full user guide go to the [Usage for Players](#usage-for-players-gui) sect
- Bedrock Edition 1.20.50 (In development)
## Supported Client versions
- Release (1.7.2 - 1.20.3)
- Release (1.7.2 - 1.20.4)
- Bedrock Edition (Needs the [Geyser plugin](https://github.com/RaphiMC/ViaProxyGeyserPlugin))
- Classic, Alpha, Beta, Release 1.0 - 1.6.4 (Only passthrough)

View file

@ -53,10 +53,10 @@ repositories {
}
dependencies {
include "com.viaversion:viaversion-common:4.9.1"
include "com.viaversion:viabackwards-common:4.9.0"
include "com.viaversion:viaversion-common:4.9.2"
include "com.viaversion:viabackwards-common:4.9.1"
include "com.viaversion:viarewind-common:3.0.5"
include("net.raphimc:ViaLegacy:2.2.21-SNAPSHOT") {
include("net.raphimc:ViaLegacy:2.2.21") {
exclude group: "net.lenni0451.mcstructs", module: "text"
}
include "net.raphimc:ViaAprilFools:2.0.10"
@ -65,7 +65,7 @@ dependencies {
exclude group: "io.jsonwebtoken"
exclude group: "net.lenni0451.mcstructs", module: "text"
}
include("net.raphimc:ViaLoader:2.2.11-SNAPSHOT") {
include("net.raphimc:ViaLoader:2.2.12") {
exclude group: "org.slf4j", module: "slf4j-api"
}

View file

@ -51,6 +51,7 @@ public abstract class MixinProtocolVersion {
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.20/1.20.1", new Pair<>("1.20-1.20.1", null));
remaps.put("1.20.3", new Pair<>("1.20.3-1.20.4", 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;"))