NBT Tags aren't working properly for me.

Started by Memorie on

Topic category: Help with modding (Java Edition)

Last seen on 08:44, 5. Jun 2020
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBT Tags aren't working properly for me.
Thu, 05/07/2020 - 20:29 (edited)

So I have a boolean variable that used to be triggered with global variables. The variable would turn on an overlay and would grant the player with small perks. I changed the global variable to an NBT tag so that it would only effect the player who triggers the variable, but now nothing works. The overlay doesn't turn on and half of the perks don't activate. I've made sure that everything that the global variable was connected to was connected to the NBT tag, but it still just doesn't work and I have no idea why it's not working. The same thing happens with my integer variable. Please help.

Edited by Memorie on Thu, 05/07/2020 - 20:29
Last seen on 05:29, 31. Jan 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
unfortunately its a server…
Sun, 05/10/2020 - 07:08

unfortunately its a server/client side problem. overlays are on client side only, while you're setting your nbt tag probably mostly on the server side.

its an open issue: https://mcreator.net/tracker/issue/55702

Last seen on 08:44, 5. Jun 2020
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah, ok. Thanks.
Tue, 05/12/2020 - 01:02

Ah, ok. Thanks.