Any way to use Entity NBT variables?

Started by tenkai13 on Fri, 05/14/2021 - 09:35

Topic category: Help with modding (Java Edition)

Last seen on 00:36, 13. Jul 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Any way to use Entity NBT variables?
Fri, 05/14/2021 - 09:49 (edited)

i want to use the entity NBT variables but it seems to crash the game, i really want to use they cuz they give me more possibilites, it has any way to use them without any crash or bug??

player variables seems limited to me :/

 

https://prntscr.com/12x2k1s

the procedure that is not working (triggered on block tick update)

 

Edited by tenkai13 on Fri, 05/14/2021 - 09:49
Last seen on 00:36, 13. Jul 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
  What means "not synced…
Fri, 05/14/2021 - 09:45

the thing that is not working

 

What means "not synced between client and server" ? is this the problem?

Last seen on 01:19, 20. Jul 2021
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This means that value on…
Fri, 05/14/2021 - 10:06

This means that value on client will not change itself if it changes on server. Basically that means that if you change it it will not update on any display. Such as overlay or gui.

You need to sync them manually but I don't think that you can send packets with procedures.

Last seen on 00:36, 13. Jul 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i need to this server thing…
Fri, 05/14/2021 - 10:12

i need to this server thing works to use my mod on singleplayer?

is this the reason why my game is closing?