diff --git a/kubejs/server_scripts/recipes/certus_quartz.js b/kubejs/server_scripts/recipes/certus_quartz.js new file mode 100644 index 0000000..92c67e4 --- /dev/null +++ b/kubejs/server_scripts/recipes/certus_quartz.js @@ -0,0 +1,14 @@ +// priority: 0 + +onEvent("recipes", event => { + let primary = "2x ae2:certus_quartz_dust"; + let secondary = Item.of("ae2:certus_quartz_crystal").withChance(0.25); + + let input = "#forge:ores/certus_quartz"; + event.recipes.thermal.pulverizer([ primary, secondary ], input); + event.recipes.immersiveengineeringCrusher("3x ae2:certus_quartz_dust", input); + + let xp = Item.of("create:experience_nugget").withChance(0.75); + event.recipes.createCrushing([ primary, secondary, xp, Item.of("minecraft:cobblestone").withChance(0.125) ], "ae2:quartz_ore"); + event.recipes.createCrushing([ primary, secondary, xp, Item.of("minecraft:deepslate").withChance(0.125) ], "ae2:deepslate_quartz_ore"); +});