Added 1.20 client and server support

This commit is contained in:
RaphiMC 2023-06-07 21:43:02 +02:00
parent d8a48ebe32
commit 87a1392cd9
No known key found for this signature in database
GPG key ID: 0F6BB0657A03AC94
3 changed files with 10 additions and 11 deletions

View file

@ -9,13 +9,13 @@ For a full user guide go to the [Usage for Players](#usage-for-players-gui) sect
- Classic (c0.0.15 - c0.30 including [CPE](https://wiki.vg/Classic_Protocol_Extension))
- Alpha (a1.0.15 - a1.2.6)
- Beta (b1.0 - b1.8.1)
- Release (1.0.0 - 1.19.4)
- Release (1.0.0 - 1.20)
- April Fools (3D Shareware, 20w14infinite)
- Combat Snapshots (Combat Test 8c)
- Bedrock Edition 1.19.80 (In development)
- Bedrock Edition 1.20.0 (In development)
## Supported Client versions
- Release (1.7.2 - 1.19.4)
- Release (1.7.2 - 1.20)
- Bedrock Edition (Needs the [Geyser plugin](https://github.com/RaphiMC/ViaProxyGeyserPlugin))
- Classic, Alpha, Beta, Release 1.0 - 1.6.4 (Only passthrough)
@ -37,7 +37,7 @@ repositories {
}
dependencies {
implementation("net.raphimc:ViaProxy:3.0.19-SNAPSHOT") // Get latest version from releases
implementation("net.raphimc:ViaProxy:3.0.19") // Get latest version from releases
}
```
@ -53,7 +53,7 @@ dependencies {
<dependency>
<groupId>net.raphimc</groupId>
<artifactId>ViaProxy</artifactId>
<version>3.0.19-SNAPSHOT</version> <!-- Get latest version from releases -->
<version>3.0.19</version> <!-- Get latest version from releases -->
</dependency>
</dependencies>
```

View file

@ -71,15 +71,15 @@ repositories {
dependencies {
compileOnly sourceSets.java17compat.output
include "com.viaversion:viaversion:4.7.0-1.20-rc1-SNAPSHOT"
include("com.viaversion:viabackwards-common:4.7.0-1.20-rc1-SNAPSHOT") {
include "com.viaversion:viaversion:4.7.0"
include("com.viaversion:viabackwards-common:4.7.0") {
exclude group: "com.viaversion", module: "viaversion"
exclude group: "io.netty", module: "netty-all"
exclude group: "com.google.guava", module: "guava"
}
include "com.viaversion:viarewind-core:2.0.4-SNAPSHOT"
include "net.raphimc:ViaLegacy:2.2.17-SNAPSHOT"
include "net.raphimc:ViaAprilFools:2.0.8-SNAPSHOT"
include "net.raphimc:ViaLegacy:2.2.17"
include "net.raphimc:ViaAprilFools:2.0.7"
include("net.raphimc:ViaBedrock:0.0.1-SNAPSHOT") {
exclude group: "io.netty", module: "netty-codec-http"
exclude group: "io.jsonwebtoken", module: "jjwt-impl"
@ -105,7 +105,7 @@ dependencies {
include "net.lenni0451.classtransform:additionalclassprovider:1.9.1"
include "net.lenni0451:Reflect:1.2.0"
include "net.lenni0451:LambdaEvents:2.0.3"
include "net.raphimc.netminecraft:all:2.3.3"
include "net.raphimc.netminecraft:all:2.3.4"
include("net.raphimc:MinecraftAuth:2.1.4-SNAPSHOT") {
exclude group: "com.google.code.gson", module: "gson"
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.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", new Pair<>("1.20-rc1", 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;"))