Moved most of extractor recipes to datagen.

Also added Pitcher Plant and book variants to extractor recipes.
This commit is contained in:
ayutac 2023-05-19 05:39:10 +02:00 committed by modmuss
parent 31e6cb2aa9
commit f6130ab0e5
67 changed files with 249 additions and 1433 deletions

View file

@ -43,7 +43,10 @@ class ExtractorRecipesProvider extends TechRebornRecipesProvider {
void generateRecipes() {
generateDoubleDyes()
generateQuadrupleDyes()
generateFroglight()
generateDyesFromCoralBlock()
generateDyesFromSmallCoral()
generateDyesFromFroglight()
generateDyesFromMisc()
generateMisc()
generateFluidExtraction()
}
@ -62,7 +65,9 @@ class ExtractorRecipesProvider extends TechRebornRecipesProvider {
(Items.WHITE_TULIP) : Items.LIGHT_GRAY_DYE,
(Items.ALLIUM) : Items.MAGENTA_DYE,
(Items.ORANGE_TULIP) : Items.ORANGE_DYE,
(Items.TORCHFLOWER) : Items.ORANGE_DYE,
(Items.PINK_TULIP) : Items.PINK_DYE,
(Items.PINK_PETALS) : Items.PINK_DYE,
(Items.POPPY) : Items.RED_DYE,
(Items.RED_TULIP) : Items.RED_DYE,
(Items.BONE_MEAL) : Items.WHITE_DYE,
@ -78,24 +83,12 @@ class ExtractorRecipesProvider extends TechRebornRecipesProvider {
criterion getCriterionName(item), getCriterionConditions(item)
}
}
[
(Items.TORCHFLOWER) : Items.ORANGE_DYE,
(Items.PINK_PETALS) : Items.PINK_DYE
].each { item, dye ->
offerExtractorRecipe {
ingredients item
outputs stack(dye, 2)
source item.toString()
power 10
time 300
criterion getCriterionName(item), getCriterionConditions(item)
}
}
}
// ONLY for doubling vanilla double dye recipes
void generateQuadrupleDyes() {
[
(Items.PITCHER_PLANT) : Items.CYAN_DYE,
(Items.LILAC) : Items.MAGENTA_DYE,
(Items.PEONY) : Items.PINK_DYE,
(Items.ROSE_BUSH) : Items.RED_DYE,
@ -111,8 +104,66 @@ class ExtractorRecipesProvider extends TechRebornRecipesProvider {
}
}
}
void generateDyesFromCoralBlock() {
[
(Items.TUBE_CORAL_BLOCK) : Items.BLUE_DYE,
(Items.BRAIN_CORAL_BLOCK) : Items.PINK_DYE,
(Items.BUBBLE_CORAL_BLOCK) : Items.PURPLE_DYE,
(Items.FIRE_CORAL_BLOCK) : Items.RED_DYE,
(Items.HORN_CORAL_BLOCK) : Items.YELLOW_DYE,
(Items.DEAD_TUBE_CORAL_BLOCK) : Items.GRAY_DYE,
(Items.DEAD_BRAIN_CORAL_BLOCK) : Items.GRAY_DYE,
(Items.DEAD_BUBBLE_CORAL_BLOCK) : Items.GRAY_DYE,
(Items.DEAD_FIRE_CORAL_BLOCK) : Items.GRAY_DYE,
(Items.DEAD_HORN_CORAL_BLOCK) : Items.GRAY_DYE
].each { item, dye ->
offerExtractorRecipe {
ingredients item
outputs stack(dye, 5)
source item.toString()
power 10
time 400
criterion getCriterionName(item), getCriterionConditions(item)
}
}
}
void generateFroglight() {
void generateDyesFromSmallCoral() {
[
(Items.TUBE_CORAL) : Items.BLUE_DYE,
(Items.TUBE_CORAL_FAN) : Items.BLUE_DYE,
(Items.BRAIN_CORAL) : Items.PINK_DYE,
(Items.BRAIN_CORAL_FAN) : Items.PINK_DYE,
(Items.BUBBLE_CORAL) : Items.PURPLE_DYE,
(Items.BUBBLE_CORAL_FAN) : Items.PURPLE_DYE,
(Items.FIRE_CORAL) : Items.RED_DYE,
(Items.FIRE_CORAL_FAN) : Items.RED_DYE,
(Items.HORN_CORAL) : Items.YELLOW_DYE,
(Items.HORN_CORAL_FAN) : Items.YELLOW_DYE,
(Items.DEAD_TUBE_CORAL) : Items.GRAY_DYE,
(Items.DEAD_TUBE_CORAL_FAN) : Items.GRAY_DYE,
(Items.DEAD_BRAIN_CORAL) : Items.GRAY_DYE,
(Items.DEAD_BRAIN_CORAL_FAN) : Items.GRAY_DYE,
(Items.DEAD_BUBBLE_CORAL) : Items.GRAY_DYE,
(Items.DEAD_BUBBLE_CORAL_FAN) : Items.GRAY_DYE,
(Items.DEAD_FIRE_CORAL) : Items.GRAY_DYE,
(Items.DEAD_FIRE_CORAL_FAN) : Items.GRAY_DYE,
(Items.DEAD_HORN_CORAL) : Items.GRAY_DYE,
(Items.DEAD_HORN_CORAL_FAN) : Items.GRAY_DYE
].each { item, dye ->
offerExtractorRecipe {
ingredients item
outputs dye
source item.toString()
power 10
time 200
criterion getCriterionName(item), getCriterionConditions(item)
}
}
}
void generateDyesFromFroglight() {
[
(Items.OCHRE_FROGLIGHT) : Items.YELLOW_DYE,
(Items.VERDANT_FROGLIGHT) : Items.GREEN_DYE,
@ -129,14 +180,192 @@ class ExtractorRecipesProvider extends TechRebornRecipesProvider {
}
}
void generateMisc() {
void generateDyesFromMisc() {
[
(Items.PRISMARINE_SHARD) : Items.CYAN_DYE,
(TRContent.Parts.PLANTBALL) : Items.GREEN_DYE
].each { item, dye ->
offerExtractorRecipe {
ingredients Items.CHERRY_LEAVES
outputs stack(Items.PINK_PETALS, 4)
source Items.CHERRY_LEAVES.toString()
ingredients item
outputs dye
source item.asItem().toString()
power 10
time 300
criterion getCriterionName(Items.CHERRY_LEAVES), getCriterionConditions(Items.CHERRY_LEAVES)
criterion getCriterionName(item), getCriterionConditions(item)
}
}
[
(Items.SWEET_BERRIES) : Items.RED_DYE,
(Items.GLOW_BERRIES) : Items.ORANGE_DYE
].each { item, dye ->
offerExtractorRecipe {
ingredients stack(item, 4)
outputs dye
source item.toString()
power 10
time 300
criterion getCriterionName(item), getCriterionConditions(item)
}
}
offerExtractorRecipe {
ingredients stack(Items.CARROT, 3)
outputs Items.ORANGE_DYE
source Items.CARROT.toString()
power 10
time 300
criterion getCriterionName(Items.CARROT), getCriterionConditions(Items.CARROT)
}
offerExtractorRecipe {
ingredients Items.BEETROOT
outputs stack(Items.RED_DYE, 2)
source Items.BEETROOT.toString()
power 10
time 300
criterion getCriterionName(Items.BEETROOT), getCriterionConditions(Items.BEETROOT)
}
offerExtractorRecipe {
ingredients Items.SHULKER_SHELL
outputs stack(Items.PURPLE_DYE, 4)
source Items.SHULKER_SHELL.toString()
power 10
time 300
criterion getCriterionName(Items.SHULKER_SHELL), getCriterionConditions(Items.SHULKER_SHELL)
}
}
void generateMisc() {
offerExtractorRecipe {
ingredients Items.CONDUIT
outputs Items.HEART_OF_THE_SEA
source Items.CONDUIT.toString()
power 10
time 1000
criterion getCriterionName(Items.CONDUIT), getCriterionConditions(Items.CONDUIT)
}
[
(Items.COD) : 64,
(Items.PUFFERFISH) : 32
].each { input, amount ->
offerExtractorRecipe {
ingredients stack(input, amount)
outputs TRContent.Parts.SPONGE_PIECE
source input.asItem().toString()
power 10
time 1000
criterion getCriterionName(input), getCriterionConditions(input)
}
}
[
(Items.CHERRY_LEAVES) : Items.PINK_PETALS,
(Items.CLAY) : Items.CLAY_BALL
].each { input, output ->
offerExtractorRecipe {
ingredients input
outputs stack(output, 4)
source input.asItem().toString()
power 10
time 300
criterion getCriterionName(input), getCriterionConditions(input)
}
}
[
(TRContent.Parts.SAP) : TRContent.Parts.RUBBER,
(Items.ARMOR_STAND) : Items.STICK
].each { input, output ->
offerExtractorRecipe {
ingredients input
outputs stack(output, 3)
source input.asItem().toString()
power 10
time 300
criterion getCriterionName(TRContent.Parts.SAP), getCriterionConditions(TRContent.Parts.SAP)
}
}
[
(Items.TNT) : Items.GUNPOWDER,
(Items.ELYTRA) : Items.PHANTOM_MEMBRANE,
(Items.SLIME_BALL) : TRContent.Parts.RUBBER,
(Items.DEAD_BUSH) : Items.STICK
].each { input, output ->
offerExtractorRecipe {
ingredients input
outputs stack(output, 2)
source input.asItem().toString()
power 10
time 300
criterion getCriterionName(input), getCriterionConditions(input)
}
}
[
(TRContent.RUBBER_SAPLING) : TRContent.Parts.RUBBER,
(Items.STICKY_PISTON) : Items.SLIME_BALL,
(Items.BOW) : Items.STRING,
(Items.CROSSBOW) : Items.STRING,
(Items.FERN) : Items.WHEAT_SEEDS,
(Items.GRASS) : Items.WHEAT_SEEDS
].each { input, output ->
offerExtractorRecipe {
ingredients input
outputs output
source input.asItem().toString()
power 10
time 300
criterion getCriterionName(input), getCriterionConditions(input)
}
}
[
Items.BOOK,
Items.ENCHANTED_BOOK,
Items.WRITABLE_BOOK,
Items.WRITTEN_BOOK,
TRContent.MANUAL
].each {item ->
offerExtractorRecipe {
ingredients item
outputs stack(Items.PAPER, 2)
source item.toString()
power 10
time 200
criterion getCriterionName(item), getCriterionConditions(item)
}
}
offerExtractorRecipe {
ingredients Items.SCULK_CATALYST
outputs Items.SCULK
source Items.SCULK_CATALYST.toString()
power 10
time 200
criterion getCriterionName(Items.SCULK_CATALYST), getCriterionConditions(Items.SCULK_CATALYST)
}
[
(Items.GRAVEL) : Items.FLINT,
(Items.MANGROVE_ROOTS) : Items.HANGING_ROOTS,
(Items.MUDDY_MANGROVE_ROOTS) : Items.MANGROVE_ROOTS
].each {input, output ->
offerExtractorRecipe {
ingredients input
outputs output
source input.toString()
power 2
time 200
criterion getCriterionName(input), getCriterionConditions(input)
}
}
offerExtractorRecipe {
ingredients stack(Items.SUGAR_CANE, 2)
outputs stack(Items.SUGAR, 3)
source Items.SUGAR_CANE.toString()
power 2
time 200
criterion getCriterionName(Items.SUGAR_CANE), getCriterionConditions(Items.SUGAR_CANE)
}
offerExtractorRecipe {
ingredients TRContent.PAINTING_TOOL
outputs Items.STRING
source TRContent.PAINTING_TOOL.toString()
power 10
time 150
criterion getCriterionName(TRContent.PAINTING_TOOL), getCriterionConditions(TRContent.PAINTING_TOOL)
}
}

View file

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

View file

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

View file

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

View file

@ -1,32 +0,0 @@
{
"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

@ -1,32 +0,0 @@
{
"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

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,32 +0,0 @@
{
"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

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 400,
"ingredients": [
{
"item": "minecraft:tube_coral_block"
}
],
"results": [
{
"item": "minecraft:blue_dye",
"count": 5
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 200,
"ingredients": [
{
"tag": "c:small_corals_blue"
}
],
"results": [
{
"item": "minecraft:blue_dye",
"count": 1
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:clay"
}
],
"results": [
{
"item": "minecraft:clay_ball",
"count": 4
}
]
}

View file

@ -1,15 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:prismarine_shard"
}
],
"results": [
{
"item": "minecraft:cyan_dye"
}
]
}

View file

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

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 400,
"ingredients": [
{
"tag": "c:dead_coral_blocks"
}
],
"results": [
{
"item": "minecraft:gray_dye",
"count": 5
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 200,
"ingredients": [
{
"tag": "c:small_corals_dead"
}
],
"results": [
{
"item": "minecraft:gray_dye",
"count": 1
}
]
}

View file

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

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:tnt"
}
],
"results": [
{
"item": "minecraft:gunpowder",
"count": 2
}
]
}

View file

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

View file

@ -1,15 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 1000,
"ingredients": [
{
"item": "minecraft:conduit"
}
],
"results": [
{
"item": "minecraft:heart_of_the_sea"
}
]
}

View file

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

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:carrot",
"count": 3
}
],
"results": [
{
"item": "minecraft:orange_dye"
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:glow_berries",
"count": 4
}
],
"results": [
{
"item": "minecraft:orange_dye"
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 200,
"ingredients": [
{
"item": "minecraft:book"
}
],
"results": [
{
"item": "minecraft:paper",
"count": 2
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:elytra"
}
],
"results": [
{
"item": "minecraft:phantom_membrane",
"count": 2
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 400,
"ingredients": [
{
"item": "minecraft:brain_coral_block"
}
],
"results": [
{
"item": "minecraft:pink_dye",
"count": 5
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 200,
"ingredients": [
{
"tag": "c:small_corals_pink"
}
],
"results": [
{
"item": "minecraft:pink_dye",
"count": 1
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 400,
"ingredients": [
{
"item": "minecraft:bubble_coral_block"
}
],
"results": [
{
"item": "minecraft:purple_dye",
"count": 5
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 400,
"ingredients": [
{
"item": "minecraft:shulker_shell"
}
],
"results": [
{
"item": "minecraft:purple_dye",
"count": 4
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 200,
"ingredients": [
{
"tag": "c:small_corals_purple"
}
],
"results": [
{
"item": "minecraft:purple_dye",
"count": 1
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:beetroot"
}
],
"results": [
{
"item": "minecraft:red_dye",
"count": 2
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 400,
"ingredients": [
{
"item": "minecraft:fire_coral_block"
}
],
"results": [
{
"item": "minecraft:red_dye",
"count": 5
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 200,
"ingredients": [
{
"tag": "c:small_corals_red"
}
],
"results": [
{
"item": "minecraft:red_dye",
"count": 1
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:sweet_berries",
"count": 4
}
],
"results": [
{
"item": "minecraft:red_dye"
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:rooted_dirt"
}
],
"results": [
{
"item": "minecraft:hanging_roots",
"count": 2
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "techreborn:sap"
}
],
"results": [
{
"item": "techreborn:rubber",
"count": 3
}
]
}

View file

@ -1,15 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "techreborn:rubber_sapling"
}
],
"results": [
{
"item": "techreborn:rubber"
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:slime_ball"
}
],
"results": [
{
"item": "techreborn:rubber",
"count": 2
}
]
}

View file

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

View file

@ -1,15 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:sticky_piston"
}
],
"results": [
{
"item": "minecraft:slime_ball"
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 1000,
"ingredients" : [
{
"item": "minecraft:cod",
"count": 64
}
],
"results" : [
{
"item": "techreborn:sponge_piece"
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 1000,
"ingredients" : [
{
"item": "minecraft:pufferfish",
"count": 32
}
],
"results" : [
{
"item": "techreborn:sponge_piece"
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:armor_stand"
}
],
"results": [
{
"item": "minecraft:stick",
"count": 3
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:dead_bush"
}
],
"results": [
{
"item": "minecraft:stick",
"count": 2
}
]
}

View file

@ -1,15 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:bow"
}
],
"results": [
{
"item": "minecraft:string"
}
]
}

View file

@ -1,15 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:crossbow"
}
],
"results": [
{
"item": "minecraft:string"
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 150,
"ingredients": [
{
"item": "techreborn:painting_tool"
}
],
"results": [
{
"item": "minecraft:string",
"count": 1
}
]
}

View file

@ -1,17 +0,0 @@
{
"type": "techreborn:extractor",
"power": 2,
"time": 200,
"ingredients" : [
{
"item": "minecraft:sugar_cane",
"count": 2
}
],
"results" : [
{
"item": "minecraft:sugar",
"count": 3
}
]
}

View file

@ -1,15 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:large_fern"
}
],
"results": [
{
"item": "minecraft:wheat_seeds"
}
]
}

View file

@ -1,15 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 300,
"ingredients": [
{
"item": "minecraft:tall_grass"
}
],
"results": [
{
"item": "minecraft:wheat_seeds"
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 400,
"ingredients": [
{
"item": "minecraft:horn_coral_block"
}
],
"results": [
{
"item": "minecraft:yellow_dye",
"count": 5
}
]
}

View file

@ -1,16 +0,0 @@
{
"type": "techreborn:extractor",
"power": 10,
"time": 200,
"ingredients": [
{
"tag": "c:small_corals_yellow"
}
],
"results": [
{
"item": "minecraft:yellow_dye",
"count": 1
}
]
}