Updated to 1.20-pre4

This commit is contained in:
FlorianMichael 2023-05-20 00:49:44 +02:00
parent 59e850589d
commit 46ba2e95d9
5 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,7 @@
# Why another protocol translator? # Why another protocol translator?
ViaFabricPlus is intended to replace [multiconnect](https://github.com/Earthcomputer/multiconnect), and it also promises more compactness and stability. ViaFabricPlus can do everything multiconnect could do, but supports more Minecraft versions (listed below) and has more protocol changes implemented. ViaFabricPlus is intended to replace [multiconnect](https://github.com/Earthcomputer/multiconnect), and it also promises more compactness and stability. ViaFabricPlus can do everything multiconnect could do, but supports more Minecraft versions (listed below) and has more protocol changes implemented.
### Supported Server versions ### Supported Server versions
- Release (1.0.0 - 1.20 [1.20-pre2]) - Release (1.0.0 - 1.20 [1.20-pre4])
- Beta (b1.0 - b1.8.1) - Beta (b1.0 - b1.8.1)
- Alpha (a1.0.15 - a1.2.6) - Alpha (a1.0.15 - a1.2.6)
- 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))

View File

@ -3,8 +3,8 @@ org.gradle.jvmargs=-Xmx8G
org.gradle.parallel=true org.gradle.parallel=true
# minecraft and fabric # minecraft and fabric
minecraft_version=1.20-pre2 minecraft_version=1.20-pre4
yarn_mappings=1.20-pre2+build.1 yarn_mappings=1.20-pre4+build.2
loader_version=0.14.19 loader_version=0.14.19
fabric_api_version=0.81.2+1.20 fabric_api_version=0.81.2+1.20
@ -19,8 +19,8 @@ raknet_transport_version=1.0.0.CR1-SNAPSHOT
classic4j_version=1.2.0 classic4j_version=1.2.0
# viaversion (and required) libs # viaversion (and required) libs
viaversion_version=4.7.0-1.20-pre2-SNAPSHOT viaversion_version=4.7.0-1.20-pre4-SNAPSHOT
viabackwards_version=4.7.0-1.20-pre1-SNAPSHOT viabackwards_version=4.7.0-1.20-pre3-SNAPSHOT
snake_yml_version=2.0 snake_yml_version=2.0
# raphimc libs # raphimc libs
@ -34,6 +34,6 @@ mcstructs_text_version=2.2.5
reflect_version=1.1.0 reflect_version=1.1.0
# other libs # other libs
mod_menu_version=7.0.0-beta.1 mod_menu_version=7.0.0-beta.2
netty_codec_http_version=4.1.90.Final netty_codec_http_version=4.1.90.Final
mixin_extras_version=0.2.0-beta.7 mixin_extras_version=0.2.0-beta.7

View File

@ -89,7 +89,7 @@ public abstract class MixinLivingEntity extends Entity {
return movingDown; return movingDown;
} }
@WrapWithCondition(method = "travel", @WrapWithCondition(method = "tickMovement",
slice = @Slice(from = @At(value = "FIELD", target = "Lnet/minecraft/entity/effect/StatusEffects;LEVITATION:Lnet/minecraft/entity/effect/StatusEffect;", ordinal = 0)), slice = @Slice(from = @At(value = "FIELD", target = "Lnet/minecraft/entity/effect/StatusEffects;LEVITATION:Lnet/minecraft/entity/effect/StatusEffect;", ordinal = 0)),
at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/LivingEntity;onLanding()V", ordinal = 0)) at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/LivingEntity;onLanding()V", ordinal = 0))
private boolean dontResetLevitationFallDistance(LivingEntity instance) { private boolean dontResetLevitationFallDistance(LivingEntity instance) {

View File

@ -45,7 +45,7 @@ public abstract class MixinProtocolVersion {
viafabricplus_remaps.put("1.16.4/5", new Pair<>("1.16.4-1.16.5", null)); viafabricplus_remaps.put("1.16.4/5", new Pair<>("1.16.4-1.16.5", null));
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", new Pair<>("1.20-pre2", null)); viafabricplus_remaps.put("1.20", new Pair<>("1.20-pre4", 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

@ -32,7 +32,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(ProtocolVersion.v1_20, 15, "1.20 Pre-release 2", "1.20-pre2"); registerVersion(ProtocolVersion.v1_20, 15, "1.20 Pre-release 4", "1.20-pre4");
registerVersion(ProtocolVersion.v1_19_4, 13, "1.19.4"); registerVersion(ProtocolVersion.v1_19_4, 13, "1.19.4");
registerVersion(ProtocolVersion.v1_19_3, 12, "1.19.3"); registerVersion(ProtocolVersion.v1_19_3, 12, "1.19.3");
registerVersion(ProtocolVersion.v1_19_1, 9, "1.19.2"); registerVersion(ProtocolVersion.v1_19_1, 9, "1.19.2");