Recipes for 1.19 (#2962)

* Added mangrove to sawmill recipes

* added sculk stuff

* added froglight stuff

* grind mangrove roots

* added root stuff
This commit is contained in:
Ayutac 2022-05-26 15:00:09 +02:00 committed by GitHub
parent 6e46807c05
commit a2b6ce4aea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 555 additions and 0 deletions

View file

@ -39,6 +39,7 @@ class ExtractorRecipesProvider extends TechRebornRecipesProvider {
void generateRecipes() {
generateDoubleDyes()
generateQuadrupleDyes()
generateFroglight()
generateFluidExtraction()
}
@ -93,6 +94,23 @@ class ExtractorRecipesProvider extends TechRebornRecipesProvider {
}
}
void generateFroglight() {
[
(Items.OCHRE_FROGLIGHT) : Items.YELLOW_DYE,
(Items.VERDANT_FROGLIGHT) : Items.GREEN_DYE,
(Items.PEARLESCENT_FROGLIGHT) : Items.PURPLE_DYE
].each { item, dye ->
offerExtractorRecipe {
ingredients new ItemStack(item, 3)
outputs dye
source item.toString()
power 10
time 300
criterion getCriterionName(item), getCriterionConditions(item)
}
}
}
void generateFluidExtraction() {
final int exPower = 10
final int exTime = 150

View file

@ -48,6 +48,7 @@ class IndustrialSawmillRecipesProvider extends TechRebornRecipesProvider {
(ItemTags.SPRUCE_LOGS): Items.SPRUCE_PLANKS,
(ItemTags.CRIMSON_STEMS): Items.CRIMSON_PLANKS,
(ItemTags.WARPED_STEMS): Items.WARPED_PLANKS,
(ItemTags.MANGROVE_LOGS): Items.MANGROVE_PLANKS,
(TRContent.RUBBER_LOGS): TRContent.RUBBER_PLANKS
].each {logs, planks ->
offerIndustrialSawmillRecipe {
@ -67,6 +68,7 @@ class IndustrialSawmillRecipesProvider extends TechRebornRecipesProvider {
(Items.SPRUCE_STAIRS): Items.SPRUCE_SLAB,
(Items.CRIMSON_STAIRS): Items.CRIMSON_SLAB,
(Items.WARPED_STAIRS): Items.WARPED_SLAB,
(Items.MANGROVE_STAIRS): Items.MANGROVE_SLAB,
(TRContent.RUBBER_STAIR): TRContent.RUBBER_SLAB
].each { stairs, slab ->
offerIndustrialSawmillRecipe {
@ -88,6 +90,7 @@ class IndustrialSawmillRecipesProvider extends TechRebornRecipesProvider {
(Items.SPRUCE_SLAB): Items.SPRUCE_PRESSURE_PLATE,
(Items.CRIMSON_SLAB): Items.CRIMSON_PRESSURE_PLATE,
(Items.WARPED_SLAB): Items.WARPED_PRESSURE_PLATE,
(Items.MANGROVE_SLAB): Items.MANGROVE_PRESSURE_PLATE,
(TRContent.RUBBER_SLAB): TRContent.RUBBER_PRESSURE_PLATE
].each { slab, plate ->
offerIndustrialSawmillRecipe {
@ -122,6 +125,7 @@ class IndustrialSawmillRecipesProvider extends TechRebornRecipesProvider {
}
[
(Items.BOWL) : 2,
(Items.MANGROVE_ROOTS) : 2,
(TRContent.TREE_TAP) : 3,
(Items.WOODEN_SHOVEL) : 2,
(Items.WOODEN_SWORD) : 2,

View file

@ -0,0 +1,8 @@
{
"replace": false,
"values": [
"minecraft:ochre_froglight",
"minecraft:pearlescent_froglight",
"minecraft:verdant_froglight"
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:chemical_reactor/sculk_sensor"
]
},
"criteria": {
"has_sculk": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:sculk"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:chemical_reactor/sculk_sensor"
}
}
},
"requirements": [
[
"has_sculk",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:chemical_reactor/sculk_shrieker"
]
},
"criteria": {
"has_sculk_catalyst": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:sculk_catalyst"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:chemical_reactor/sculk_shrieker"
}
}
},
"requirements": [
[
"has_sculk_catalyst",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:chemical_reactor/verdant_froglight"
]
},
"criteria": {
"has_ochre_froglight": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:ochre_froglight"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:chemical_reactor/verdant_froglight"
}
}
},
"requirements": [
[
"has_ochre_froglight",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:compressor/sculk"
]
},
"criteria": {
"has_sculk_vein": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:sculk_vein"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:compressor/sculk"
}
}
},
"requirements": [
[
"has_sculk_vein",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:extractor/hanging_roots"
]
},
"criteria": {
"has_mangrove_roots": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:mangrove_roots"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:extractor/hanging_roots"
}
}
},
"requirements": [
[
"has_mangrove_roots",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:extractor/mangrove_roots"
]
},
"criteria": {
"has_muddy_mangrove_roots": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:muddy_mangrove_roots"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:extractor/mangrove_roots"
}
}
},
"requirements": [
[
"has_muddy_mangrove_roots",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:extractor/sculk"
]
},
"criteria": {
"has_sculk_catalyst": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:sculk_catalyst"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:extractor/sculk"
}
}
},
"requirements": [
[
"has_sculk_catalyst",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:grinder/prismarine_crystals_from_froglight"
]
},
"criteria": {
"has_froglight": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:froglight"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:grinder/prismarine_crystals_from_froglight"
}
}
},
"requirements": [
[
"has_froglight",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:implosion_compressor/sculk_catalyst"
]
},
"criteria": {
"has_sculk": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:sculk"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:implosion_compressor/sculk_catalyst"
}
}
},
"requirements": [
[
"has_sculk",
"has_the_recipe"
]
]
}

