Pulverizer
The Pulverizer is a slow and simple machine that pulverizes ores and biomass. It is an early alternative to the Fragment Forge.
NOTE
This recipe inherits from the Oritech base recipe. Read about it first before reading this page.
Overview
- access in recipes event via:
event.recipes.oritech.pulverizer - properties:
- item inputs
- role: input
- required: yes
- limits: exactly 1
- item outputs
- role: output
- required: yes
- limits:
- min 1
- max 2
- time
- role: misc
- required: no
- default:
60
- item inputs
Examples
js
ServerEvents.recipes(event => {
// removes all pulverizer recipes
event.remove({ type: "oritech:pulverizer" })
// adds a recipe that converts a gold ingot into an iron ingot
// requires 60 ticks by default
event.recipes.oritech.pulverizer().itemInputs("gold_ingot").itemOutputs("iron_ingot")
// adds a recipe that converts any ingot into 4 cobblestone, and an apple
// requires 60 ticks by default
event.recipes.oritech
.pulverizer()
.itemInputs("#c:ingots")
.itemOutputs(["4x cobblestone", "minecraft:apple"])
// adds a recipe that converts a glass block into 2 sand
// requires 40 ticks / 2 seconds
// could use .timeInSeconds(2) alternatively
event.recipes.oritech.pulverizer().itemInputs("glass").itemOutputs("2x sand").time(40)
})