rendering: tints: fix foliage color map identifier

This commit is contained in:
Bixilon 2021-04-09 01:18:37 +02:00
parent 7420793f1d
commit ee6237b736
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -91,7 +91,7 @@ class TintColorCalculator(val world: World) {
companion object { companion object {
val TINTS: MutableMap<ResourceLocation, (biome: Biome, blockPosition: Vec3i, colorMaps: Map<ResourceLocation, Array<RGBColor>>) -> RGBColor?> = mutableMapOf() val TINTS: MutableMap<ResourceLocation, (biome: Biome, blockPosition: Vec3i, colorMaps: Map<ResourceLocation, Array<RGBColor>>) -> RGBColor?> = mutableMapOf()
private val DEFAULT_GRASS_COLOR_MAP = ResourceLocation("minecraft:grass_colormap") private val DEFAULT_GRASS_COLOR_MAP = ResourceLocation("minecraft:grass_colormap")
private val DEFAULT_FOLIAGE_COLOR_MAP = ResourceLocation("minecraft:grass_colormap") private val DEFAULT_FOLIAGE_COLOR_MAP = ResourceLocation("minecraft:foliage_colormap")
private val WATER_TINT_RESOURCE_LOCATION = ResourceLocation("water_tint") private val WATER_TINT_RESOURCE_LOCATION = ResourceLocation("water_tint")
private val GRASS_TINT_RESOURCE_LOCATION = ResourceLocation("grass_tint") private val GRASS_TINT_RESOURCE_LOCATION = ResourceLocation("grass_tint")