NBT Tags to Text

Started by tbroski on

Topic category: Advanced modding

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBT Tags to Text

This is regards to 'entity stored NBT' tags. Specifically, I want to show the value of an NBT tag in a GUI. However, I want the variable to be specific to the player and not to the server/world/map (global variables).

Simply, I want to show an 'entity stored NBT' to the player/entity without using global variables because that would inflict with other players, Right?

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
GLOBAL_SESSION will not…
Fri, 10/25/2019 - 07:57

GLOBAL_SESSION will not conflict with other players as every player has their own instance of each GLOBAL_SESSION variable.

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh great, thanks for the…
Fri, 10/25/2019 - 11:46

Oh great, thanks for the information! 

Last seen on 16:48, 15. Apr 2023
Joined Jul 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can I do this with NBT tag…
Mon, 12/09/2019 - 17:53

Can I do this with NBT tag for blocks.

For exemple I am doing a mod with energy but I don't know how to set the energy NBT in a label text. 

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am sure you could just try…
Tue, 12/10/2019 - 01:32

I am sure you could just try it out I guess. As long as you can set the NBT tag to a GLOBAL_SESSION variable I think it should we work.

 

I'm not to sure though

Last seen on 16:48, 15. Apr 2023
Joined Jul 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for the answer but if…
Tue, 12/10/2019 - 16:28

Thanks for the answer but if I put 2 redstone generator it will be strange because it is comming to bug because one variable wil be replaced by two NBT so it will bug.