I'm making an add-on that, among other things, allows un-crafting of slabs. Up until this point I have successfully created about two dozens recipes for this pack with no issues (that weren't easy to figure out). But for some reason only the wooden slabs as well as the purpur and quartz (regular only) slabs are working, and I can't figure out why. I simply copied and pasted the data (editing the relevant values) after making the first one.
Hey man this is a great idea for a recipe! That's awesome! But I think the issue here is tagging it only for crafting table, you can take out that line completely since it can be done in a 2x2 crafting table. And I don't think you need to do the count=1 portion. I took out both and I got Red Sandstone to work!
I'm making an add-on that, among other things, allows un-crafting of slabs. Up until this point I have successfully created about two dozens recipes for this pack with no issues (that weren't easy to figure out). But for some reason only the wooden slabs as well as the purpur and quartz (regular only) slabs are working, and I can't figure out why. I simply copied and pasted the data (editing the relevant values) after making the first one.
I'm making an add-on that, among other things, allows un-crafting of slabs. Up until this point I have successfully created about two dozens recipes for this pack with no issues (that weren't easy to figure out). But for some reason only the wooden slabs as well as the purpur and quartz (regular only) slabs are working, and I can't figure out why. I simply copied and pasted the data (editing the relevant values) after making the first one.
Here is one that isn't working:
{
"format_version": "1.12",
"minecraft:recipe_shaped": {
"description": {
"identifier": "mccr:red_sandstone_slab_un"
},
"tags": [ "crafting_table" ],
"pattern": [
"i",
"i"
],
"key": {
"i": {
"item": "minecraft:stone_slab2",
"data": 0
}
},
"result": {
"item": "minecraft:red_sandstone",
"data": 0,
"count": 1
}
}
}
And one that is:
{
"format_version": "1.12",
"minecraft:recipe_shaped": {
"description": {
"identifier": "mccr:purpur_slab_un"
},
"tags": [ "crafting_table" ],
"pattern": [
"i",
"i"
],
"key": {
"i": {
"item": "minecraft:stone_slab2",
"data": 1
}
},
"result": {
"item": "minecraft:purpur_block",
"data": 0,
"count": 1
}
}
}{
"format_version": "1.12",
"minecraft:recipe_shaped": {
"description": {
"identifier": "mccr:acacia_slab_un"
},
"tags": [ "crafting_table" ],
"pattern": [
"i",
"i"
],
"key": {
"i": {
"item": "minecraft:wooden_slab",
"data": 4
}
},
"result": {
"item": "minecraft:planks",
"data": 4,
"count": 1
}
}
}
I can't find what I did wrong and I know the JSON is valid.
Any help is appreciated.
--edit--
Turns out I was wrong about purpur and quartz, I wasn't paying attention and mistook existing recipes for it working.
--edit--
Solved the issue as it turns out that the obtainable versions of the stone slabs are the double versions for some reason
Hey man this is a great idea for a recipe! That's awesome! But I think the issue here is tagging it only for crafting table, you can take out that line completely since it can be done in a 2x2 crafting table. And I don't think you need to do the count=1 portion. I took out both and I got Red Sandstone to work!