View file

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

View file

@ -0,0 +1,20 @@
{
"type": "techreborn:chemical_reactor",
"power": 30,
"time": 300,
"ingredients": [
{
"item": "minecraft:redstone",
"count": 16
},
{
"item": "minecraft:sculk"
}
],
"results": [
{
"item": "minecraft:sculk_sensor",
"count": 2
}
]
}

View file

@ -0,0 +1,19 @@
{
"type": "techreborn:chemical_reactor",
"power": 30,
"time": 300,
"ingredients": [
{
"item": "minecraft:sculk_catalyst",
"count": 3
},
{
"item": "minecraft:nether_star"
}
],
"results": [
{
"item": "minecraft:sculk_shrieker"
}
]
}

View file

@ -0,0 +1,18 @@
{
"type": "techreborn:chemical_reactor",
"power": 30,
"time": 400,
"ingredients": [
{
"item": "minecraft:blue_dye"
},
{
"item": "minecraft:ochre_froglight"
}
],
"results": [
{
"item": "minecraft:verdant_froglight"
}
]
}

View file

@ -0,0 +1,16 @@
{
"type": "techreborn:compressor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:sculk_vein",
"count": 16
}
],
"results": [
{
"item": "minecraft:sculk"
}
]
}

View file

@ -0,0 +1,15 @@
{
"type": "techreborn:extractor",
"power": 2,
"time": 200,
"ingredients" : [
{
"item": "minecraft:mangrove_roots"
}
],
"results" : [
{
"item": "minecraft:hanging_roots"
}
]
}

View file

@ -0,0 +1,15 @@
{
"type": "techreborn:extractor",
"power": 2,
"time": 200,
"ingredients" : [
{
"item": "minecraft:muddy_mangrove_roots"
}
],
"results" : [
{
"item": "minecraft:mangrove_roots"
}
]
}

View file

@ -0,0 +1,15 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 200,
"ingredients" : [
{
"item": "minecraft:sculk_catalyst"
}
],
"results" : [
{
"item": "minecraft:sculk"
}
]
}

View file

@ -0,0 +1,16 @@
{
"type": "techreborn:grinder",
"power": 2,
"time": 400,
"ingredients" : [
{
"tag": "c:froglights"
}
],
"results" : [
{
"item": "minecraft:prismarine_crystals",
"count": 2
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:implosion_compressor",
"power": 30,
"time": 2000,
"ingredients" : [
{
"item": "minecraft:sculk",
"count": 64
},
{
"item": "minecraft:tnt",
"count": 8
}
],
"results" : [
{
"item": "minecraft:sculk_catalyst"
},
{
"item": "techreborn:dark_ashes_dust",
"count": 4
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:implosion_compressor",
"power": 30,
"time": 2000,
"ingredients" : [
{
"item": "minecraft:sculk",
"count": 64
},
{
"item": "minecraft:end_crystal",
"count": 2
}
],
"results" : [
{
"item": "minecraft:sculk_catalyst"
},
{
"item": "techreborn:ender_eye_small_dust",
"count": 2
}
]
}

View file

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