Rebalanced trim recipe and added ind. grinder recipe.

This commit is contained in:
ayutac 2023-05-27 03:50:34 +02:00 committed by modmuss
parent b6551a8a4e
commit 06f2fa806f
2 changed files with 28 additions and 3 deletions

View file

@ -51,7 +51,7 @@ class GrinderRecipesProvider extends TechRebornRecipesProvider {
generateVanillaGems()
generateTRGems()
generateTRIngots()
generateSmithingTemplates()
generateTrimTemplates()
generateSand()
generateRedSand()
generateConcretePowder()
@ -220,12 +220,12 @@ class GrinderRecipesProvider extends TechRebornRecipesProvider {
}
}
void generateSmithingTemplates() {
void generateTrimTemplates() {
offerGrinderRecipe {
power 5
time 200
ingredients tag("minecraft:trim_templates")
outputs stack(TRContent.Dusts.DIAMOND, 2)
outputs stack(TRContent.SmallDusts.DIAMOND, 5)
}
}

View file

@ -25,6 +25,7 @@
package techreborn.datagen.recipes.machine.industrial_grinder
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput
import net.minecraft.fluid.Fluids
import net.minecraft.item.ItemStack
import net.minecraft.item.Items
import net.minecraft.registry.RegistryWrapper
@ -60,6 +61,7 @@ class IndustrialGrinderRecipesProvider extends TechRebornRecipesProvider {
generateHoe()
generateAxe()
generatePickaxe()
generateTrimTemplates()
}
void generateBoots() {
@ -354,4 +356,27 @@ class IndustrialGrinderRecipesProvider extends TechRebornRecipesProvider {
}
}
void generateTrimTemplates() {
var trim = tag("minecraft:trim_templates");
offerIndustrialGrinderRecipe {
ingredients trim
outputs stack(TRContent.Dusts.DIAMOND, 2), stack(TRContent.SmallDusts.DIAMOND, 3)
power 128
time 140
fluidAmount 1000L
fluid Fluids.WATER
source "trim_template_with_water"
criterion getCriterionName(trim), getCriterionConditions(trim)
}
offerIndustrialGrinderRecipe {
ingredients trim
outputs stack(TRContent.Dusts.DIAMOND, 3), stack(TRContent.SmallDusts.DIAMOND, 2)
power 128
time 140
fluidAmount 1000L
fluid ModFluids.MERCURY.getFluid()
source "trim_template_with_mercury"
criterion getCriterionName(trim), getCriterionConditions(trim)
}
}
}