1.20.3-pre1

This commit is contained in:
FlorianMichael 2023-11-20 19:42:06 +01:00
parent 6d2ad60dbd
commit 7c79145bc8
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
3 changed files with 4 additions and 4 deletions

View File

@ -14,8 +14,8 @@ maven_group=de.florianmichael
archives_base_name=viafabricplus archives_base_name=viafabricplus
# ViaVersion Libraries # ViaVersion Libraries
viaversion_version=4.9.0-23w46a-SNAPSHOT viaversion_version=4.9.0-1.20.3-pre1-SNAPSHOT
viabackwards_version=4.9.0-23w46a-SNAPSHOT viabackwards_version=4.9.0-1.20.3-pre1-SNAPSHOT
vialegacy_version=2.2.21-SNAPSHOT vialegacy_version=2.2.21-SNAPSHOT
viaaprilfools_version=2.0.10-SNAPSHOT viaaprilfools_version=2.0.10-SNAPSHOT
viabedrock_version=0.0.3-SNAPSHOT viabedrock_version=0.0.3-SNAPSHOT

View File

@ -46,7 +46,7 @@ public abstract class MixinProtocolVersion {
viafabricplus_remaps.put("1.18/1.18.1", new Pair<>("1.18-1.18.1", null)); viafabricplus_remaps.put("1.18/1.18.1", new Pair<>("1.18-1.18.1", null));
viafabricplus_remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null)); viafabricplus_remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null));
viafabricplus_remaps.put("1.20/1.20.1", new Pair<>("1.20-1.20.1", null)); viafabricplus_remaps.put("1.20/1.20.1", new Pair<>("1.20-1.20.1", null));
viafabricplus_remaps.put("1.20.3", new Pair<>("23w46a", null)); viafabricplus_remaps.put("1.20.3", new Pair<>("1.20.3-pre1", 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;"))

View File

@ -33,7 +33,7 @@ public class PackFormatsMappings {
private final static Map<Integer, GameVersion> protocolMap = new HashMap<>(); private final static Map<Integer, GameVersion> protocolMap = new HashMap<>();
public static void load() { public static void load() {
registerVersion(VersionEnum.r1_20_3, 21, "23w46a"); registerVersion(VersionEnum.r1_20_3, 22, "1.20.3-pre1");
registerVersion(VersionEnum.r1_20_2, 18, "1.20.2"); registerVersion(VersionEnum.r1_20_2, 18, "1.20.2");
registerVersion(VersionEnum.r1_20tor1_20_1, 15, "1.20.1"); // 1.20 and 1.20.1 are the same, why care... registerVersion(VersionEnum.r1_20tor1_20_1, 15, "1.20.1"); // 1.20 and 1.20.1 are the same, why care...
registerVersion(VersionEnum.r1_19_4, 13, "1.19.4"); registerVersion(VersionEnum.r1_19_4, 13, "1.19.4");