This page relates to Ex Nihilo: Sequentia, which has built-in support!
Hammering
Link to hammering
所属包
Link to 所属包
import mods.exnihilosequentia.ZenHammerRecipe;
使用方式
Link to 使用方式
- 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
ZenScript Copy<recipetype:exnihilosequentia:hammer>.create("hammer_test").setInput(<item:minecraft:cobblestone>).addOutput(<item:minecraft:gravel>).addOutput(<item:minecraft:diamond>, 0.01);
ZenScript Copy<recipetype:exnihilosequentia:hammer>.removeAll();