#crafting wont work for blocks with custom geometry (not experimental)
1 messages · Page 1 of 1 (latest)
{
"format_version": "1.20.30",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "test:acacia_wall"
},
"tags": [
"stonecutter"
],
"ingredients": [
"minecraft:planks:4"
],
"result": {
"item": "test:acacia_wall",
"count": 2
}
}
}
{
"format_version": "1.20.30",
"minecraft:recipe_shaped": {
"description": {
"identifier": "test:birch_wall"
},
"tags": ["crafting_table"],
"pattern": [
"/ ",
"/ ",
"/ "
],
"key": {
"/": {
"item": "test:birch_wall",
"data": 2
}
},
"result": {
"item": "shapestudio:birch_vertical_slab",
"count": 6
}
}
}
Any content log?
Something I noticed is that with 1.20.30, there is a new component that sets what item will unlock the recipe(I'm not at my computer ATM, so I can't see it) If that isn't included, it seems to make the recipe not work if unlockable crafting is enabled in the world
Nothing. There was no errors. Didn't even recognize it
Is that component necessary?
I tried the crafting table component and it just turned my block into a crafting table
Sorry, I meant a component in the recipe file. The component is unlock. An example of it in the vanilla diamond pickaxe recipe:```json
{
"format_version": "1.20.10",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:diamond_pickaxe"
},
"tags": [ "crafting_table" ],
"pattern": [
"XXX",
" # ",
" # "
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "minecraft:diamond"
}
},
"unlock": [
{
"item": "minecraft:diamond"
}
],
"result": {
"item": "minecraft:diamond_pickaxe"
}
}
}```
This would make it so you can use the recipe once you have a diamond.
Upon further inspection, this recipe component only works for vanilla crafting tables. So the only real solution seems to be turning off recipe unlocking in the world settings
i tried it in 1.12 too and it didnt work
this is the same crafting recipe in a different pack that i downloaded onlin
and it dont work in my pack
{
"format_version": 1.12,
"minecraft:recipe_shaped": {
"description": {
"identifier": test:birch_wall"
},
"tags": [
"crafting_table"
],
"pattern": [
"W ",
"W ",
"W "
],
"key": {
"W": {
"item": "minecraft:planks",
"data": 2
}
},
"result": {
"item": "test:birch_birch_wall",
"count": 6
}
}
}
i tried tinkering with the min engine. nothing i put worked
how do i turn off unlockable crafting
actually nvm the other pack worked regardless
so not sure if thats the problem
You turn it off in the world options.
I will try it
With this recipe, you have the result as test:birch_birch_wall. Is that the item identifier, or is it test:birch_wall?
It's a different name altogether. I'm changing it so you don't know what the real block name is
Nda
Gotcha
recipes unlock is not on
maybe if i switch to the new component documentation in 1.20.1 it might agree with the block its trying to craft
1.12 is super far away from 1.20.30
Weird. That's the only issue I've run into preventing recipes from appearing without something being wrong with the json itself. I know that some json errors will prevent the file from being parsed without throwing anything into the content log, so I'd reccomend double checking everything as well as whatever other solutions you have
ill try it
i fixed it
I code in vs and then use notepad to mass produce that code and change the block ids and texture in each file
but notepad doesnt handle json files that well
recipes require json files to work, so i had to do them in visual studio instead