From ccc7b21093647b9c17c506e5177f7b6f888acb40 Mon Sep 17 00:00:00 2001 From: SverhRazum-Nah Date: Mon, 13 Jan 2025 19:55:12 +0300 Subject: [PATCH] #653 for 0.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Фикс рецепта книги и бирки Signed-off-by: SverhRazum-Nah --- kubejs/server_scripts/minecraft/recipes.js | 37 +++++++++++++++++++--- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/kubejs/server_scripts/minecraft/recipes.js b/kubejs/server_scripts/minecraft/recipes.js index db524e07..1a860900 100644 --- a/kubejs/server_scripts/minecraft/recipes.js +++ b/kubejs/server_scripts/minecraft/recipes.js @@ -2265,14 +2265,43 @@ const registerMinecraftRecipes = (event) => { //#region Выход: Книга - event.remove({ id: 'gtceu:extractor/bookshelf_extraction' }) + e.remove({ id: 'gtceu:shaped/book' }) + e.remove({ id: 'gtceu:extractor/bookshelf_extraction' }) + e.remove({ id: 'gtceu:assembler/book_from_leather' }) + e.remove({ id: 'minecraft:book' }) + + e.shaped('minecraft:book', [ + 'ABC', + 'ABD', + 'ABC' + ], { + A: '#forge:string', + B: 'minecraft:paper', + B: '#forge:paper', + C: '#forge:leather', + D: 'gtceu:sticky_resin' + }).id('tfg:shaped/book') - event.shapeless('minecraft:book', [ - 'minecraft:paper', 'minecraft:paper', 'minecraft:paper', 'minecraft:leather' - ]).id('minecraft:book') + e.recipes.gtceu.assembler('tfg:assembler/book_from_leather') + .itemInputs('3x #forge:paper', '#forge:leather') + .itemOutputs('minecraft:book') + .inputFluids(Fluid.of('gtceu:glue', 40)) + .EUt(7).duration(30) //#endregion + //#region Бирка + + e.remove({ id: 'gtceu:assembler/name_tag' }) + + e.recipes.gtceu.assembler('tfg:assembler/name_tag') + .itemInputs('minecraft:lead', '#forge:leather') + .itemOutputs('minecraft:name_tag') + .inputFluids(Fluid.of('gtceu:glue', 100)) + .EUt(7).duration(100) + + //#endregion + //#region Выход: Трибуна event.remove({ id: 'tfc:crafting/vanilla/lectern' })