From 7be3607da8ad3ea7a49d663d8a2c074a39900aef Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Mon, 17 Feb 2025 19:52:58 +0700 Subject: [PATCH] Star chair recipe --- .../mc/otm/datagen/recipes/DecorativesRecipes.kt | 9 +++++++++ 1 file changed, 9 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 7a02e888c..ebedd418c 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 @@ -1,6 +1,7 @@ package ru.dbotthepony.mc.otm.datagen.recipes import net.minecraft.data.recipes.* +import net.minecraft.tags.ItemTags import net.minecraft.world.item.DyeColor import net.minecraft.world.item.ItemStack import net.minecraft.world.item.Items @@ -435,4 +436,12 @@ fun addDecorativesRecipes(provider: MatteryRecipeProvider, consumer: RecipeOutpu builder.build(consumer) } + + for ((color, item) in MRegistry.STAR_CHAIR.allItems) { + MatteryRecipe(item, category = RecipeCategory.DECORATIONS) + .rowB(color?.tag) + .row(MItemTags.TRITANIUM_PLATES, ItemTags.WOOL, MItemTags.TRITANIUM_PLATES) + .row(MItemTags.TRITANIUM_PLATES, MItemTags.CARBON_PLATES, MItemTags.TRITANIUM_PLATES) + .build(consumer) + } }