(BlockPos pos)
| 3253 | } |
| 3254 | |
| 3255 | public boolean isBlockPowered(BlockPos pos) |
| 3256 | { |
| 3257 | return this.getRedstonePower(pos.down(), EnumFacing.DOWN) > 0 ? true : (this.getRedstonePower(pos.up(), EnumFacing.UP) > 0 ? true : (this.getRedstonePower(pos.north(), EnumFacing.NORTH) > 0 ? true : (this.getRedstonePower(pos.south(), EnumFacing.SOUTH) > 0 ? true : (this.getRedstonePower(pos.west(), EnumFacing.WEST) > 0 ? true : this.getRedstonePower(pos.east(), EnumFacing.EAST) > 0)))); |
| 3258 | } |
| 3259 | |
| 3260 | /** |
| 3261 | * Checks if the specified block or its neighbors are powered by a neighboring block. Used by blocks like TNT and |
no test coverage detected