Structure
Use the structure requirement in a Crafttweaker recipe
//Only requires the structure
.requireStructure(String[][] pattern, Map<char, String> keys)
//Destroys the structure (DON'T drop the blocks)
.destroyStructure(String[][] pattern, Map<char, String> keys)
//Break the structure (drops the blocks)
.breakStructure(String[][] pattern, Map<char, String> keys)
//Place the structure (drops the replaced blocks)
.placeStructure(String[][] pattern, Map<char, String> keys, true)
//Place the structure (DON'T drop the replaced blocks)
.placeStructure(String[][] pattern, Map<char, String> keys, false)Example
.requireStructure([[
"aaa",
"a a",
"aaa",
" m "
]], {"a": "minecraft:stone"})