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

Enchanted Book? Question #24

Open
RealCottonCandyPimp opened this issue Jun 4, 2020 · 2 comments
Open

Enchanted Book? Question #24

RealCottonCandyPimp opened this issue Jun 4, 2020 · 2 comments

Comments

@RealCottonCandyPimp
Copy link

RealCottonCandyPimp commented Jun 4, 2020

If I want to make a custom recipe for feather falling or riptide or any enchantment, how do I need to write the code in a .json file? I have two problems that say that the code doesn't work.

Example:
....
}
},
"result": {
"item": "minecraft:enchanted_book",
"count": 1
"StoredEnchantments:[{id:featherfalling,lvl:1s}]"
}
}

Have tried making it a bit simple but I get the error codes

Expected comma
Colon Expected

Don't know why they are occurring, help would be much appreciated
Skärmavbild 2020-06-04 kl  10 21 50

@simon511000
Copy link

simon511000 commented Jun 4, 2020

hi @RealCottonCandyPimp
you forgot a comma here "count": 1
and there is a problem here : "StoredEnchantments:[{id:featherfalling,lvl:1s}]"
it should be : "StoredEnchantments": [{id:featherfalling,lvl:1s}]
I advise you to use a site like https://jsonformatter.curiousconcept.com/ to check your files

@RealCottonCandyPimp
Copy link
Author

Thanks and thanks for letting me know about that website

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