Block Tinting
Tinting Textures
Atlas Tinting
In the RP/textures/terrain_texture.json
atlas file, the tint_color
and overlay_color
parameters can be used on a texture to tint it by a specified color in two different ways:
tint_color
applies a basic multiply tint to a texture.overlay_color
applies a tint to a texture, using the alpha channel of the texture to determine tint intensity.
Using Tint Methods
Tint methods can be used to tint the texture of a block based on the biome it is placed in.
Tinting is applied by specifying the tint_method
parameter for the material instance with the texture that should be tinted.
Different material instances of a block can use different tint methods.
"minecraft:material_instances": {
"*": {
"texture": "wiki:grey_texture",
"tint_method": "grass"
}
}
Tinting Map Color
If your texture has tinting applied, the chances are, you'll want maps to display your block with that tint too.
Tint methods can be applied to the block's map color, not just its textures!
"minecraft:map_color": {
"color": "#ffffff",
"tint_method": "grass"
}
Tint Methods
FORMAT VERSION 1.21.70
Tint methods are experimental and require Upcoming Creator Features to be enabled.
Tint methods can be used to tint a block based on the biome it is placed in. Most tint methods use colormaps (found in the RP/textures/colormap
folder) to determine tint color.
However, an exception to this is the water
tint method, which uses the surface_color
defined in the minecraft:water_appearance
component of client biome files.
List of Tint Methods
Tint Method | Preview | Vanilla Usage |
---|---|---|
birch_foliage | #80A755 |
|
default_foliage | #77AB2F |
|
dry_foliage | #A37546 |
|
evergreen_foliage | #619961 |
|
grass | #92BC58 |
|
water | #44AFF5 |
|
Contributors
Edit Block Tinting on GitHubText and image content on this page is licensed under the Creative Commons Attribution 4.0 International License
Code samples on this page are licensed under the MIT License