parent
5fa901202e
commit
6c9f71aed8
@ -46,16 +46,6 @@ fun addCraftingTableRecipes(consumer: Consumer<FinishedRecipe>) {
|
|||||||
.unlockedBy("has_chest", has(Tags.Items.CHESTS))
|
.unlockedBy("has_chest", has(Tags.Items.CHESTS))
|
||||||
.save(consumer)
|
.save(consumer)
|
||||||
|
|
||||||
for ((color, item) in MRegistry.TRITANIUM_BLOCK.mappedColoredItemsAll) {
|
|
||||||
MatteryRecipe(item, 24)
|
|
||||||
.rowBC(MItemTags.PLATE_TRITANIUM, color?.tag)
|
|
||||||
.row(MItemTags.PLATE_TRITANIUM, COBBLESTONE, MItemTags.PLATE_TRITANIUM)
|
|
||||||
.rowB(MItemTags.PLATE_TRITANIUM)
|
|
||||||
.unlockedBy(MItemTags.PLATE_TRITANIUM)
|
|
||||||
.also { if (color != null) it.unlockedBy(color.tag) }
|
|
||||||
.build(consumer)
|
|
||||||
}
|
|
||||||
|
|
||||||
MatteryRecipe(MBlocks.PLATE_PRESS)
|
MatteryRecipe(MBlocks.PLATE_PRESS)
|
||||||
.row(MItems.ELECTRIC_PARTS, MItems.ENERGY_BUS, MItems.ELECTRIC_PARTS)
|
.row(MItems.ELECTRIC_PARTS, MItems.ENERGY_BUS, MItems.ELECTRIC_PARTS)
|
||||||
.row(MItemTags.INGOT_TRITANIUM, Items.BLAST_FURNACE, MItemTags.INGOT_TRITANIUM)
|
.row(MItemTags.INGOT_TRITANIUM, Items.BLAST_FURNACE, MItemTags.INGOT_TRITANIUM)
|
||||||
@ -80,26 +70,50 @@ fun addCraftingTableRecipes(consumer: Consumer<FinishedRecipe>) {
|
|||||||
.unlockedBy(Tags.Items.DYES_YELLOW)
|
.unlockedBy(Tags.Items.DYES_YELLOW)
|
||||||
.build(consumer)
|
.build(consumer)
|
||||||
|
|
||||||
for ((item, colors) in MRegistry.TRITANIUM_STRIPED_BLOCK.itemsWithColor) {
|
MatteryRecipe(MRegistry.TRITANIUM_BLOCK.item, 24)
|
||||||
val (base, stripe) = colors
|
.rowB(MItemTags.PLATE_TRITANIUM)
|
||||||
|
|
||||||
MatteryRecipe(item, 24)
|
|
||||||
.rowBC(MItemTags.PLATE_TRITANIUM, base.tag)
|
|
||||||
.row(MItemTags.PLATE_TRITANIUM, COBBLESTONE, MItemTags.PLATE_TRITANIUM)
|
.row(MItemTags.PLATE_TRITANIUM, COBBLESTONE, MItemTags.PLATE_TRITANIUM)
|
||||||
.rowAB(stripe.tag, MItemTags.PLATE_TRITANIUM)
|
.rowB(MItemTags.PLATE_TRITANIUM)
|
||||||
.unlockedBy(MItemTags.PLATE_TRITANIUM)
|
.unlockedBy(MItemTags.PLATE_TRITANIUM)
|
||||||
.unlockedBy(base.tag)
|
.build(consumer)
|
||||||
.unlockedBy(stripe.tag)
|
|
||||||
|
for ((color, item) in MRegistry.TRITANIUM_BLOCK.mappedColoredItems) {
|
||||||
|
MatteryRecipe(item, 8)
|
||||||
|
.row(MRegistry.TRITANIUM_BLOCK.item, MRegistry.TRITANIUM_BLOCK.item, MRegistry.TRITANIUM_BLOCK.item)
|
||||||
|
.row(MRegistry.TRITANIUM_BLOCK.item, color.tag, MRegistry.TRITANIUM_BLOCK.item)
|
||||||
|
.row(MRegistry.TRITANIUM_BLOCK.item, MRegistry.TRITANIUM_BLOCK.item, MRegistry.TRITANIUM_BLOCK.item)
|
||||||
|
.unlockedBy(MRegistry.TRITANIUM_BLOCK.item)
|
||||||
|
.unlockedBy(color.tag)
|
||||||
.build(consumer)
|
.build(consumer)
|
||||||
}
|
}
|
||||||
|
|
||||||
for ((color, item) in MRegistry.VENT.mappedColoredItemsAll) {
|
for ((item, colors) in MRegistry.TRITANIUM_STRIPED_BLOCK.itemsWithColor) {
|
||||||
MatteryRecipe(item, 24)
|
val (base, stripe) = colors
|
||||||
.rowBC(MItemTags.PLATE_TRITANIUM, color?.tag)
|
|
||||||
|
val original = MRegistry.TRITANIUM_BLOCK.mappedColoredItems[base]!!
|
||||||
|
|
||||||
|
MatteryRecipe(item, 8)
|
||||||
|
.row(original, original, original)
|
||||||
|
.row(original, stripe.tag, original)
|
||||||
|
.row(original, original, original)
|
||||||
|
.unlockedBy(original)
|
||||||
|
.build(consumer)
|
||||||
|
}
|
||||||
|
|
||||||
|
MatteryRecipe(MRegistry.VENT.item, 24)
|
||||||
|
.rowB(MItemTags.PLATE_TRITANIUM)
|
||||||
.row(MItemTags.PLATE_TRITANIUM, Items.IRON_BARS, MItemTags.PLATE_TRITANIUM)
|
.row(MItemTags.PLATE_TRITANIUM, Items.IRON_BARS, MItemTags.PLATE_TRITANIUM)
|
||||||
.rowB(MItemTags.PLATE_TRITANIUM)
|
.rowB(MItemTags.PLATE_TRITANIUM)
|
||||||
.unlockedBy(MItemTags.PLATE_TRITANIUM)
|
.unlockedBy(MItemTags.PLATE_TRITANIUM)
|
||||||
.also { if (color != null) it.unlockedBy(color.tag) }
|
.build(consumer)
|
||||||
|
|
||||||
|
for ((color, item) in MRegistry.VENT.mappedColoredItems) {
|
||||||
|
MatteryRecipe(item, 8)
|
||||||
|
.row(MRegistry.VENT.item, MRegistry.VENT.item, MRegistry.VENT.item)
|
||||||
|
.row(MRegistry.VENT.item, color.tag, MRegistry.VENT.item)
|
||||||
|
.row(MRegistry.VENT.item, MRegistry.VENT.item, MRegistry.VENT.item)
|
||||||
|
.unlockedBy(MItemTags.PLATE_TRITANIUM)
|
||||||
|
.unlockedBy(color.tag)
|
||||||
.build(consumer)
|
.build(consumer)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user