Overview
This mod adds a workbench that allows for item dismantling. You can create and add your own dismantling recipes for this workbench via a datapack. Additionally, you can choose whether to enable or disable vanilla dismantling recipes through the configuration file.
How to add custom recipes using a datapack
[data/<Datapack name>/dismantling/] You can add your own recipes by including a JSON file containing the recipes.
JSON file format
{
"input": {
"item": "<ModID>:<Name of the item to dismantle>"
},
"pattern": [
"AAA",
"BBB",
"CCC"
],
"key": {
"A": {
"item": "<ModID>:<Item Name>"
},
"B": {
"item": "<ModID>:<Item Name>"
},
"C": {
"item": "<ModID>:<Item Name>"
}
}
}
Example of a JSON file
{
"input": {
"item": "dismantle:dismantle_table"
},
"pattern": [
"GCG",
"o#o",
"#C#"
],
"key": {
"G": {
"item": "minecraft:gold_block"
},
"C": {
"item": "minecraft:crying_obsidian"
},
"o": {
"item": "minecraft:amethyst_shard"
},
"#": {
"item": "minecraft:obsidian"
}
}
}
How to disable vanilla dismantling recipes
In the case of a client
[.minecraft/saves/<worldfile>/serverconfig/dismantle-server.toml]
You can toggle vanilla recipes by changing the settings.
In the case of a server
[<serverfile>/world/serverconfig/dismantle-server.toml]
You can toggle vanilla recipes by changing the settings.

