Updated Via* libraries

This commit is contained in:
FlorianMichael 2023-10-07 19:57:23 +02:00
parent 1b2e1e09f9
commit f09d97775e
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
5 changed files with 11 additions and 10 deletions

View File

@ -14,7 +14,7 @@
# 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.
### Supported Server versions
- Release (1.0.0 - 1.20.2)
- Release (1.0.0 - 1.20.3 snapshot)
- 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))

View File

@ -18,13 +18,13 @@ raknet_transport_version=1.0.0.CR1-SNAPSHOT
classic4j_version=1.2.1
# viaversion (and required) libs
viaversion_version=4.8.0
viabackwards_version=4.8.0
viaversion_version=4.9.0-23w40a-SNAPSHOT
viabackwards_version=4.9.0-23w40a-SNAPSHOT
vialoader_version=2.2.9
vialoader_version=2.2.11-SNAPSHOT
vialegacy_version=2.2.19
viaaprilfools_version=2.0.9
vialegacy_version=2.2.21-SNAPSHOT
viaaprilfools_version=2.0.10-SNAPSHOT
viabedrock_version=0.0.3-SNAPSHOT
# raphimc libs

View File

@ -17,15 +17,15 @@
*/
package de.florianmichael.viafabricplus.injection.mixin.fixes.viaversion;
import com.viaversion.viaversion.api.type.types.minecraft.NBTType;
import com.viaversion.viaversion.api.type.types.minecraft.NamedCompoundTagType;
import com.viaversion.viaversion.libs.opennbt.tag.limiter.TagLimiter;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Unique;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;
@Mixin(value = NBTType.class, remap = false)
public class MixinNBTType {
@Mixin(value = NamedCompoundTagType.class, remap = false)
public class MixinNamedCompoundTagType {
@Unique
private static final TagLimiter viafabricplus_tag_limiter = new TagLimiter() {

View File

@ -46,6 +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.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.3", new Pair<>("23w40a", 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;"))

View File

@ -147,7 +147,7 @@
"fixes.vialegacy.MixinProtocolc0_30toc0_30cpe",
"fixes.vialegacy.MixinViaLegacyConfig",
"fixes.viaversion.MixinCommonBoss",
"fixes.viaversion.MixinNBTType",
"fixes.viaversion.MixinNamedCompoundTagType",
"fixes.viaversion.MixinProtocolVersion",
"fixes.viaversion.protocol1_11to1_10.MixinEntityIdRewriter",
"fixes.viaversion.protocol1_11to1_10.MixinProtocol1_11To1_10",