(BlockPos pos, Block blockIn)
| 1001 | } |
| 1002 | |
| 1003 | protected void playStepSound(BlockPos pos, Block blockIn) |
| 1004 | { |
| 1005 | Block.SoundType block$soundtype = blockIn.stepSound; |
| 1006 | |
| 1007 | if (this.worldObj.getBlockState(pos.up()).getBlock() == Blocks.snow_layer) |
| 1008 | { |
| 1009 | block$soundtype = Blocks.snow_layer.stepSound; |
| 1010 | this.playSound(block$soundtype.getStepSound(), block$soundtype.getVolume() * 0.15F, block$soundtype.getFrequency()); |
| 1011 | } |
| 1012 | else if (!blockIn.getMaterial().isLiquid()) |
| 1013 | { |
| 1014 | this.playSound(block$soundtype.getStepSound(), block$soundtype.getVolume() * 0.15F, block$soundtype.getFrequency()); |
| 1015 | } |
| 1016 | } |
| 1017 | |
| 1018 | public void playSound(String name, float volume, float pitch) |
| 1019 | { |
no test coverage detected