Translations:Water and Lava/24/en
if (block.getMaterial() == materialIn)
{ double level = y + 1 -BlockLiquid.getLiquidHeightPercent(iblockstate.getValue(BlockLiquid.LEVEL)); //liquidHeightPercent(i) returns (i + 1) / 9.0F;
if (block.getMaterial() == materialIn)
{ double level = y + 1 -BlockLiquid.getLiquidHeightPercent(iblockstate.getValue(BlockLiquid.LEVEL)); //liquidHeightPercent(i) returns (i + 1) / 9.0F;