GeyserMC / Floodgate-Modded

Port of the hybrid mode plugin called Floodgate for Fabric and NeoForge to allow for connections from Geyser to join online mode servers.
MIT License
52 stars 18 forks source link

Floodgate-Fabric and Cardboard Error #101

Closed sky-sunnext closed 7 months ago

sky-sunnext commented 1 year ago

When Floodgate Fabric and Cardboard are placed together, an error will be reported

net.fabricmc.loader.impl.FormattedException: java.lang.NoSuchMethodError: 'net.kyori.adventure.util.Codec net.kyori.adventure.util.Codec.codec(net.kyori.adventure.util.Codec$Decoder, net.kyori.adventure.util.Codec$Encoder)'
        at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63) ~[fabric-loader-0.14.22.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.14.22.jar:?]
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.22.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.14.22.jar:?]
        at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.14.22.jar:?]
        at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) ~[fabric-launcher.jar:0.11.2]
Caused by: java.lang.NoSuchMethodError: 'net.kyori.adventure.util.Codec net.kyori.adventure.util.Codec.codec(net.kyori.adventure.util.Codec$Decoder, net.kyori.adventure.util.Codec$Encoder)'
        at net.kyori.adventure.platform.fabric.impl.NBTLegacyHoverEventSerializer.<clinit>(NBTLegacyHoverEventSerializer.java:43) ~[adventure-platform-fabric-5.8.0-SNAPSHOT-ad4822ddf3937979.jar:?]
        at net.kyori.adventure.platform.fabric.impl.service.GsonComponentSerializerProviderImpl.lambda$builder$0(GsonComponentSerializerProviderImpl.java:52) ~[adventure-platform-fabric-5.8.0-SNAPSHOT-ad4822ddf3937979.jar:?]
        at net.kyori.adventure.text.serializer.gson.GsonComponentSerializerImpl$BuilderImpl.<init>(GsonComponentSerializerImpl.java:117) ~[Cardboard-1.19.4-726.jar:?]
        at net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.builder(GsonComponentSerializer.java:77) ~[Cardboard-1.19.4-726.jar:?]
        at net.kyori.adventure.platform.fabric.impl.service.GsonComponentSerializerProviderImpl.gson(GsonComponentSerializerProviderImpl.java:36) ~[adventure-platform-fabric-5.8.0-SNAPSHOT-ad4822ddf3937979.jar:?]
        at java.util.Optional.map(Unknown Source) ~[?:?]
        at net.kyori.adventure.text.serializer.gson.GsonComponentSerializerImpl$Instances.<clinit>(GsonComponentSerializerImpl.java:48) ~[Cardboard-1.19.4-726.jar:?]
        at net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.gson(GsonComponentSerializer.java:54) ~[Cardboard-1.19.4-726.jar:?]
        at net.minecraft.class_2561$class_2562.handler$zzf000$adventure-platform-fabric$adventure$injectGson(class_2561.java:1074) ~[server-intermediary.jar:?]
        at net.minecraft.class_2561$class_2562.method_10878(class_2561.java:155) ~[server-intermediary.jar:?]
        at net.minecraft.class_156.method_656(class_156.java:431) ~[server-intermediary.jar:?]
        at net.minecraft.class_2561$class_2562.<clinit>(class_2561.java:153) ~[server-intermediary.jar:?]
        at net.minecraft.class_3274.method_14426(class_3274.java:13) ~[server-intermediary.jar:?]
        at net.minecraft.class_3274.method_14421(class_3274.java:10) ~[server-intermediary.jar:?]
        at net.minecraft.class_3255.method_14392(class_3255.java:53) ~[server-intermediary.jar:?]
        at net.fabricmc.fabric.impl.resource.loader.FabricModResourcePack.method_14407(FabricModResourcePack.java:70) ~[fabric-resource-loader-v0-0.11.7+8400c67ef4-87b02492ea26f30c.jar:?]
        at net.minecraft.class_3288.method_45274(class_3288.java:71) ~[server-intermediary.jar:?]
        at net.minecraft.class_3288.method_45275(class_3288.java:47) ~[server-intermediary.jar:?]
        at net.fabricmc.fabric.impl.resource.loader.ModResourcePackCreator.method_14453(ModResourcePackCreator.java:82) ~[fabric-resource-loader-v0-0.11.7+8400c67ef4-87b02492ea26f30c.jar:?]
        at net.fabricmc.fabric.impl.resource.loader.ModResourcePackUtil.createDefaultDataConfiguration(ModResourcePackUtil.java:118) ~[fabric-resource-loader-v0-0.11.7+8400c67ef4-87b02492ea26f30c.jar:?]
        at net.minecraft.class_3806.redirect$bol000$fabric-resource-loader-v0$replaceDefaultDataConfiguration(class_3806.java:532) ~[server-intermediary.jar:?]
        at net.minecraft.class_3806.<init>(class_3806.java:130) ~[server-intermediary.jar:?]
        at net.minecraft.class_3806.method_16714(class_3806.java:137) ~[server-intermediary.jar:?]
        at net.minecraft.class_3807.<init>(class_3807.java:12) ~[server-intermediary.jar:?]
        at net.minecraft.server.Main.main(Main.java:115) ~[server-intermediary.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468) ~[fabric-loader-0.14.22.jar:?]
        ... 4 more

