NBT tags not updating

Started by Robotoo on Wed, 12/02/2020 - 08:58

Topic category: Help with MCreator software

Last seen on 20:27, 6. Dec 2020
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
NBT tags not updating
Wed, 12/02/2020 - 08:58

im making a game with basically a custom energy type called cursed energy and basically i want to make it so that when you kill an ennemy that has a tag called curse then the cursedenergy tag will update by its original value + the ennemy's cursedenergyEXP / player's cursedenergy tag /2

its just a little formula for a level system probably not that good.

i put that in a global procedure with the trigger being entity dies and the if arguemnt being if target entity get iscurse tag == true.

i know this argument is getting passed because i tested it

i set it so that i have an overlay showing the cursedenergy tag on the screen but when i kill these ennemies nothing happens.

thanks for checking this out

 

Entity NBT tags are not…
Thu, 12/03/2020 - 10:12

Entity NBT tags are not synced to client side (GUI). Use player variables for this.

Last seen on 20:27, 6. Dec 2020
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thanks a lot for this…
Thu, 12/03/2020 - 11:12

thanks a lot for this response

Last seen on 20:27, 6. Dec 2020
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
and how would i go about…
Thu, 12/03/2020 - 11:20

and how would i go about making a player variable doi need to use a local variable with a special procedure like when player joins world or is there just something im missing?