NBT in overlay?

Started by Lilmrmagoo on Mon, 07/22/2019 - 22:49

Topic category: User side tutorials

Last seen on 08:23, 15. Jun 2020
Joined Apr 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 08:23, 15. Jun 2020
Joined Apr 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 08:23, 15. Jun 2020
Joined Apr 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

 

Last seen on 08:23, 15. Jun 2020
Joined Apr 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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