[Suggestion] NBT support
Hey, I started using your mod recently and so far I've been enjoying its features.
I have a suggestion for additional variables that could set your mod apart.
As most of the data in Minecraft is NBT driven, adding support for player, item, target entity, target block, you name it, NBT tag objects in profiles could massively increase the amount of possible displayable data on screen.
Some examples of vanilla tags like fly, walk speed, food saturation, entity tags i.e. invulnerable, block tags, age, block states, etc. are all useful info that players might be interested in displaying on their screen. You as a mod creator on the other hand, wouldn't have to go through the effort of adding those to the mod separately, as they could all be accessed easily with the inclusion of NBT support instead.
The main feature of this addition would however be its ability to read and display custom and mod-specific NBT components. MInecraft re-wrote NBT in 1.21.4 and custom NBT is all sorted in one minecraft:custom_data tag, making it easier to access all its individual components, as they are now also sorted based on data types. Players could also access mod-specific tags without utilizing any mod dependencies, as they all already are stored in game. Massive customization opportunity.
Myself, as a server owner, I saw an opportunity to access and display some crucial information client-side on my screen for my own convenience, as my server stores a lot of its entity and item data in various NBT tags. Combat stats, amount of currency, player level are some of the things on top of my head that I could display somewhere on my screen with this one addition. I'm sure there's plenty more server owners who could benefit from NBT support in your mod.
Data could be accessed through simple variables; {entity/nbt:} {player/custom_nbt:}
Hopefully you can see the benefits of NBT support and will consider this suggestion. Thanks :)
Hey! This is already on the todo, and will probably be the thing I get to after I finish the block and item list variables.
speed, food saturation, entity tags i.e. invulnerable, block tags, age, block states
Attributes like speed is already supported.
Your saturation (though not someone else's) is supported, though without another mod, the server doesn't update the client enough for it to be useful
block/entity tags and block state aren't stored in it's nbt. Right now you can get the target blocks tags, but once the list variable is done. You can get any block's (if you have op).
One thing that light be a problem it's how much the server tells the client. We already know saturation is not updated often, do it's possibly a lot of components/nbt is never synced
Also a duplicate of #96