Hello everyone, I am currently following KaupenJoe's tutorials for version 1.20.X. I am aware that there are differences compared to version 1.21, but I decided to give it a try anyway. However, when creating a custom recipe, it doesn't work, and after extensive research, the only possible error seems to be the change in the file name from "recipes" to "recipe, even after trying both name in my data folder still not working, any other sugestions (sorry if my english is bad) Thank you in advance.
#Recipe creation
11 messages · Page 1 of 1 (latest)
{
"type": "minecraft:crafting_shaped",
"category": "building",
"key": {
"#": {
"item": "firstmod:crampte"
}
},
"pattern": [
"###",
"###",
"###"
],
"result": {
"count": 1,
"id": "firstmod:blocsex"
}
}
I have checked almost everything: the block name, the syntax is the same as the iron block, and I have tried changing the directory name to "recipes" and "recipe" since it has changed in Minecraft since version 1.21.
Hello, the syntax is indeed right, it worked in my mod with my items. Is your recipe in that path:
resources/data/mod_name/recipe/item.json?
when use recipe/item.json instead of recipes/item.json, this error showed up (it's not doing it with the s)
File name must be all lowercase
{
"type": "minecraft:crafting_shapeless",
"category": "building",
"ingredients": [
{
"item": "tutorialmod:ruby_block"
}
],
"result": {
"item": "tutorialmod:ruby",
"count": 9
}
}
My recipes are not recognized by the games in 1.21
I would like to understand what I am doing wrong
Folder : recipe
Files:ruby_from_ruby_block.json
"item" in "result" field was renamed to "id" in 1.20.5