(IBlockState blockState, IBlockAccess blockAccess, BlockPos blockPos)
| 102 | private static final CustomColors.IColorizer COLORIZER_GRASS = new CustomColors.IColorizer() |
| 103 | { |
| 104 | public int getColor(IBlockState blockState, IBlockAccess blockAccess, BlockPos blockPos) |
| 105 | { |
| 106 | BiomeGenBase biomegenbase = CustomColors.getColorBiome(blockAccess, blockPos); |
| 107 | return CustomColors.swampGrassColors != null && biomegenbase == BiomeGenBase.swampland ? CustomColors.swampGrassColors.getColor(biomegenbase, blockPos) : biomegenbase.getGrassColorAtPos(blockPos); |
| 108 | } |
| 109 | public boolean isColorConstant() |
| 110 | { |
| 111 | return false; |
nothing calls this directly
no test coverage detected