Skip to content

Commit

Permalink
rotten flesh recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnight145 committed Jan 31, 2025
1 parent 9c7eae1 commit bc517b7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/enhancements.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ Add rotated recipes for the fire, shock, frost, equal trade, excavation, and pri
## Config option: `rotatedThaumometer`
Add a rotated crafting recipe for the Thaumometer.

## Config option: `rottenFleshRecipe`
Add a recipe to convert flesh blocks back into rotten flesh.

# Enhancements - Wand Component Replacement

## Config option: `enableReplaceWandCapsRecipe`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,17 @@ public static void registerRecipes() {
ThaumcraftApi.getCraftingRecipes()
.add(new ReplaceWandCapsRecipe());
}

if (enhancements.replaceWandCoreSettings.isEnabled()) {
// noinspection unchecked
ThaumcraftApi.getCraftingRecipes()
.add(new ReplaceWandCoreRecipe());
}

if (enhancements.rottenFleshRecipe.isEnabled()) {
GameRegistry
.addShapelessRecipe(new ItemStack(Items.rotten_flesh, 9), new ItemStack(ConfigBlocks.blockTaint, 1, 2));
}
}

public static void registerRecipesPostInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public class EnhancementsModule extends BaseConfigModule {
public final CustomResearchSetting thaumometerScanContainersResearch;
public final ToggleSetting levitatorShiftFix;
public final ToggleSetting pureNodeBiomeChange;
public final ToggleSetting rottenFleshRecipe;

public EnhancementsModule() {
// spotless:off
Expand Down Expand Up @@ -226,7 +227,12 @@ public EnhancementsModule() {
this,
ConfigPhase.EARLY,
"eldritchAltarSpawningMethod",
"Override how eldritch altars pick where to try spawning crimson knights and eldritch guardians.")
"Override how eldritch altars pick where to try spawning crimson knights and eldritch guardians."),
rottenFleshRecipe = new ToggleSetting(
this,
ConfigPhase.EARLY,
"rottenFleshRecipe",
"Add a crafting recipe to convert flesh blocks back into rotten flesh.").setCategory("recipes")
);

// spotless:on
Expand Down

0 comments on commit bc517b7

Please sign in to comment.