Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I keep getting this and it keeps lagging the server very much and cant craft and items keep dissapearing

Featured Replies

Posted

[19:00:03] [Server thread/ERROR] [minecraft/PacketUtils]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundContainerClickPacket@1d502841, suppressing error
net.minecraft.ReportedException: Container click
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:307) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.m_5914_(ServerGamePacketListenerImpl.java:1636) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:56) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:12) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:22) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:763) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:746) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:740) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:726) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:658) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassCastException: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    at xyz.trivaxy.tia.TiaMod.onItemSlotStack(TiaMod.java:31) ~[tia-1.19.2-1.0-forge.jar%23261!/:1.19.2-1.0]
    at xyz.trivaxy.tia.__TiaMod_onItemSlotStack_ItemStackedOnOtherEvent.invoke(.dynamic) ~[tia-1.19.2-1.0-forge.jar%23261!/:1.19.2-1.0]
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.common.ForgeHooks.onItemStackedOn(ForgeHooks.java:280) ~[forge-1.19.2-43.2.8-universal.jar%23274!/:?]
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150430_(AbstractContainerMenu.java:405) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:293) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    ... 17 more
[19:00:04] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    Index: 1
    Listeners:
        0: NORMAL
        1: ASM: xyz.trivaxy.tia.TiaMod@40a61d42 onItemSlotStack(Lnet/minecraftforge/event/ItemStackedOnOtherEvent;)V
java.lang.ClassCastException: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    at TRANSFORMER/[email protected]/xyz.trivaxy.tia.TiaMod.onItemSlotStack(TiaMod.java:31)
    at TRANSFORMER/[email protected]/xyz.trivaxy.tia.__TiaMod_onItemSlotStack_ItemStackedOnOtherEvent.invoke(.dynamic)
    at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
    at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
    at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
    at TRANSFORMER/[email protected]/net.minecraftforge.common.ForgeHooks.onItemStackedOn(ForgeHooks.java:280)
    at TRANSFORMER/[email protected]/net.minecraft.world.inventory.AbstractContainerMenu.m_150430_(AbstractContainerMenu.java:405)
    at TRANSFORMER/[email protected]/net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:293)
    at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.m_5914_(ServerGamePacketListenerImpl.java:1636)
    at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:56)
    at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:12)
    at TRANSFORMER/[email protected]/net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:22)
    at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:763)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:157)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:746)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:740)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:726)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:658)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244)
    at java.base/java.lang.Thread.run(Thread.java:833)

[19:00:04] [Server thread/ERROR] [minecraft/PacketUtils]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundContainerClickPacket@34aabaee, suppressing error
net.minecraft.ReportedException: Container click
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:307) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.m_5914_(ServerGamePacketListenerImpl.java:1636) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:56) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:12) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:22) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:763) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:746) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:740) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:726) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:658) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassCastException: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    at xyz.trivaxy.tia.TiaMod.onItemSlotStack(TiaMod.java:31) ~[tia-1.19.2-1.0-forge.jar%23261!/:1.19.2-1.0]
    at xyz.trivaxy.tia.__TiaMod_onItemSlotStack_ItemStackedOnOtherEvent.invoke(.dynamic) ~[tia-1.19.2-1.0-forge.jar%23261!/:1.19.2-1.0]
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.common.ForgeHooks.onItemStackedOn(ForgeHooks.java:280) ~[forge-1.19.2-43.2.8-universal.jar%23274!/:?]
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150430_(AbstractContainerMenu.java:405) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:293) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    ... 17 more
[19:00:04] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    Index: 1
    Listeners:
        0: NORMAL
        1: ASM: xyz.trivaxy.tia.TiaMod@40a61d42 onItemSlotStack(Lnet/minecraftforge/event/ItemStackedOnOtherEvent;)V
java.lang.ClassCastException: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    at TRANSFORMER/[email protected]/xyz.trivaxy.tia.TiaMod.onItemSlotStack(TiaMod.java:31)
    at TRANSFORMER/[email protected]/xyz.trivaxy.tia.__TiaMod_onItemSlotStack_ItemStackedOnOtherEvent.invoke(.dynamic)
    at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
    at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
    at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
    at TRANSFORMER/[email protected]/net.minecraftforge.common.ForgeHooks.onItemStackedOn(ForgeHooks.java:280)
    at TRANSFORMER/[email protected]/net.minecraft.world.inventory.AbstractContainerMenu.m_150430_(AbstractContainerMenu.java:405)
    at TRANSFORMER/[email protected]/net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:293)
    at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.m_5914_(ServerGamePacketListenerImpl.java:1636)
    at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:56)
    at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:12)
    at TRANSFORMER/[email protected]/net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:22)
    at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:763)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:157)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:746)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:740)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:726)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:658)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244)
    at java.base/java.lang.Thread.run(Thread.java:833)

