NBT tags for items not sync with server

Started by Spoody_26 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Nov 2021
Points:
516

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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

Active 7 months ago
Joined Feb 2016
Points:
819

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 127
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