This page relates to Ex Nihilo: Sequentia, which has built-in support!
Hammering
Link to hammering
Package
Link to package
import mods.exnihilosequentia.ZenHammerRecipe;
Methods
Link to methods
- create(String name)
- setInput(IIngredient input) the block that needs to be broken
- addOutput(IItemStack drop) the item the block drops when broken
- addOutput(IItemStack drop, float chance) the other item the blocks drops when broken and its chance to drop
Addition
Link to addition
ZenScript Copy<recipetype:exnihilosequentia:hammer>.create("hammer_test").setInput(<item:minecraft:cobblestone>).addOutput(<item:minecraft:gravel>).addOutput(<item:minecraft:diamond>, 0.01);
Removal
Link to removal
ZenScript Copy<recipetype:exnihilosequentia:hammer>.removeAll();