Accessories

Accessories

4M Downloads

Bug: [1.21.1] Inablity to open Accessories Screen when using Arclight

Feerjais opened this issue · 5 comments

commented

What Feature Types Apply to This Bug?

API

Feature Type

No response

What Type of Bug Is This?

None

Minecraft Version

1.21.1

Mod Loader

Neoforge

Mod Loader API Version

21.1.200

The Accessories Version

1.1.0-beta.48

What Compatibility layer are you using?

Curios

The Compatibility Version

9.5.1

Is This Bug a Conflict With Another Mod?

[04:05:36 ERROR] [n.n.n.n.r.NetworkRegistry]: Failed to process a synchronized task of the payload: accessories:main java.util.concurrent.CompletionException: java.lang.ClassCastException: class net.minecraft.world.inventory.InventoryMenu cannot be cast to class io.wispforest.accessories.menu.variants.AccessoriesMenuBase (net.minecraft.world.inventory.InventoryMenu is in module [email protected] of loader 'TRANSFORMER' @601d6622; io.wispforest.accessories.menu.variants.AccessoriesMenuBase is in module [email protected]+1.21.1 of loader 'TRANSFORMER' @601d6622) at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?] at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?] at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoopMixin.java:148) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServerMixin_NeoForge.java:872) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServerMixin_NeoForge.java:170) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoopMixin.java:122) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServerMixin_NeoForge.java:855) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServerMixin_NeoForge.java:849) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoopMixin.java:111) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServerMixin_NeoForge.java:825) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServerMixin_NeoForge.java:712) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServerMixin_NeoForge.java:267) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: java.lang.ClassCastException: class net.minecraft.world.inventory.InventoryMenu cannot be cast to class io.wispforest.accessories.menu.variants.AccessoriesMenuBase (net.minecraft.world.inventory.InventoryMenu is in module [email protected] of loader 'TRANSFORMER' @601d6622; io.wispforest.accessories.menu.variants.AccessoriesMenuBase is in module [email protected]+1.21.1 of loader 'TRANSFORMER' @601d6622) at TRANSFORMER/[email protected]+1.21.1/io.wispforest.accessories.neoforge.AccessoriesInternalsImpl.lambda$openAccessoriesMenu$3(AccessoriesInternalsImpl.java:126) ~[accessories-neoforge-1.1.0-beta.48+1.21.1.jar%23379!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.lambda$openMenu$15(ServerPlayerMixin_NeoForge.java:1145) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]/net.neoforged.neoforge.common.util.FriendlyByteBufUtil.writeCustomData(FriendlyByteBufUtil.java:33) ~[neoforge-21.1.200-universal.jar%23376!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.openMenu(ServerPlayerMixin_NeoForge.java:1141) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at TRANSFORMER/[email protected]+1.21.1/io.wispforest.accessories.neoforge.AccessoriesInternalsImpl.openAccessoriesMenu(AccessoriesInternalsImpl.java:116) ~[accessories-neoforge-1.1.0-beta.48+1.21.1.jar%23379!/:?] at TRANSFORMER/[email protected]+1.21.1/io.wispforest.accessories.AccessoriesInternals.openAccessoriesMenu(AccessoriesInternals.java) ~[accessories-neoforge-1.1.0-beta.48+1.21.1.jar%23379!/:?] at TRANSFORMER/[email protected]+1.21.1/io.wispforest.accessories.Accessories.openAccessoriesMenu(Accessories.java:112) ~[accessories-neoforge-1.1.0-beta.48+1.21.1.jar%23379!/:?] at TRANSFORMER/[email protected]+1.21.1/io.wispforest.accessories.networking.server.ScreenOpen.handlePacket(ScreenOpen.java:57) ~[accessories-neoforge-1.1.0-beta.48+1.21.1.jar%23379!/:?] at TRANSFORMER/[email protected]+1.21.1/io.wispforest.accessories.networking.AccessoriesNetworking.lambda$serverHandler$1(AccessoriesNetworking.java:73) ~[accessories-neoforge-1.1.0-beta.48+1.21.1.jar%23379!/:?] at TRANSFORMER/[email protected]+1.21/io.wispforest.owo.network.OwoNetChannel.lambda$new$9(OwoNetChannel.java:156) ~[owo-lib-neoforge-0.12.15.5-beta.1+1.21.jar%23519!/:?] at TRANSFORMER/[email protected]+1.21/io.wispforest.owo.network.neoforge.NeoOwoNetworking.lambda$onNetworkRegister$0(NeoOwoNetworking.java:66) ~[owo-lib-neoforge-0.12.15.5-beta.1+1.21.jar%23519!/:?] at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.handling.ServerPayloadContext.enqueueWork(ServerPayloadContext.java:32) ~[neoforge-21.1.200-universal.jar%23376!/:?] at TRANSFORMER/[email protected]+1.21/io.wispforest.owo.network.neoforge.NeoOwoNetworking.lambda$onNetworkRegister$1(NeoOwoNetworking.java:59) ~[owo-lib-neoforge-0.12.15.5-beta.1+1.21.jar%23519!/:?] at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.handling.MainThreadPayloadHandler.lambda$handle$0(MainThreadPayloadHandler.java:16) ~[neoforge-21.1.200-universal.jar%23376!/:?] at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoopMixin.java:60) ~[server-1.21.1-20240808.144430-srg.jar%23375!/:?] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] ... 13 more

Client Log

No response

Crash Report (if applicable)

No response

Steps to Reproduce

a

What You Expect To Happen

a

What Actually Happened

When I try to open the accessories screen, it throws this error and doesn’t open.

Additional Details

No response

Please Read and Confirm The Following

  • I have confirmed this bug is on the most recently supported version of Minecraft.
  • I have confirmed the details provided in this report are concise as possible and does not contain vague information (ie. Versions are properly recorded, answers to questions are clear).
  • I have confirmed this bug is unique and has not been reported already.
  • If playing on a modpack, I have reported this bug to their issue tracker already.
commented

Sorry for the late response to this, but does this happen constantly,y and are you connecting to a single-player or multiplayer world?

commented
Image Image

With these versions can access the menu, but when changing dimensions it often bugs out.

commented

It always happens to me, it’s a server with Arclight, no player is able to access the accessories menu.
I had to downgrade Accessories and owo-lib for it to work properly.

commented

Testing within development and connecting to a dedicated server, it works without issue so i wonder if its a issue with Arclight.

commented

I’ve reported it to Arclight but haven’t received a response yet
It only happens with the latest versions of accesories and owo lib