Quark backpack craftable with any leather / hide

carryon-pedestal
copygirl 2 years ago
parent 6cecfe83de
commit 8a93d7d056
  1. 14
      kubejs/server_scripts/recipes/leather_is_hide.js

@ -1,12 +1,20 @@
// priority: 0 // priority: 0
onEvent("item.tags", event => { onEvent("item.tags", event => {
event.add("forge:leather", "alexsmobs:kangaroo_hide");
event.add("forge:hide" , "alexsmobs:kangaroo_hide");
event.add("forge:leather", "untamedwilds:hide_bigcat_snow_leopard");
event.add("forge:hide" , "untamedwilds:hide_bigcat_snow_leopard");
event.add("forge:hide", "minecraft:rabbit_hide");
event.add("heck:leather_or_hide", "#forge:leather"); event.add("heck:leather_or_hide", "#forge:leather");
event.add("heck:leather_or_hide", "#forge:hide"); event.add("heck:leather_or_hide", "#forge:hide");
}); });
onEvent("recipes", event => { onEvent("recipes", event => {
event.replaceInput({ output: "minecraft:bundle" }, "minecraft:rabbit_hide", "#heck:leather_or_hide"); for (let item of [ "minecraft:bundle", "backpacked:backpack", "quark:seed_pouch" ])
event.replaceInput({ output: "backpacked:backpack" }, "minecraft:rabbit_hide", "#heck:leather_or_hide"); event.replaceInput({ output: item }, "minecraft:rabbit_hide", "#heck:leather_or_hide");
event.replaceInput({ output: "quark:seed_pouch" }, "minecraft:rabbit_hide", "#heck:leather_or_hide"); for (let item of [ "quark:backpack" ])
event.replaceInput({ output: item }, "minecraft:leather", "#heck:leather_or_hide");
}); });

Loading…
Cancel
Save