Skip to content

Commit

Permalink
Fix and actually add the recipes to the crafter and not just to the book
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethryan committed Jun 27, 2024
1 parent 28e93bd commit 39634ed
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/main/java/tb/init/TBThaumonomicon.java
Original file line number Diff line number Diff line change
Expand Up @@ -4039,9 +4039,13 @@ public static void setup() {
.add(brazierRec);

// TODO actual recipes

for (int i = 0; i < 6; ++i) ThaumcraftApi.getCraftingRecipes()
.add(shards[i]);
if (Loader.isModLoaded("gregtech") && !Loader.isModLoaded("gregapi")) {
for (int i = 0; i < 12; ++i) ThaumcraftApi.getCraftingRecipes()
.add(shards[i]);
} else {
for (int i = 0; i < 6; ++i) ThaumcraftApi.getCraftingRecipes()
.add(shards[i]);
}

for (int i = 0; i < oldRec.length; ++i) ThaumcraftApi.getCraftingRecipes()
.add(oldRec[i]);
Expand Down

0 comments on commit 39634ed

Please sign in to comment.