@Environment(value=CLIENT) public class BiomeColors extends Object
Modifier and Type | Field and Description |
---|---|
static ColorResolver |
FOLIAGE_COLOR |
static ColorResolver |
GRASS_COLOR |
static ColorResolver |
WATER_COLOR |
Constructor and Description |
---|
BiomeColors() |
Modifier and Type | Method and Description |
---|---|
private static int |
getColor(BlockRenderView world,
BlockPos pos,
ColorResolver resolver) |
static int |
getFoliageColor(BlockRenderView world,
BlockPos pos) |
static int |
getGrassColor(BlockRenderView world,
BlockPos pos) |
static int |
getWaterColor(BlockRenderView world,
BlockPos pos) |
public static final ColorResolver GRASS_COLOR
public static final ColorResolver FOLIAGE_COLOR
public static final ColorResolver WATER_COLOR
private static int getColor(BlockRenderView world, BlockPos pos, ColorResolver resolver)
public static int getGrassColor(BlockRenderView world, BlockPos pos)
public static int getFoliageColor(BlockRenderView world, BlockPos pos)
public static int getWaterColor(BlockRenderView world, BlockPos pos)