mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-22 11:56:21 +01:00
Updated Via* libraries
This commit is contained in:
parent
1b2e1e09f9
commit
f09d97775e
@ -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.2)
|
- Release (1.0.0 - 1.20.3 snapshot)
|
||||||
- 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))
|
||||||
|
@ -18,13 +18,13 @@ raknet_transport_version=1.0.0.CR1-SNAPSHOT
|
|||||||
classic4j_version=1.2.1
|
classic4j_version=1.2.1
|
||||||
|
|
||||||
# viaversion (and required) libs
|
# viaversion (and required) libs
|
||||||
viaversion_version=4.8.0
|
viaversion_version=4.9.0-23w40a-SNAPSHOT
|
||||||
viabackwards_version=4.8.0
|
viabackwards_version=4.9.0-23w40a-SNAPSHOT
|
||||||
|
|
||||||
vialoader_version=2.2.9
|
vialoader_version=2.2.11-SNAPSHOT
|
||||||
|
|
||||||
vialegacy_version=2.2.19
|
vialegacy_version=2.2.21-SNAPSHOT
|
||||||
viaaprilfools_version=2.0.9
|
viaaprilfools_version=2.0.10-SNAPSHOT
|
||||||
viabedrock_version=0.0.3-SNAPSHOT
|
viabedrock_version=0.0.3-SNAPSHOT
|
||||||
|
|
||||||
# raphimc libs
|
# raphimc libs
|
||||||
|
@ -17,15 +17,15 @@
|
|||||||
*/
|
*/
|
||||||
package de.florianmichael.viafabricplus.injection.mixin.fixes.viaversion;
|
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 com.viaversion.viaversion.libs.opennbt.tag.limiter.TagLimiter;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
import org.spongepowered.asm.mixin.Unique;
|
import org.spongepowered.asm.mixin.Unique;
|
||||||
import org.spongepowered.asm.mixin.injection.At;
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
import org.spongepowered.asm.mixin.injection.Redirect;
|
import org.spongepowered.asm.mixin.injection.Redirect;
|
||||||
|
|
||||||
@Mixin(value = NBTType.class, remap = false)
|
@Mixin(value = NamedCompoundTagType.class, remap = false)
|
||||||
public class MixinNBTType {
|
public class MixinNamedCompoundTagType {
|
||||||
|
|
||||||
@Unique
|
@Unique
|
||||||
private static final TagLimiter viafabricplus_tag_limiter = new TagLimiter() {
|
private static final TagLimiter viafabricplus_tag_limiter = new TagLimiter() {
|
@ -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.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<>("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;"))
|
@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;"))
|
||||||
|
@ -147,7 +147,7 @@
|
|||||||
"fixes.vialegacy.MixinProtocolc0_30toc0_30cpe",
|
"fixes.vialegacy.MixinProtocolc0_30toc0_30cpe",
|
||||||
"fixes.vialegacy.MixinViaLegacyConfig",
|
"fixes.vialegacy.MixinViaLegacyConfig",
|
||||||
"fixes.viaversion.MixinCommonBoss",
|
"fixes.viaversion.MixinCommonBoss",
|
||||||
"fixes.viaversion.MixinNBTType",
|
"fixes.viaversion.MixinNamedCompoundTagType",
|
||||||
"fixes.viaversion.MixinProtocolVersion",
|
"fixes.viaversion.MixinProtocolVersion",
|
||||||
"fixes.viaversion.protocol1_11to1_10.MixinEntityIdRewriter",
|
"fixes.viaversion.protocol1_11to1_10.MixinEntityIdRewriter",
|
||||||
"fixes.viaversion.protocol1_11to1_10.MixinProtocol1_11To1_10",
|
"fixes.viaversion.protocol1_11to1_10.MixinProtocol1_11To1_10",
|
||||||
|
Loading…
Reference in New Issue
Block a user