Crusher
The crusher is a block which can crush/grind items into other items. Additional recipes can be added with data packs. The crusher requires Forge Energy to work. Energy is used at a fixed rate while the machine is working, and no energy while it is not.
Recipes can be added with data packs. The files can be anywhere in data/*/recipes/ (where * is the namespace of your data pack). The recipe type is silents_mechanisms:crushing.
Crushing recipes can have up to four output items, with an optional chance value on each. For example, crushing iron ore has a 10% chance of producing a block of cobblestone in addition to two iron ore chunks (100% chance).
-
process_time- The time (in ticks) required to process one input item. Energy used per tick is constant, so this also affects the total energy consumed. -
ingredient- The item which is crushed. Same as with vanilla smelting/blasting/smoking recipes, this can be an item or a tag. -
results- An array of result objects. Each object can have these properties:-
item(required) - The item produced -
count(optional, default 1) - The number of the item produced -
chance(optional, default 1.0) - The chance (out of 1) this output will be produced
-
{
"type": "silents_mechanisms:crushing",
"process_time": 400,
"ingredient": {
"tag": "forge:ores/iron"
},
"results": [
{
"item": "silents_mechanisms:iron_chunks",
"count": 2
},
{
"item": "minecraft:cobblestone",
"count": 1,
"chance": 0.1
}
]
}