New recipes (#2907)
* Added red sand recipe Crafting Table: Sand + Netherrack Dust -> Red Sand Gives another use to Netherrack Dust and makes Red Sand almost renewable (only limited by available Netherrack) * Added sugar recipe Extractor: Sugar Cane -> Sugar Increases yield by 50%. Good for food mods. * Added Ender Chest uncrafting Ind.Grinder: Ender Chest + Water/Mercury -> some obsidian dust and ender eye dust Of course we want to throw a stone chest in the grinder. Returning dusts instead of items should make this work. * Added datagen fluid extraction recipes Extractor: bucket/bottle/cell -> empty version The empty cell recipe has been moved into datagen, the rest are natural expansions. * Added string extraction Extractor: banner/bed -> 5/3 String About 1 String per used wool, but 6 seemed too much for banner in comparison to bed, so 1 less. * Added sponge grinding Grinder: (any tagged) sponge -> 5 sponge pieces Not much use rn. Grinding over crafting because the newly introduced tag allows grinding of other sponges as well, which might have another color. I think grinding works better for that. * Added lantern assembling Assembling Machine: 10 (soul) torches + 8 iron ingots -> 10 (soul) lantern 8 iron ingots are 8x8 + 8 iron nuggets and could normally only be used for 9 lanterns. The automation also saves the step of turning an ingot into nuggets first. * Added netherite alloying Alloy Smelter: 10 gold ingots + 10 netherite scrap -> 3 netherite ingots Since returning 3 ingots, time is tripled from normal alloying. Effectively means 20 scrap can produce 6 ingots instead of 5, which is a 20% increase. There are 5 tools and 4 armor pieces that can be netherite'd in vanilla. In vanilla this needs 36 Ancient debris. With the ind. Grinder only 12 Ancient Debris are needed, and alloying reduces this further to 10.
This commit is contained in:
parent
3c0ad31cce
commit
da1113408f
21 changed files with 531 additions and 3 deletions
|
@ -42,6 +42,7 @@ class ExtractorRecipesProvider extends TechRebornRecipesProvider {
|
|||
void generateRecipes() {
|
||||
generateDoubleDyes()
|
||||
generateQuadrupleDyes()
|
||||
generateFluidExtraction()
|
||||
}
|
||||
|
||||
// ONLY for doubling vanilla single dye recipes
|
||||
|
@ -95,4 +96,50 @@ class ExtractorRecipesProvider extends TechRebornRecipesProvider {
|
|||
}
|
||||
}
|
||||
|
||||
void generateFluidExtraction() {
|
||||
final int exPower = 10
|
||||
final int exTime = 150
|
||||
// vanilla buckets
|
||||
[
|
||||
Items.MILK_BUCKET,
|
||||
Items.LAVA_BUCKET,
|
||||
Items.POWDER_SNOW_BUCKET,
|
||||
Items.WATER_BUCKET
|
||||
].each {bucket ->
|
||||
offerExtractorRecipe {
|
||||
ingredients bucket
|
||||
outputs Items.BUCKET
|
||||
source bucket.toString()
|
||||
power exPower
|
||||
time exTime
|
||||
criterion getCriterionName(bucket), getCriterionConditions(bucket)
|
||||
}
|
||||
}
|
||||
// vanilla bottles with toast
|
||||
[
|
||||
Items.EXPERIENCE_BOTTLE,
|
||||
Items.HONEY_BOTTLE,
|
||||
Items.LINGERING_POTION,
|
||||
Items.POTION,
|
||||
Items.SPLASH_POTION
|
||||
].each {bottle ->
|
||||
offerExtractorRecipe {
|
||||
ingredients bottle
|
||||
outputs Items.GLASS_BOTTLE
|
||||
source bottle.toString()
|
||||
power exPower
|
||||
time exTime
|
||||
criterion getCriterionName(bottle), getCriterionConditions(bottle)
|
||||
}
|
||||
}
|
||||
// cells
|
||||
offerExtractorRecipe {
|
||||
ingredients TRContent.CELL
|
||||
outputs TRContent.CELL
|
||||
power exPower
|
||||
time exTime
|
||||
criterion getCriterionName(TRContent.CELL), getCriterionConditions(TRContent.CELL)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
7
src/main/resources/data/c/tags/items/sponges.json
Normal file
7
src/main/resources/data/c/tags/items/sponges.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"minecraft:sponge",
|
||||
"minecraft:wet_sponge"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:alloy_smelter/netherite_ingot"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_gold": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["minecraft:gold_ingot"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_scrap": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["minecraft:netherite_scrap"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:alloy_smelter/netherite_ingot"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_gold",
|
||||
"has_scrap",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:assembling_machine/lantern"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_torch": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["minecraft:torch"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:assembling_machine/lantern"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_torch",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:assembling_machine/soul_lantern"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_soul_torch": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["minecraft:soul_torch"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:assembling_machine/soul_lantern"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_soul_torch",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:crafting_table/misc_block/red_sand"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_netherrack_dust": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"tag": "c:netherrack_dusts"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:crafting_table/misc_block/red_sand"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_netherrack_dust",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:extractor/string_from_banner"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_banner": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"tag": "minecraft:banners"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:extractor/string_from_banner"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_banner",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:extractor/string_from_bed"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_bed": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"tag": "minecraft:beds"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:extractor/string_from_banner"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_bed",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"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"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:grinder/sponge_piece"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_sponges": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"tag": "c:sponges"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:grinder/sponge_piece"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_sponges",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:industrial_grinder/ender_chest_with_water"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_ender_chest": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["minecraft:ender_chest"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:industrial_grinder/ender_chest_with_water"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_ender_chest",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"type": "techreborn:alloy_smelter",
|
||||
"power": 6,
|
||||
"time": 600,
|
||||
"ingredients" : [
|
||||
{
|
||||
"item": "minecraft:gold_ingot",
|
||||
"count": 10
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_scrap",
|
||||
"count": 10
|
||||
}
|
||||
],
|
||||
"results" : [
|
||||
{
|
||||
"item": "minecraft:netherite_ingot",
|
||||
"count": 3
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"type": "techreborn:assembling_machine",
|
||||
"power": 20,
|
||||
"time": 200,
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:torch",
|
||||
"count": 10
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_ingot",
|
||||
"count": 8
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "minecraft:lantern",
|
||||
"count": 10
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"type": "techreborn:assembling_machine",
|
||||
"power": 20,
|
||||
"time": 200,
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:soul_torch",
|
||||
"count": 10
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_ingot",
|
||||
"count": 8
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "minecraft:soul_lantern",
|
||||
"count": 10
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"group": "red_sand",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "c:netherrack_dusts"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:sand"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "minecraft:red_sand"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "techreborn:extractor",
|
||||
"power": 10,
|
||||
"time": 300,
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:banners"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "minecraft:string",
|
||||
"count": 5
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,15 +1,16 @@
|
|||
{
|
||||
"type": "techreborn:extractor",
|
||||
"power": 10,
|
||||
"time": 150,
|
||||
"time": 300,
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "techreborn:cell"
|
||||
"tag": "minecraft:beds"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "techreborn:cell"
|
||||
"item": "minecraft:string",
|
||||
"count": 3
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"type": "techreborn:extractor",
|
||||
"power": 2,
|
||||
"time": 200,
|
||||
"ingredients" : [
|
||||
{
|
||||
"item": "minecraft:sugar_cane",
|
||||
"count": 2
|
||||
}
|
||||
],
|
||||
"results" : [
|
||||
{
|
||||
"item": "minecraft:sugar",
|
||||
"count": 3
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "techreborn:grinder",
|
||||
"power": 4,
|
||||
"time": 200,
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "c:sponges"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "techreborn:sponge_piece",
|
||||
"count": 5
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"type": "techreborn:industrial_grinder",
|
||||
"power": 64,
|
||||
"time": 100,
|
||||
"tank": {
|
||||
"fluid": "techreborn:mercury",
|
||||
"amount": 1000
|
||||
},
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:ender_chest"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "techreborn:obsidian_dust",
|
||||
"count": 7
|
||||
},
|
||||
{
|
||||
"item": "techreborn:ender_eye_dust"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"type": "techreborn:industrial_grinder",
|
||||
"power": 64,
|
||||
"time": 100,
|
||||
"tank": {
|
||||
"fluid": "minecraft:water",
|
||||
"amount": 1000
|
||||
},
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:ender_chest"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "techreborn:obsidian_dust",
|
||||
"count": 4
|
||||
},
|
||||
{
|
||||
"item": "techreborn:ender_eye_small_dust",
|
||||
"count": 2
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue