Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CIT] Usable NBT Tag name with dots #7084

Open
Rag404 opened this issue Aug 28, 2022 · 1 comment
Open

[CIT] Usable NBT Tag name with dots #7084

Rag404 opened this issue Aug 28, 2022 · 1 comment

Comments

@Rag404
Copy link

Rag404 commented Aug 28, 2022

Description of the new feature

I found out while trying to mak a texture pack for the datapack FokaStudio's Ender Expansion that the author had named one of the NBT tags foka.special_item.
However because there is a dot in the middle of the name you can't check for the tag when making a CIT.

Right now if you try to check for the tag in my properties file using nbt.foka.special_item=foo it doesn't work as it thinks that special_item is a child of foka.

What I think could work would be to allow the use of quotation marks nbt."foka.special_item"=foo like when using the /data command in vanilla minecraft /data get entity @s SelectedItem.tag."foka.special_item"

@kohy-creates
Copy link

I also noticed such issue (yes, I am the pack developer)
such a quality of life feature would benefit not only me, but a lot of other DP creators that would want to use NBT CIT checks for textures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants