|
|
|
@ -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 => { |
|
|
|
|