How to make an overlay that displays an NBT tag of the item in hand?

Started by TheCatalystGaming on

Topic category: Help with modding (Java Edition)

Last seen on 19:36, 13. Nov 2022
Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an overlay that displays an NBT tag of the item in hand?
Sun, 11/08/2020 - 20:42 (edited)

An overlay that can display a specific NBT tag of the item in the players main hand would be really useful for testing purposes.

Edited by TheCatalystGaming on Sun, 11/08/2020 - 20:42
You will need to write item…
Mon, 11/09/2020 - 08:53

You will need to write item data to player variable on player tick if it has your item in hand and then display this data. There is no direct link from item to player's overlay.