From e6387d7d5b3673b977487f8479859453fcb21ed2 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 6 Sep 2024 20:13:09 +0700 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=B0=D0=BC=20=D0=BD=D0=B0=D0=B4=D0=BE?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D1=80=D0=B8=D0=B3=D0=BE=D1=82?= =?UTF-8?q?=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=80=D0=B5=D1=86?= =?UTF-8?q?=D0=B5=D0=BF=D1=82=D0=B0:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mc/otm/datagen/recipes/DecorativesRecipes.kt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/recipes/DecorativesRecipes.kt b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/recipes/DecorativesRecipes.kt index ea87b8ab4..9e511cc54 100644 --- a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/recipes/DecorativesRecipes.kt +++ b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/recipes/DecorativesRecipes.kt @@ -376,4 +376,17 @@ fun addDecorativesRecipes(provider: MatteryRecipeProvider, consumer: RecipeOutpu .rowB(MItemTags.TRITANIUM_INGOTS) .row(MItemTags.TRITANIUM_INGOTS, MItemTags.TRITANIUM_INGOTS, MItemTags.TRITANIUM_INGOTS) .build(consumer) + + for ((color, item) in MRegistry.COMPUTER_TERMINAL.allItems) { + val builder = MatteryRecipe(item, category = RecipeCategory.DECORATIONS) + + builder.rowB(MItemTags.BASIC_CIRCUIT) + builder.rowB(MItemTags.TRITANIUM_PLATES) + + if (color != null) { + builder.rowB(color.tag) + } + + builder.build(consumer) + } }