NBT in overlay?

Started by Lilmrmagoo on

Topic category: User side tutorials

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBT in overlay?
Mon, 07/22/2019 - 22:50 (edited)

is there a way to make NBT tags show on a overlay?
 

Edited by Lilmrmagoo on Mon, 07/22/2019 - 22:50
No, NBT tags are bound to…
Tue, 07/23/2019 - 11:34

No, NBT tags are bound to block, item or entity. How should overlay know which block/item/entity to check?

For overlays, use global variables.

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
either you could tell it…
Tue, 07/30/2019 - 20:17

either you could tell it which one to check or it just checks the players. unless nbt doesn't work like I thought as local player stored variables

If you know which entity to…
Wed, 07/31/2019 - 08:20

If you know which entity to print, you can copy its nbt to a global session variable and print this on the overlay.

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
but then it won't work in…
Wed, 07/31/2019 - 13:55

but then it won't work in multiplayer or if you have multiple of the same entity unless you want to make a bunch of variables.

 

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also, I saw somewhere for…
Wed, 07/31/2019 - 13:57

also, I saw somewhere for nbt you have to use a is server-side block but I can't find that unless it's been renamed