[Suggestion] Crook Type Recipes: add option to disable default drops
MSandro opened this issue ยท 2 comments
Hello, I am trying to develop my own StoneBlock Modpack, and for this I have to add a chance to get saplings from dirt.
But currently a infinite Sapling production would be possible because dirt is always dropped as well.
Maybe you could add a toggle to drop the input block if a result will be dropped.
{
"type": "exdeorum:crook",
"block_predicate": {
"block_tag": "minecraft:dirt"
},
"chance": 0.05,
"no_default_drops": true,
"result": "minecraft:oak_sapling"
}
I misunderstood your question. To skip default drops, your data pack needs to override the dirt loot table, and add a condition that the player is not using a crook. By the way, the hammer has functionality closer to what you want, as it always overrides default drops.
To disable recipes, you can include the recipe JSON file in your data pack with only this text: {}
or you can use KubeJS/CraftTweaker.