NBT tags for items not sync with server

Started by Spoody_26 on

Topic category: Help with modding (Java Edition)

Last seen on 05:49, 25. Sep 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBT tags for items not sync with server

Hey , its been a while :)

I still have a problem with the NBT Tags. I understand that instead of using NBT tags for players, it´s better to use global variables like player_persistent.

But in my case I give a nonstackable item some NBT tags because this item is supposed to store certain information. (no player should have these information, only the item - respectively the player transfers these information onto the item so the player doesnt have them anymore).

The problem on multiplayer here, however, is that it is still not synchronized with the server. Is there a way to bypass this?

Something like a global Item_persistent variable xD ?

It would help me very much! Thank you! <3

Last seen on 02:45, 27. Apr 2024
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For some reason i cannot…
Tue, 01/31/2023 - 18:38

For some reason i cannot apply any nbt to anything including items, idk if it's bugged or what the heck is happening but i can't use them at all. The tags don't change at all