Added a few ind. grind recipes to datagen

This commit is contained in:
ayutac 2023-06-04 06:16:54 +02:00
parent 406fff6b75
commit c1ff78d352
11 changed files with 64 additions and 266 deletions

View file

@ -62,6 +62,7 @@ class IndustrialGrinderRecipesProvider extends TechRebornRecipesProvider {
generateAxe()
generatePickaxe()
generateTrimTemplates()
generateOres()
}
void generateBoots() {
@ -379,4 +380,67 @@ class IndustrialGrinderRecipesProvider extends TechRebornRecipesProvider {
criterion getCriterionName(trim), getCriterionConditions(trim)
}
}
void generateOres() {
offerIndustrialGrinderRecipe {
ingredients Items.ANCIENT_DEBRIS
outputs stack(Items.NETHERITE_SCRAP, 2), stack(Items.GOLD_NUGGET, 5)
power 64
time 100
fluidAmount 1000L
fluid Fluids.WATER
source "ancient_debris_with_water"
criterion getCriterionName(Items.ANCIENT_DEBRIS), getCriterionConditions(Items.ANCIENT_DEBRIS)
}
offerIndustrialGrinderRecipe {
ingredients Items.ANCIENT_DEBRIS
outputs stack(Items.NETHERITE_SCRAP, 3), stack(Items.GOLD_NUGGET, 3)
power 64
time 100
fluidAmount 1000L
fluid ModFluids.MERCURY.getFluid()
source "ancient_debris_with_mercury"
criterion getCriterionName(Items.ANCIENT_DEBRIS), getCriterionConditions(Items.ANCIENT_DEBRIS)
}
offerIndustrialGrinderRecipe {
ingredients TRContent.Ores.BAUXITE.asTag()
outputs stack(TRContent.Dusts.BAUXITE, 4), TRContent.Dusts.ALUMINUM
power 64
time 100
fluidAmount 1000L
fluid Fluids.WATER
source "bauxite_ore_with_water"
criterion getCriterionName(TRContent.Dusts.BAUXITE.asTag()), getCriterionConditions(TRContent.Dusts.BAUXITE.asTag())
}
offerIndustrialGrinderRecipe {
ingredients TRContent.Ores.CINNABAR.asTag()
outputs stack(TRContent.Dusts.CINNABAR, 5), stack(TRContent.SmallDusts.REDSTONE, 2), TRContent.SmallDusts.GLOWSTONE
power 64
time 100
fluidAmount 1000L
fluid Fluids.WATER
source "cinnabar_ore_with_water"
criterion getCriterionName(TRContent.Dusts.CINNABAR.asTag()), getCriterionConditions(TRContent.Dusts.CINNABAR.asTag())
}
offerIndustrialGrinderRecipe {
ingredients tag("c:coal_ores")
outputs stack(Items.COAL, 3)
power 64
time 100
fluidAmount 1000L
fluid Fluids.WATER
source "coal_ore_with_water"
criterion getCriterionName(tag("c:coal_ores")), getCriterionConditions(tag("c:coal_ores"))
}
offerIndustrialGrinderRecipe {
ingredients tag("c:coal_ores")
outputs stack(Items.COAL, 4)
power 64
time 100
fluidAmount 1000L
fluid ModFluids.MERCURY.getFluid()
source "coal_ore_with_mercury"
criterion getCriterionName(tag("c:coal_ores")), getCriterionConditions(tag("c:coal_ores"))
}
}
}

View file

@ -1,32 +0,0 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:industrial_grinder/ancient_debris_with_water"
]
},
"criteria": {
"has_ancient_debris": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:ancient_debris"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:industrial_grinder/ancient_debris_with_water"
}
}
},
"requirements": [
[
"has_ancient_debris",
"has_the_recipe"
]
]
}

View file

@ -1,32 +0,0 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:industrial_grinder/bauxite_ore_with_water"
]
},
"criteria": {
"has_bauxite_ore": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:bauxite_ores"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:industrial_grinder/bauxite_ore_with_water"
}
}
},
"requirements": [
[
"has_bauxite_ore",
"has_the_recipe"
]
]
}

View file

@ -1,32 +0,0 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:industrial_grinder/cinnabar_ore_with_water"
]
},
"criteria": {
"has_cinnabar_ore": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:cinnabar_ores"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:industrial_grinder/cinnabar_ore_with_water"
}
}
},
"requirements": [
[
"has_cinnabar_ore",
"has_the_recipe"
]
]
}

View file

@ -1,32 +0,0 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:industrial_grinder/coal_ore_with_water"
]
},
"criteria": {
"has_coal_ore": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:coal_ores"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:industrial_grinder/coal_ore_with_water"
}
}
},
"requirements": [
[
"has_coal_ore",
"has_the_recipe"
]
]
}

View file

@ -1,24 +0,0 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:mercury",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:ancient_debris"
}
],
"results": [
{
"item": "minecraft:netherite_scrap",
"count": 3
},
{
"item": "minecraft:gold_nugget",
"count": 3
}
]
}

View file

@ -1,24 +0,0 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:ancient_debris"
}
],
"results": [
{
"item": "minecraft:netherite_scrap",
"count": 2
},
{
"item": "minecraft:gold_nugget",
"count": 5
}
]
}

View file

@ -1,23 +0,0 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"tag": "c:bauxite_ores"
}
],
"results": [
{
"item": "techreborn:bauxite_dust",
"count": 4
},
{
"item": "techreborn:aluminum_dust"
}
]
}

View file

@ -1,27 +0,0 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"tag": "c:cinnabar_ores"
}
],
"results": [
{
"item": "techreborn:cinnabar_dust",
"count": 5
},
{
"item": "techreborn:redstone_small_dust",
"count": 2
},
{
"item": "techreborn:glowstone_small_dust"
}
]
}

View file

@ -1,20 +0,0 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:mercury",
"amount": 1000
},
"ingredients": [
{
"tag": "c:coal_ores"
}
],
"results": [
{
"item": "minecraft:coal",
"count": 4
}
]
}

View file

@ -1,20 +0,0 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"tag": "c:coal_ores"
}
],
"results": [
{
"item": "minecraft:coal",
"count": 3
}
]
}