Updated Via API usage

This commit is contained in:
RaphiMC 2023-12-10 12:26:52 +01:00
parent 652b6e0c61
commit 8c68e11cee
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94
3 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ maven_group=de.florianmichael
archives_base_name=viafabricplus
# ViaVersion Libraries
viaversion_version=4.9.2
viaversion_version=4.9.3-SNAPSHOT
viabackwards_version=4.9.2-SNAPSHOT
vialegacy_version=2.2.22-SNAPSHOT
viaaprilfools_version=2.0.11-SNAPSHOT

View File

@ -21,7 +21,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.viaversion;
import com.viaversion.viaversion.libs.gson.JsonElement;
import com.viaversion.viaversion.libs.gson.JsonNull;
import com.viaversion.viaversion.libs.opennbt.tag.builtin.Tag;
import com.viaversion.viaversion.protocols.protocol1_20_3to1_20_2.Protocol1_20_3To1_20_2;
import com.viaversion.viaversion.protocols.protocol1_20_3to1_20_2.util.ComponentConverter;
import net.lenni0451.mcstructs.text.ATextComponent;
import net.lenni0451.mcstructs.text.serializer.TextComponentCodec;
import net.lenni0451.mcstructs.text.serializer.TextComponentSerializer;
@ -30,8 +30,8 @@ import net.raphimc.vialegacy.api.util.converter.NbtConverter;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Overwrite;
@Mixin(value = Protocol1_20_3To1_20_2.class, remap = false)
public abstract class MixinProtocol1_20_3To1_20_2 {
@Mixin(value = ComponentConverter.class, remap = false)
public abstract class MixinComponentConverter {
/**
* @author RK_01

View File

@ -170,6 +170,7 @@
"fixes.viaversion.MixinChatItemRewriter",
"fixes.viaversion.MixinCommandBlockProvider",
"fixes.viaversion.MixinCommonBoss",
"fixes.viaversion.MixinComponentConverter",
"fixes.viaversion.MixinEntityIdRewriter",
"fixes.viaversion.MixinEntityPackets1_17",
"fixes.viaversion.MixinEntityPackets1_19_4",
@ -185,7 +186,6 @@
"fixes.viaversion.MixinProtocol1_11To1_10",
"fixes.viaversion.MixinProtocol1_12To1_11_1",
"fixes.viaversion.MixinProtocol1_20_2To1_20",
"fixes.viaversion.MixinProtocol1_20_3To1_20_2",
"fixes.viaversion.MixinTagType",
"fixes.viaversion.MixinUserConnectionImpl",
"fixes.viaversion.MixinWorldPackets1_16_2",