diff --git a/src/main/java/tconstruct/smeltery/blocks/SearedBlock.java b/src/main/java/tconstruct/smeltery/blocks/SearedBlock.java index a10ca83f..e5ebd425 100644 --- a/src/main/java/tconstruct/smeltery/blocks/SearedBlock.java +++ b/src/main/java/tconstruct/smeltery/blocks/SearedBlock.java @@ -24,6 +24,7 @@ import tconstruct.smeltery.logic.CastingBlockLogic; import tconstruct.smeltery.logic.CastingTableLogic; import tconstruct.smeltery.logic.FaucetLogic; import tconstruct.smeltery.model.CastingBlockRender; +import tconstruct.util.config.PHConstruct; public class SearedBlock extends InventoryBlock { @@ -246,7 +247,7 @@ public class SearedBlock extends InventoryBlock { TileEntity te = world.getTileEntity(x, y, z); if (!(te instanceof FaucetLogic logic)) return; // was it a low->high pulse - if (!logic.hasRedstonePower && isPowered) { + if (!logic.hasRedstonePower && isPowered && PHConstruct.redstoneFaucet) { logic.hasRedstonePower = true; logic.setActive(true); } diff --git a/src/main/java/tconstruct/util/config/PHConstruct.java b/src/main/java/tconstruct/util/config/PHConstruct.java index fcb1a698..8f0aeb25 100644 --- a/src/main/java/tconstruct/util/config/PHConstruct.java +++ b/src/main/java/tconstruct/util/config/PHConstruct.java @@ -72,6 +72,8 @@ public class PHConstruct { .getBoolean(true); denyMattock = config.get("Difficulty Changes", "Deny creation of non-metal mattocks", false).getBoolean(false); craftEndstone = config.get("Difficulty Changes", "Allow creation of endstone", true).getBoolean(true); + redstoneFaucet = config.get("Difficulty Changes", "Allow Faucets to be activated by Redstone", true) + .getBoolean(true); alternativeBoltRecipe = config.get( "Difficulty Changes", "Add alternative recipe for bolt parts: arrowhead + toolrod in a crafting grid", @@ -487,6 +489,9 @@ public class PHConstruct { public static double ingotsPigironAlloy; public static boolean craftEndstone; + + public static boolean redstoneFaucet; + // Ultra Hardcore modifiers public static boolean enableHealthRegen; public static boolean goldAppleRecipe;