Danger stripe block recipe

Fixes #186
This commit is contained in:
DBotThePony 2022-10-25 20:51:05 +07:00
parent 32b8215435
commit 3ea3dbd6b1
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -2,6 +2,7 @@ package ru.dbotthepony.mc.otm.datagen.recipes
import net.minecraft.data.recipes.* import net.minecraft.data.recipes.*
import net.minecraft.resources.ResourceLocation import net.minecraft.resources.ResourceLocation
import net.minecraft.tags.ItemTags
import net.minecraft.world.item.DyeColor import net.minecraft.world.item.DyeColor
import net.minecraft.world.item.Items import net.minecraft.world.item.Items
import net.minecraft.world.item.crafting.Ingredient import net.minecraft.world.item.crafting.Ingredient
@ -116,6 +117,14 @@ fun addDecorativesRecipes(provider: MatteryRecipeProvider, consumer: Consumer<Fi
.build(consumer) .build(consumer)
} }
MatteryRecipe(MItems.DANGER_STRIPE_BLOCK, 24)
.rowAB(Tags.Items.DYES_YELLOW, MItemTags.IRON_PLATES)
.row(MItemTags.IRON_PLATES, Tags.Items.COBBLESTONE, MItemTags.IRON_PLATES)
.rowBC(MItemTags.IRON_PLATES, Tags.Items.DYES_BLACK)
.unlockedBy(MItemTags.IRON_PLATES)
.unlockedBy(Tags.Items.DYES_BLACK)
.build(consumer)
MatteryRecipe(MRegistry.VENT.item, 24) MatteryRecipe(MRegistry.VENT.item, 24)
.rowB(MItemTags.TRITANIUM_PLATES) .rowB(MItemTags.TRITANIUM_PLATES)
.row(MItemTags.TRITANIUM_PLATES, Items.IRON_BARS, MItemTags.TRITANIUM_PLATES) .row(MItemTags.TRITANIUM_PLATES, Items.IRON_BARS, MItemTags.TRITANIUM_PLATES)