Hi,
I am new to modding and have a basic block and item thanks to a nice tutorial by suppergerrie2 - https://suppergerrie2.com/minecraft-1-14-modding-with-forge-1-setting-up-a-dev-environment/
These work in the game but the recipes for them do not show up in a crafting bench. I have created the json files as:
{
"type": "minecraft:crafting_shaped",
"pattern":
[
"xx",
"xx"
],
"key":
{
"x":
{
"item": "cobra:chalk_dust"
}
},
"result":
{
"item": "cobra:chalk_block",
"data": 0,
"count": 1
}
}
and
{
"type": "minecraft:crafting_shaped",
"pattern":
[
"x"
],
"key":
{
"x":
{
"item": "cobra:chalk_block"
}
},
"result":
{
"item": "cobra:chalk_dust",
"data": 0,
"count": 4
}
}
These files are in the assets\cobra\recipes\ folder inside the created jar file.
I have not written any code to register the recipes as this seemed to be done automatically by Forge, but have I missed any steps to get these recipes to show up?
My full code is here - https://github.com/ed-webb/cobra I am using version forge-1.14.4-28.1.0
Thanks