Skip to content

Commit f551107

Browse files
Move compat recipies to datagen (#5095)
* Separate config options for placing source blocks placeFluidSourceBlocks -> fluidFillingPlaceFluidSourceBlocks pipesPlaceFluidSourceBlocks * Add IC2 Metals compat * Compat Datagen, pt 1 * Add IC2 Metals compat * Compat Datagen, pt 1 * All Compat Recipes moved to datagen * Add Oreganized and Galosphere compat * Update HexCasting Compat * Add The Vault Compat * Add The Vault Compat * Fix dupe bug added by last commit * adding some wood missed previously * add Nether's Exoticism Compat * Update Mods.java Remove duplicate enum entry * Update CuttingRecipeGen.java Reflect Mods.java update * Update MillingRecipeGen.java Reflect Mods.java changes * Update PressingRecipeGen.java Reflect Mods.java changes * Update WashingRecipeGen.java Reflect Mods.java changes * Ok it's actually correct now --------- Co-authored-by: NerdsOfAFeather <[email protected]>
1 parent 9297523 commit f551107

File tree

473 files changed

+6702
-4456
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

473 files changed

+6702
-4456
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ dependencies {
194194
runtimeOnly fg.deobf("org.squiddev:cc-tweaked-${cc_tweaked_minecraft_version}:${cc_tweaked_version}")
195195
}
196196

197+
// implementation fg.deobf("curse.maven:ic2-classic-242942:4563059")
197198
// implementation fg.deobf("curse.maven:druidcraft-340991:3101903")
198199
// implementation fg.deobf("com.ferreusveritas.dynamictrees:DynamicTrees-1.16.5:0.10.0-Beta25")
199200
// runtimeOnly fg.deobf("vazkii.arl:AutoRegLib:1.4-35.69")

src/generated/resources/.cache/cache

Lines changed: 345 additions & 5 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"create:blasting/ingot_aluminum_compat_ic2"
6+
]
7+
},
8+
"criteria": {
9+
"has_item": {
10+
"trigger": "minecraft:inventory_changed",
11+
"conditions": {
12+
"items": [
13+
{
14+
"items": [
15+
"create:crushed_raw_aluminum"
16+
]
17+
}
18+
]
19+
}
20+
},
21+
"has_the_recipe": {
22+
"trigger": "minecraft:recipe_unlocked",
23+
"conditions": {
24+
"recipe": "create:blasting/ingot_aluminum_compat_ic2"
25+
}
26+
}
27+
},
28+
"requirements": [
29+
[
30+
"has_item",
31+
"has_the_recipe"
32+
]
33+
]
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"create:blasting/ingot_silver_compat_ic2"
6+
]
7+
},
8+
"criteria": {
9+
"has_item": {
10+
"trigger": "minecraft:inventory_changed",
11+
"conditions": {
12+
"items": [
13+
{
14+
"items": [
15+
"create:crushed_raw_silver"
16+
]
17+
}
18+
]
19+
}
20+
},
21+
"has_the_recipe": {
22+
"trigger": "minecraft:recipe_unlocked",
23+
"conditions": {
24+
"recipe": "create:blasting/ingot_silver_compat_ic2"
25+
}
26+
}
27+
},
28+
"requirements": [
29+
[
30+
"has_item",
31+
"has_the_recipe"
32+
]
33+
]
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"create:blasting/ingot_tin_compat_ic2"
6+
]
7+
},
8+
"criteria": {
9+
"has_item": {
10+
"trigger": "minecraft:inventory_changed",
11+
"conditions": {
12+
"items": [
13+
{
14+
"items": [
15+
"create:crushed_raw_tin"
16+
]
17+
}
18+
]
19+
}
20+
},
21+
"has_the_recipe": {
22+
"trigger": "minecraft:recipe_unlocked",
23+
"conditions": {
24+
"recipe": "create:blasting/ingot_tin_compat_ic2"
25+
}
26+
}
27+
},
28+
"requirements": [
29+
[
30+
"has_item",
31+
"has_the_recipe"
32+
]
33+
]
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"create:blasting/ingot_uranium_compat_ic2"
6+
]
7+
},
8+
"criteria": {
9+
"has_item": {
10+
"trigger": "minecraft:inventory_changed",
11+
"conditions": {
12+
"items": [
13+
{
14+
"items": [
15+
"create:crushed_raw_uranium"
16+
]
17+
}
18+
]
19+
}
20+
},
21+
"has_the_recipe": {
22+
"trigger": "minecraft:recipe_unlocked",
23+
"conditions": {
24+
"recipe": "create:blasting/ingot_uranium_compat_ic2"
25+
}
26+
}
27+
},
28+
"requirements": [
29+
[
30+
"has_item",
31+
"has_the_recipe"
32+
]
33+
]
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"create:blasting/lead_ingot_compat_oreganized"
6+
]
7+
},
8+
"criteria": {
9+
"has_item": {
10+
"trigger": "minecraft:inventory_changed",
11+
"conditions": {
12+
"items": [
13+
{
14+
"items": [
15+
"create:crushed_raw_lead"
16+
]
17+
}
18+
]
19+
}
20+
},
21+
"has_the_recipe": {
22+
"trigger": "minecraft:recipe_unlocked",
23+
"conditions": {
24+
"recipe": "create:blasting/lead_ingot_compat_oreganized"
25+
}
26+
}
27+
},
28+
"requirements": [
29+
[
30+
"has_item",
31+
"has_the_recipe"
32+
]
33+
]
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"create:blasting/silver_ingot_compat_galosphere"
6+
]
7+
},
8+
"criteria": {
9+
"has_item": {
10+
"trigger": "minecraft:inventory_changed",
11+
"conditions": {
12+
"items": [
13+
{
14+
"items": [
15+
"create:crushed_raw_silver"
16+
]
17+
}
18+
]
19+
}
20+
},
21+
"has_the_recipe": {
22+
"trigger": "minecraft:recipe_unlocked",
23+
"conditions": {
24+
"recipe": "create:blasting/silver_ingot_compat_galosphere"
25+
}
26+
}
27+
},
28+
"requirements": [
29+
[
30+
"has_item",
31+
"has_the_recipe"
32+
]
33+
]
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"create:blasting/silver_ingot_compat_oreganized"
6+
]
7+
},
8+
"criteria": {
9+
"has_item": {
10+
"trigger": "minecraft:inventory_changed",
11+
"conditions": {
12+
"items": [
13+
{
14+
"items": [
15+
"create:crushed_raw_silver"
16+
]
17+
}
18+
]
19+
}
20+
},
21+
"has_the_recipe": {
22+
"trigger": "minecraft:recipe_unlocked",
23+
"conditions": {
24+
"recipe": "create:blasting/silver_ingot_compat_oreganized"
25+
}
26+
}
27+
},
28+
"requirements": [
29+
[
30+
"has_item",
31+
"has_the_recipe"
32+
]
33+
]
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"create:smelting/ingot_aluminum_compat_ic2"
6+
]
7+
},
8+
"criteria": {
9+
"has_item": {
10+
"trigger": "minecraft:inventory_changed",
11+
"conditions": {
12+
"items": [
13+
{
14+
"items": [
15+
"create:crushed_raw_aluminum"
16+
]
17+
}
18+
]
19+
}
20+
},
21+
"has_the_recipe": {
22+
"trigger": "minecraft:recipe_unlocked",
23+
"conditions": {
24+
"recipe": "create:smelting/ingot_aluminum_compat_ic2"
25+
}
26+
}
27+
},
28+
"requirements": [
29+
[
30+
"has_item",
31+
"has_the_recipe"
32+
]
33+
]
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"create:smelting/ingot_silver_compat_ic2"
6+
]
7+
},
8+
"criteria": {
9+
"has_item": {
10+
"trigger": "minecraft:inventory_changed",
11+
"conditions": {
12+
"items": [
13+
{
14+
"items": [
15+
"create:crushed_raw_silver"
16+
]
17+
}
18+
]
19+
}
20+
},
21+
"has_the_recipe": {
22+
"trigger": "minecraft:recipe_unlocked",
23+
"conditions": {
24+
"recipe": "create:smelting/ingot_silver_compat_ic2"
25+
}
26+
}
27+
},
28+
"requirements": [
29+
[
30+
"has_item",
31+
"has_the_recipe"
32+
]
33+
]
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"rewards": {
4+
"recipes": [
5+
"create:smelting/ingot_tin_compat_ic2"
6+
]
7+
},
8+
"criteria": {
9+
"has_item": {
10+
"trigger": "minecraft:inventory_changed",
11+
"conditions": {
12+
"items": [
13+
{
14+
"items": [
15+
"create:crushed_raw_tin"
16+
]
17+
}
18+
]
19+
}
20+
},
21+
"has_the_recipe": {
22+
"trigger": "minecraft:recipe_unlocked",
23+
"conditions": {
24+
"recipe": "create:smelting/ingot_tin_compat_ic2"
25+
}
26+
}
27+
},
28+
"requirements": [
29+
[
30+
"has_item",
31+
"has_the_recipe"
32+
]
33+
]
34+
}

0 commit comments

Comments
 (0)