Package net.minecraft.world.biome
Class BiomeColors
- java.lang.Object
-
- net.minecraft.world.biome.BiomeColors
-
public class BiomeColors extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ColorResolver
FOLIAGE_COLOR_RESOLVER
static ColorResolver
GRASS_COLOR_RESOLVER
static ColorResolver
WATER_COLOR_RESOLVER
-
Constructor Summary
Constructors Constructor Description BiomeColors()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
getAverageColor(IBlockDisplayReader p_228359_0_, BlockPos p_228359_1_, ColorResolver p_228359_2_)
static int
getAverageFoliageColor(IBlockDisplayReader p_228361_0_, BlockPos p_228361_1_)
static int
getAverageGrassColor(IBlockDisplayReader p_228358_0_, BlockPos p_228358_1_)
static int
getAverageWaterColor(IBlockDisplayReader p_228363_0_, BlockPos p_228363_1_)
-
-
-
Field Detail
-
GRASS_COLOR_RESOLVER
public static final ColorResolver GRASS_COLOR_RESOLVER
-
FOLIAGE_COLOR_RESOLVER
public static final ColorResolver FOLIAGE_COLOR_RESOLVER
-
WATER_COLOR_RESOLVER
public static final ColorResolver WATER_COLOR_RESOLVER
-
-
Method Detail
-
getAverageColor
private static int getAverageColor(IBlockDisplayReader p_228359_0_, BlockPos p_228359_1_, ColorResolver p_228359_2_)
-
getAverageGrassColor
public static int getAverageGrassColor(IBlockDisplayReader p_228358_0_, BlockPos p_228358_1_)
-
getAverageFoliageColor
public static int getAverageFoliageColor(IBlockDisplayReader p_228361_0_, BlockPos p_228361_1_)
-
getAverageWaterColor
public static int getAverageWaterColor(IBlockDisplayReader p_228363_0_, BlockPos p_228363_1_)
-
-