Make Malum's nodes actually smelt into nuggets

pull/3/head
copygirl 2 years ago
parent 12e53b78f4
commit f526f1c348
  1. 2
      config/jei/blacklist.cfg
  2. 18
      kubejs/server_scripts/recipes/malum_nuggets_from_node.js

@ -1759,6 +1759,8 @@ immersiveengineering:shader_bag_ie_masterwork
immersiveengineering:shader_bag_rare immersiveengineering:shader_bag_rare
immersiveengineering:shader_bag_uncommon immersiveengineering:shader_bag_uncommon
littlelogistics:creative_capacitor littlelogistics:creative_capacitor
malum:cracked_osmium_impetus
malum:osmium_impetus
minecraft:axolotl_spawn_egg minecraft:axolotl_spawn_egg
minecraft:bat_spawn_egg minecraft:bat_spawn_egg
minecraft:bedrock minecraft:bedrock

@ -0,0 +1,18 @@
// priority: 0
onEvent("recipes", event => {
let material_to_nugget = {
zinc: "create:zinc_nugget",
tin: "thermal:tin_nugget",
lead: "thermal:lead_nugget",
silver: "thermal:silver_nugget",
nickel: "thermal:nickel_nugget",
aluminum: "immersiveengineering:nugget_aluminum",
uranium: "immersiveengineering:nugget_uranium",
};
for (let [material, nugget] of Object.entries(material_to_nugget)) {
event.smelting(`6x ${nugget}`, `malum:${material}_node`);
event.blasting(`6x ${nugget}`, `malum:${material}_node`);
}
});
Loading…
Cancel
Save