/** Plays step sound at given x, y, z for the entity */ protected void playStepSound(int par1, int par2, int par3, int par4) { StepSound stepsound = Block.blocksList[par4].stepSound; if (worldObj.getBlockId(par1, par2 + 1, par3) == Block.snow.blockID) { stepsound = Block.snow.stepSound; worldObj.playSoundAtEntity( this, stepsound.getStepSound(), stepsound.getVolume() * 0.15F, stepsound.getPitch()); } else if (!Block.blocksList[par4].blockMaterial.isLiquid()) { worldObj.playSoundAtEntity( this, stepsound.getStepSound(), stepsound.getVolume() * 0.15F, stepsound.getPitch()); } }