[19:00:04] [Server thread/ERROR] [minecraft/PacketUtils]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundContainerClickPacket@3daf2072, suppressing error
net.minecraft.ReportedException: Container click
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:307) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.m_5914_(ServerGamePacketListenerImpl.java:1636) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:56) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:12) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:22) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:763) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:746) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:740) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:726) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:658) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassCastException: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    at xyz.trivaxy.tia.TiaMod.onItemSlotStack(TiaMod.java:31) ~[tia-1.19.2-1.0-forge.jar%23261!/:1.19.2-1.0]
    at xyz.trivaxy.tia.__TiaMod_onItemSlotStack_ItemStackedOnOtherEvent.invoke(.dynamic) ~[tia-1.19.2-1.0-forge.jar%23261!/:1.19.2-1.0]
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.common.ForgeHooks.onItemStackedOn(ForgeHooks.java:280) ~[forge-1.19.2-43.2.8-universal.jar%23274!/:?]
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150430_(AbstractContainerMenu.java:405) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:293) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    ... 17 more
[19:00:05] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    Index: 1
    Listeners:
        0: NORMAL
        1: ASM: xyz.trivaxy.tia.TiaMod@40a61d42 onItemSlotStack(Lnet/minecraftforge/event/ItemStackedOnOtherEvent;)V
java.lang.ClassCastException: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    at TRANSFORMER/[email protected]/xyz.trivaxy.tia.TiaMod.onItemSlotStack(TiaMod.java:31)
    at TRANSFORMER/[email protected]/xyz.trivaxy.tia.__TiaMod_onItemSlotStack_ItemStackedOnOtherEvent.invoke(.dynamic)
    at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
    at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
    at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
    at TRANSFORMER/[email protected]/net.minecraftforge.common.ForgeHooks.onItemStackedOn(ForgeHooks.java:280)
    at TRANSFORMER/[email protected]/net.minecraft.world.inventory.AbstractContainerMenu.m_150430_(AbstractContainerMenu.java:405)
    at TRANSFORMER/[email protected]/net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:293)
    at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.m_5914_(ServerGamePacketListenerImpl.java:1636)
    at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:56)
    at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:12)
    at TRANSFORMER/[email protected]/net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:22)
    at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:763)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:157)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:746)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:740)
    at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:116)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:725)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:658)
    at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244)
    at java.base/java.lang.Thread.run(Thread.java:833)

[19:00:05] [Server thread/ERROR] [minecraft/PacketUtils]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundContainerClickPacket@4b63ae20, suppressing error
net.minecraft.ReportedException: Container click
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:307) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.m_5914_(ServerGamePacketListenerImpl.java:1636) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:56) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:12) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:22) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:763) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:746) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:740) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:116) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:725) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:658) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassCastException: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    at xyz.trivaxy.tia.TiaMod.onItemSlotStack(TiaMod.java:31) ~[tia-1.19.2-1.0-forge.jar%23261!/:1.19.2-1.0]
    at xyz.trivaxy.tia.__TiaMod_onItemSlotStack_ItemStackedOnOtherEvent.invoke(.dynamic) ~[tia-1.19.2-1.0-forge.jar%23261!/:1.19.2-1.0]
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2351!/:?]
    at net.minecraftforge.common.ForgeHooks.onItemStackedOn(ForgeHooks.java:280) ~[forge-1.19.2-43.2.8-universal.jar%23274!/:?]
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150430_(AbstractContainerMenu.java:405) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    at net.minecraft.world.inventory.AbstractContainerMenu.m_150399_(AbstractContainerMenu.java:293) ~[server-1.19.2-20220805.130853-srg.jar%23269!/:?]
    ... 17 more
 

Quote

Caused by: java.lang.ClassCastException: class net.minecraft.world.inventory.Slot cannot be cast to class xyz.trivaxy.tia.Animated (net.minecraft.world.inventory.Slot is in module [email protected] of loader 'TRANSFORMER' @902fdbe; xyz.trivaxy.tia.Animated is in module [email protected] of loader 'TRANSFORMER' @902fdbe)
    at xyz.trivaxy.tia.TiaMod.onItemSlotStack(TiaMod.java:31) ~[tia-1.19.2-1.0-forge.jar%23261!/:1.19.2-1.0]

Check you have the latest version then contact the mod author.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.