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

Add a function about NBT Path #1712

Closed
icer233 opened this issue Jan 5, 2025 · 1 comment
Closed

Add a function about NBT Path #1712

icer233 opened this issue Jan 5, 2025 · 1 comment
Labels
🐛 bug Something isn't working 📄 vanilla-mcdoc

Comments

@icer233
Copy link

icer233 commented Jan 5, 2025

  1. To create some special weapons i would add an additional tag to mark it, like below (ltn:10s)
give @s minecraft:diamond_sword{ltn:10s,Unbreakable:1b,display:{Name:'{"text":"\\u00a7b\\u00a7l雷霆剑"}',Lore:['{"text": "\\u00a77闪电 I(10%)"}']},Enchantments:[{}]} 1

however, the extension always report error: Unkown key "ltn", which makes me feel annoyed.
so i hope you can add a function that allows user to cancel the error report in some ways, such as writing somrthing in a config file or pressing a button to ignore it or mark it as sth.

  1. the same as the first one , i hope it wont report error in other occasions , such as the command below
execute on attacker store result score ltn_possibility temp1 run data get entity @s SelectedItem.tag.ltn
@misode
Copy link
Member

misode commented Feb 6, 2025

I believe this may have been fixed by SpyglassMC/vanilla-mcdoc@5c52b69

Sorry for neglecting this issue for so long!

@misode misode closed this as completed Feb 6, 2025
@misode misode added 🐛 bug Something isn't working 📄 vanilla-mcdoc labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 📄 vanilla-mcdoc
Projects
None yet
Development

No branches or pull requests

2 participants