Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Links
Details
Licensed MIT
Published 2 weeks ago
Updated 2 weeks ago
What this mod does?
Broken Mirror allows you to make fixed (non-mirrored) shaped recipes by simply setting recipe type as "brokenmirror:shaped_fixed". This means that your shaped recipe won't match the mirrored pattern like vanilla "minecraft:crafting_shaped" does.
For example, you can have two different symmetrical shaped recipes that won't overlap each other:
data/[your_namespace]/recipe/example1.json
{
"type": "brokenmirror:shaped_fixed",
"category": "equipment",
"key": {
"#": {
"tag": "c:rods/wooden"
},
"X": {
"tag": "minecraft:planks"
}
},
"pattern": [
"XX",
"X#"
],
"result": {
"count": 1,
"id": "minecraft:wooden_axe"
}
}
data/[your_namespace]/recipe/example2.json
{
"type": "brokenmirror:shaped_fixed",
"category": "equipment",
"key": {
"#": {
"tag": "c:rods/wooden"
},
"X": {
"tag": "minecraft:planks"
}
},
"pattern": [
"XX",
"#X"
],
"result": {
"count": 1,
"id": "minecraft:wooden_pickaxe"
}
}

CREDITS
Some of the code whas taken and adapted from Choonster's repository.




