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