From e9b9df49f1263ca50c342d99dd5ab9e3de5f7bfb Mon Sep 17 00:00:00 2001 From: Elephant1214 Date: Mon, 13 Mar 2023 20:33:35 -0600 Subject: [PATCH] Set Redstone signal of half slabs to 7 and stairs to 11 --- .../java/nathan/notenoughvariations/blocks/BlockBaseStairs.java | 2 +- .../nathan/notenoughvariations/blocks/slab/BlockBaseSlab.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/nathan/notenoughvariations/blocks/BlockBaseStairs.java b/src/main/java/nathan/notenoughvariations/blocks/BlockBaseStairs.java index 4995288..ea41c4a 100644 --- a/src/main/java/nathan/notenoughvariations/blocks/BlockBaseStairs.java +++ b/src/main/java/nathan/notenoughvariations/blocks/BlockBaseStairs.java @@ -69,7 +69,7 @@ public boolean canProvidePower(@Nonnull IBlockState state) { @Override public int getWeakPower(@Nonnull IBlockState blockState, @Nonnull IBlockAccess blockAccess, @Nonnull BlockPos pos, @Nonnull EnumFacing side) { - return this.canProvidePower ? 15 : super.getWeakPower(blockState, blockAccess, pos, side); + return this.canProvidePower ? 11 : super.getWeakPower(blockState, blockAccess, pos, side); } @Nonnull diff --git a/src/main/java/nathan/notenoughvariations/blocks/slab/BlockBaseSlab.java b/src/main/java/nathan/notenoughvariations/blocks/slab/BlockBaseSlab.java index 414ed8e..c90bb60 100644 --- a/src/main/java/nathan/notenoughvariations/blocks/slab/BlockBaseSlab.java +++ b/src/main/java/nathan/notenoughvariations/blocks/slab/BlockBaseSlab.java @@ -118,7 +118,7 @@ public boolean canProvidePower(@Nonnull IBlockState state) { @Override public int getWeakPower(@Nonnull IBlockState blockState, @Nonnull IBlockAccess blockAccess, @Nonnull BlockPos pos, @Nonnull EnumFacing side) { - return this.canProvidePower ? 15 : super.getWeakPower(blockState, blockAccess, pos, side); + return this.canProvidePower ? this.isDouble() ? 15 : 7 : super.getWeakPower(blockState, blockAccess, pos, side); } @Nonnull