Skip to content

Commit

Permalink
Set Redstone signal of half slabs to 7 and stairs to 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Elephant1214 committed Mar 14, 2023
1 parent 32606de commit e9b9df4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9b9df4

Please sign in to comment.