Filled eccentric tome is now a separate recipe

pull/1/head
copygirl 2 years ago
parent 63a68897a0
commit ca03361da4
  1. 8
      kubejs/server_scripts/eccentric_tome.js

@ -24,8 +24,12 @@ let FILLED_ECCENTRIC_TOME = Item.of("eccentrictome:tome", '{'
+ '}}');
onEvent("recipes", event => {
// Replace the default crafting recipe for the Eccentric Tome to give a filled one.
event.replaceOutput({ id: "eccentrictome:tome" }, "eccentrictome:tome", FILLED_ECCENTRIC_TOME);
// Add an additional recipe that crafts a filled eccentric tome.
event.shapeless(FILLED_ECCENTRIC_TOME, [
"minecraft:book",
"#forge:bookshelves",
"minecraft:gold_ingot",
]);
});
onEvent("player.logged_in", event => {

Loading…
Cancel
Save