Skip to content

[Suggestion] NBT support #154

@Kapoonfleek

Description

@Kapoonfleek

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions