Items disappearing

Started by xanderreyes on

Topic category: Troubleshooting, bugs, and solutions

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Items disappearing

For some reason I can't get items to stay on my inventory. After a second they disappear, even vanilla items. i am using the ~1.21.1 of NeoForge but even with 1.21.4 it invoked the same issue. https://youtu.be/LDKU3WwN3A4 Here's how the issue looks like. I'm running this on Linux but i feel like the OS shouldn't matter.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This sounds like a client…
Thu, 05/29/2025 - 20:20

This sounds like a client-server desynchronization issue. Although from how you described it, I can't tell exactly what would be causing it.

If you have a procedure that adds or removes items from the player's inventory, put whatever procedure you are running that modifies the player's inventory in an if block with the condition 'not' 'is provided world client-side'

If you are trying to play on a server, double check that whatever server you are playing on has the correct modloader and your mod installed.

If neither of those work, please explain more in-depth when the issue started and what you were doing when it started.

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh yes. it was one of my…
Thu, 05/29/2025 - 20:45

oh yes. it was one of my procedures that was causing this.
thank you so much! I spent like almost 2 days figuring this out. and you figured it out in a few minutes, you are a genius.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm glad I was able to help
Thu, 05/29/2025 - 21:02

I'm glad I was able to help