Translations:Water and Lava/24/en

From Minecraft Parkour Wiki

if (block.getMaterial() == materialIn)

                   {
                       double level = y + 1 -BlockLiquid.getLiquidHeightPercent(iblockstate.getValue(BlockLiquid.LEVEL));
                       //liquidHeightPercent(i) returns (i + 1) / 9.0F;