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

Reports apostrophe in written book nbt as error when it's used correctly. #1551

Open
Tamrak-MaKai opened this issue Jul 30, 2024 · 2 comments
Labels
🐛 bug Something isn't working /nbt
Milestone

Comments

@Tamrak-MaKai
Copy link

Tamrak-MaKai commented Jul 30, 2024

When summoning a written book filled with text apostrophes in the text are written as \' however datapack helper extension sees them as errors and flags them as such. I'm quite new to datapacks so I could be wrong but It seems like this is correct.

@NeunEinser
Copy link
Contributor

Could you share an example command where this happens (best both in textform and as screenshot what's underlined).

@Tamrak-MaKai
Copy link
Author

Tamrak-MaKai commented Jul 30, 2024

Sure thing. This command gives an error but executes fine.
summon item 0.5 226 -0.5 {Item:{id:"minecraft:written_book",count:1,components:{"minecraft:written_book_content":{title:"Diary Of The Last Wanderer",author:"The Wanderer",generation:3,pages:['"\\\'"']}}}}

Screenshot from 2024-07-30 18-34-35

@MulverineX MulverineX added 🐛 bug Something isn't working /mcdoc labels Jul 30, 2024
@MulverineX MulverineX added this to the Backlog milestone Jul 30, 2024
@NeunEinser NeunEinser added /nbt and removed /mcdoc labels Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working /nbt
Projects
None yet
Development

No branches or pull requests

3 participants