Add dust Create crushing recipes

carryon-pedestal
copygirl 2 years ago
parent 820cda8881
commit 1dd332e3e5
  1. 18
      kubejs/server_scripts/recipes/create_crushing_dust.js

@ -0,0 +1,18 @@
// priority: 0
onEvent("recipes", event => {
for (let material of Object.values(global.unification))
if (material.ingot && material.dust)
event.recipes.createCrushing(material.dust[0], material.ingot[0]);
for (let item of [ "apatite", "cinnabar", "niter", "sulfur" ])
event.recipes.createCrushing(`thermal:${item}_dust`, `thermal:${item}`);
for (let item of [ "diamond", "emerald", "quartz" ])
event.recipes.createCrushing(`thermal:${item}_dust`, `minecraft:${item}`);
event.recipes.createCrushing("thermal:lapis_dust", "minecraft:lapis_lazuli");
event.recipes.createCrushing("ae2:certus_quartz_dust", "#ae2:all_certus_quartz");
event.recipes.createCrushing("ae2:fluix_dust", "ae2:fluix_crystal");
event.recipes.createCrushing("ae2:sky_dust", "ae2:sky_stone_block");
});
Loading…
Cancel
Save