#crafting wont work for blocks with custom geometry (not experimental)

1 messages · Page 1 of 1 (latest)

safe shard
#

i tried shapeless for stonecutters and shaped for crafting table, both do not work

#

{
"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
        }
    }

}

eternal pivot
#

Any content log?

novel hull
safe shard
safe shard
#

I tried the crafting table component and it just turned my block into a crafting table

novel hull
# safe shard I tried the crafting table component and it just turned my block into a crafting...

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

safe shard
#

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

safe shard
#

actually nvm the other pack worked regardless

#

so not sure if thats the problem

novel hull
safe shard
#

I will try it

novel hull
safe shard
#

It's a different name altogether. I'm changing it so you don't know what the real block name is

#

Nda

novel hull
#

Gotcha

safe shard
#

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

novel hull
#

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

safe shard
#

ill try it

safe shard
#

yeah i tried it with the unlocking component

#

didnt work either

safe shard
#

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