Filled eccentric tome is now a separate recipe

carryon-pedestal
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 => { onEvent("recipes", event => {
// Replace the default crafting recipe for the Eccentric Tome to give a filled one. // Add an additional recipe that crafts a filled eccentric tome.
event.replaceOutput({ id: "eccentrictome:tome" }, "eccentrictome:tome", FILLED_ECCENTRIC_TOME); event.shapeless(FILLED_ECCENTRIC_TOME, [
"minecraft:book",
"#forge:bookshelves",
"minecraft:gold_ingot",
]);
}); });
onEvent("player.logged_in", event => { onEvent("player.logged_in", event => {

Loading…
Cancel
Save