(IBlockAccess blockAccess, IBlockState blockState, BlockPos blockPos, RenderEnv renderEnv)
| 994 | } |
| 995 | |
| 996 | public static int getFluidColor(IBlockAccess blockAccess, IBlockState blockState, BlockPos blockPos, RenderEnv renderEnv) |
| 997 | { |
| 998 | Block block = blockState.getBlock(); |
| 999 | CustomColors.IColorizer customcolors$icolorizer = getBlockColormap(blockState); |
| 1000 | |
| 1001 | if (customcolors$icolorizer == null && blockState.getBlock().getMaterial() == Material.water) |
| 1002 | { |
| 1003 | customcolors$icolorizer = COLORIZER_WATER; |
| 1004 | } |
| 1005 | |
| 1006 | return customcolors$icolorizer == null ? block.colorMultiplier(blockAccess, blockPos, 0) : (Config.isSmoothBiomes() && !customcolors$icolorizer.isColorConstant() ? getSmoothColorMultiplier(blockState, blockAccess, blockPos, customcolors$icolorizer, renderEnv.getColorizerBlockPosM()) : customcolors$icolorizer.getColor(blockState, blockAccess, blockPos)); |
| 1007 | } |
| 1008 | |
| 1009 | public static void updatePortalFX(EntityFX fx) |
| 1010 | { |
no test coverage detected