From 7d37540247944ad18b7c933f00f54fda85b334d4 Mon Sep 17 00:00:00 2001 From: copygirl Date: Wed, 26 Oct 2022 13:21:20 +0200 Subject: [PATCH] Give XP from smelting Malum's nodes --- config/jei/blacklist.cfg | 1 + kubejs/server_scripts/recipes/malum_nuggets_from_node.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/jei/blacklist.cfg b/config/jei/blacklist.cfg index cef7b7e..305481c 100644 --- a/config/jei/blacklist.cfg +++ b/config/jei/blacklist.cfg @@ -1790,6 +1790,7 @@ immersiveengineering:shader_bag_uncommon littlelogistics:creative_capacitor malum:cracked_osmium_impetus malum:osmium_impetus +malum:osmium_node minecraft:axolotl_spawn_egg minecraft:bat_spawn_egg minecraft:bedrock diff --git a/kubejs/server_scripts/recipes/malum_nuggets_from_node.js b/kubejs/server_scripts/recipes/malum_nuggets_from_node.js index 42de87a..85bc00d 100644 --- a/kubejs/server_scripts/recipes/malum_nuggets_from_node.js +++ b/kubejs/server_scripts/recipes/malum_nuggets_from_node.js @@ -12,7 +12,7 @@ onEvent("recipes", event => { }; for (let [material, nugget] of Object.entries(material_to_nugget)) { - event.smelting(`6x ${nugget}`, `malum:${material}_node`); - event.blasting(`6x ${nugget}`, `malum:${material}_node`); + event.smelting(`6x ${nugget}`, `malum:${material}_node`).xp(0.25); + event.blasting(`6x ${nugget}`, `malum:${material}_node`).xp(0.25); } });