It is my mods list

Loading 114 mods:
    - bowinfinityfix 2.5.0
    - c2me 0.2.0+alpha.10.65
       |-- c2me-base 0.2.0+alpha.10.65
       |-- c2me-client-uncapvd 0.2.0+alpha.10.65
       |-- c2me-fixes-chunkio-threading-issues 0.2.0+alpha.10.65
       |-- c2me-fixes-general-threading-issues 0.2.0+alpha.10.65
       |-- c2me-fixes-worldgen-threading-issues 0.2.0+alpha.10.65
       |-- c2me-fixes-worldgen-vanilla-bugs 0.2.0+alpha.10.65
       |-- c2me-notickvd 0.2.0+alpha.10.65
       |-- c2me-opts-allocs 0.2.0+alpha.10.65
       |-- c2me-opts-chunk-access 0.2.0+alpha.10.65
       |-- c2me-opts-chunkio 0.2.0+alpha.10.65
       |-- c2me-opts-math 0.2.0+alpha.10.65
       |-- c2me-opts-scheduling 0.2.0+alpha.10.65
       |-- c2me-opts-worldgen-general 0.2.0+alpha.10.65
       |-- c2me-opts-worldgen-vanilla 0.2.0+alpha.10.65
       |-- c2me-rewrites-chunk-serializer 0.2.0+alpha.10.65
       |-- c2me-rewrites-chunkio 0.2.0+alpha.10.65
       |-- c2me-server-utils 0.2.0+alpha.10.65
       |-- c2me-threading-chunkio 0.2.0+alpha.10.65
       |-- c2me-threading-lighting 0.2.0+alpha.10.65
       |-- c2me-threading-worldgen 0.2.0+alpha.10.65
       |-- com_electronwill_night-config_core 3.6.5
       |-- com_electronwill_night-config_toml 3.6.5
       |-- com_github_llamalad7_mixinextras 0.1.1
       |-- com_ibm_async_asyncutil 0.1.0
       |-- net_objecthunter_exp4j 0.4.8
       \-- org_threadly_threadly 7.0
    - cardboard ${version}
       \-- com_github_isaiahpatton_specialsource master-SNAPSHOT
    - carpet 1.4.101+v230319
    - carpet-extra 1.4.100
    - deuf_refabricated 1.1.0
    - easyauth 3.0.0-17
       |-- at_favre_lib_bcrypt 0.9.0
       |-- at_favre_lib_bytes 1.5.0
       |-- com_mysql_mysql-connector-j 8.0.33
       |-- de_mkammerer_argon2-jvm 2.11
       |-- de_mkammerer_argon2-jvm-nolibs 2.11
       |-- fabric-permissions-api-v0 0.2-SNAPSHOT
       |-- net_java_dev_jna_jna 5.12.1
       |-- org_iq80_leveldb_leveldb 0.12
       |-- org_iq80_leveldb_leveldb-api 0.12
       |-- org_mongodb_bson 4.7.2
       |-- org_mongodb_mongodb-driver-core 4.7.2
       |-- org_mongodb_mongodb-driver-sync 4.7.2
       |-- placeholder-api 2.0.0-rc.1+1.19.3
       \-- server_translations_api 2.0.0-beta.2+1.19.4-pre2
            \-- packet_tweaker 0.3.1+23w06a
    - fabric-api 0.87.0+1.19.4
       |-- fabric-api-base 0.4.28+737a6ee8f4
       |-- fabric-api-lookup-api-v1 1.6.29+504944c8f4
       |-- fabric-biome-api-v1 13.0.9+10ce000ff4
       |-- fabric-block-api-v1 1.0.8+e022e5d1f4
       |-- fabric-blockrenderlayer-v1 1.1.38+10ce000ff4
       |-- fabric-client-tags-api-v1 1.1.1+0eee1254f4
       |-- fabric-command-api-v1 1.2.31+f71b366ff4
       |-- fabric-command-api-v2 2.2.10+10ce000ff4
       |-- fabric-commands-v0 0.2.48+df3654b3f4
       |-- fabric-containers-v0 0.1.59+df3654b3f4
       |-- fabric-content-registries-v0 3.5.14+10ce000ff4
       |-- fabric-convention-tags-v1 1.5.3+6d727b51f4
       |-- fabric-crash-report-info-v1 0.2.17+aeb40ebef4
       |-- fabric-data-generation-api-v1 11.5.2+26f09d40f4
       |-- fabric-dimensions-v1 2.1.50+44c9c860f4
       |-- fabric-entity-events-v1 1.5.17+10ce000ff4
       |-- fabric-events-interaction-v0 0.6.1+4b6b93f0f4
       |-- fabric-events-lifecycle-v0 0.2.56+df3654b3f4
       |-- fabric-game-rule-api-v1 1.0.35+a1ccd7bff4
       |-- fabric-item-api-v1 2.1.21+10ce000ff4
       |-- fabric-item-group-api-v1 3.0.10+8400c67ef4
       |-- fabric-key-binding-api-v1 1.0.35+504944c8f4
       |-- fabric-keybindings-v0 0.2.33+df3654b3f4
       |-- fabric-lifecycle-events-v1 2.2.19+10ce000ff4
       |-- fabric-loot-api-v2 1.1.32+10ce000ff4
       |-- fabric-loot-tables-v1 1.1.36+9e7660c6f4
       |-- fabric-message-api-v1 5.1.5+53c11dadf4
       |-- fabric-mining-level-api-v1 2.1.44+10ce000ff4
       |-- fabric-model-loading-api-v1 1.0.2+3a1ea2f1f4
       |-- fabric-models-v0 0.4.1+a0255436f4
       |-- fabric-networking-api-v1 1.3.6+ae9c4c6af4
       |-- fabric-networking-v0 0.3.46+df3654b3f4
       |-- fabric-object-builder-api-v1 7.1.1+d63b52eaf4
       |-- fabric-particles-v1 1.1.1+86d48884f4
       |-- fabric-recipe-api-v1 1.0.13+10ce000ff4
       |-- fabric-registry-sync-v0 2.3.2+95ae8716f4
       |-- fabric-renderer-api-v1 2.4.2+90110d8df4
       |-- fabric-renderer-indigo 1.4.2+90110d8df4
       |-- fabric-renderer-registries-v1 3.2.42+df3654b3f4
       |-- fabric-rendering-data-attachment-v1 0.3.32+10ce000ff4
       |-- fabric-rendering-fluids-v1 3.0.25+10ce000ff4
       |-- fabric-rendering-v0 1.1.45+df3654b3f4
       |-- fabric-rendering-v1 2.1.5+10ce000ff4
       |-- fabric-resource-conditions-api-v1 2.3.3+10ce000ff4
       |-- fabric-resource-loader-v0 0.11.7+8400c67ef4
       |-- fabric-screen-api-v1 1.0.49+10ce000ff4
       |-- fabric-screen-handler-api-v1 1.3.25+10ce000ff4
       |-- fabric-sound-api-v1 1.0.11+10ce000ff4
       |-- fabric-transfer-api-v1 3.3.0+7bf81db9f4
       \-- fabric-transitive-access-wideners-v1 3.3.0+1b5f819af4
    - fabricloader 0.14.22
    - ferritecore 5.2.0
    - icommon 1.19
    - jade 10.4.0
    - java 17
    - lazydfu 0.1.3
    - magiclib 0.7.364+85d9866-stable
       \-- magiclib-1_19_4 0.7.364+85d9866-stable
    - minecraft 1.19.4
    - modernfix 5.6.1+mc1.19.4
    - morestats 1.2.0
    - pca 0.3.176+56ccc7d-beta
       \-- pca-1_19_4 0.3.176+56ccc7d-beta
    - proxy_protocol_support 1.0.3-fabric
       \-- io_netty_netty-codec-haproxy 4.1.89.Final
    - servux 0.1.0
    - starlight 1.1.1+fabric.ae22326
    - terralith 2.3.10
    - veinmining 1.1.2+1.19.4
       \-- spectrelib 0.12.3+1.19.2
    - viabackwards 4.7.0
    - viafabric 0.4.10+40-main
       |-- cotton-client-commands 1.1.0+1.15.2
       |-- org_yaml_snakeyaml 2.0
       \-- viafabric-mc119 0.4.10+40-main
    - viaversion 4.7.0
    - voicechat 1.19.4-2.4.20
       \-- fabric-key-binding-api-v1 1.0.32+c477957ed8
    - xaerominimap 23.6.2
    - xaeroworldmap 1.33.0
onebeastchris commented 1 year ago

Duplicate of https://github.com/GeyserMC/Floodgate-Fabric/issues/3.

onebeastchris commented 1 year ago

Although nvm, not really Do you get the same issue without cardboard installed?

onebeastchris commented 7 months ago

Closing due to no response.