Rebalanced trim recipe and added ind. grinder recipe.
This commit is contained in:
parent
b6551a8a4e
commit
06f2fa806f
2 changed files with 28 additions and 3 deletions
|
@ -51,7 +51,7 @@ class GrinderRecipesProvider extends TechRebornRecipesProvider {
|
||||||
generateVanillaGems()
|
generateVanillaGems()
|
||||||
generateTRGems()
|
generateTRGems()
|
||||||
generateTRIngots()
|
generateTRIngots()
|
||||||
generateSmithingTemplates()
|
generateTrimTemplates()
|
||||||
generateSand()
|
generateSand()
|
||||||
generateRedSand()
|
generateRedSand()
|
||||||
generateConcretePowder()
|
generateConcretePowder()
|
||||||
|
@ -220,12 +220,12 @@ class GrinderRecipesProvider extends TechRebornRecipesProvider {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void generateSmithingTemplates() {
|
void generateTrimTemplates() {
|
||||||
offerGrinderRecipe {
|
offerGrinderRecipe {
|
||||||
power 5
|
power 5
|
||||||
time 200
|
time 200
|
||||||
ingredients tag("minecraft:trim_templates")
|
ingredients tag("minecraft:trim_templates")
|
||||||
outputs stack(TRContent.Dusts.DIAMOND, 2)
|
outputs stack(TRContent.SmallDusts.DIAMOND, 5)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
package techreborn.datagen.recipes.machine.industrial_grinder
|
package techreborn.datagen.recipes.machine.industrial_grinder
|
||||||
|
|
||||||
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput
|
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput
|
||||||
|
import net.minecraft.fluid.Fluids
|
||||||
import net.minecraft.item.ItemStack
|
import net.minecraft.item.ItemStack
|
||||||
import net.minecraft.item.Items
|
import net.minecraft.item.Items
|
||||||
import net.minecraft.registry.RegistryWrapper
|
import net.minecraft.registry.RegistryWrapper
|
||||||
|
@ -60,6 +61,7 @@ class IndustrialGrinderRecipesProvider extends TechRebornRecipesProvider {
|
||||||
generateHoe()
|
generateHoe()
|
||||||
generateAxe()
|
generateAxe()
|
||||||
generatePickaxe()
|
generatePickaxe()
|
||||||
|
generateTrimTemplates()
|
||||||
}
|
}
|
||||||
|
|
||||||
void generateBoots() {
|
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)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue