Minecraft:Color
More actions
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Colors are applied to several Minecraft:blocks, Minecraft:items and Minecraft:particles in order to display a much wider array of possibilities than would be possible with a raw unmodified texture without the need for potentially millions of distinct files.
Texture colors
While most objects directly use colors from the RGBA color texture map, some parts of textures are tinted with specific variable colors. Tinted textures are created by taking the base texture and multiplying it with the given tint, such as the biome color.
Block and fluid colors
Grass
The following blocks are counted as part of the "grass" group of blocks, and are accordingly colored:
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink (stem only)
- Template:BlockLink (stem only)
Grass colors are biome-dependent, and the colors used are usually picked from a dedicated grass colormap, with some exceptions.
The following removed blocks (many unintended) also utilized the grass colors (full lists of renders can be found here and here):
Foliage
The following blocks are counted as part of the "foliage" group of blocks, and are accordingly colored:
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink
- Template:BlockLink
Foliage colors are biome-dependent, and the colors used are usually picked from a dedicated foliage colormap, with some exceptions.
The following removed blocks (many unintended) also utilized the foliage colors (a full list of renders can be found here):
- Potted Oak Leaves
- Potted Birch Leaves
- Potted Spruce Leaves
- Potted Jungle Leaves
- Potted Acacia Leaves
- Potted Dark Oak Leaves
- Potted Vines
Dry foliage
One block is counted as part of the "dry foliage" group, colored in different tints of brown based on the biome.
Water
Water placed in the world is also subject to coloring. Template:IN, this also applies to cauldrons.
Unlike grass and foliage, water colors are always predefined, and are never picked from a colormap, even though one used to exist.
Stems
Unlike other crops, Minecraft:pumpkin stems and Minecraft:melon stems utilize a color system which applies a different color for each growth stage.
Redstone wire
Minecraft:Redstone wire uses a color system which colors the wire depending on its current power level. With no power, it appears as a very dark red, whereas it appears bright red at full power.
Cauldrons
Template:Exclusive Potions placed in cauldrons also use colors to represent the contained potion.Template:Info needed
Minecraft:Water in cauldrons can be dyed similar to Minecraft:leather armor.
Constant colors
A small subclass of blocks use colors which do not change at all under any circumstances.
- Template:BlockLink: Template:Color
- Template:BlockLink: Template:Color
- Template:BlockLink: Template:Color
- Template:BlockLink: Template:Color
- Template:BlockLink: Template:Color
The following removed block (many unintended) also used a constant color (a full list of renders can be found here):
Items
Entities
Dyed sheep
Template:MainMinecraft:Sheep can be dyed, which changes the color of its wool with unique colors.
Wolf and cat collar
Both wolf and cat collars use the dye colors directly one to one.
Experience orbs
Minecraft:Experience orb textures are mostly white, gray, and red; a gradient is applied afterward to make them green and yellow.
Other
Particles
Alongside potion particles, several other Minecraft:particles are stored as gray textures with colors applied to them after the fact. Notable examples are the various dripping particles (water, lava, honey, crying obsidian, spore blossom), critical hit (which has a white texture but an orange color is later applied), and magic crit (same).
Note blocks also emit particles, whose base texture is gray, that change color through the spectrum.
Commands can be used to set the colors of some but not all particles.
Banners
Banners are colored according to default dye colors.
Beacon beam
Beacon beams are colored according to default dye colors. Without any stained glass, it defaults to the color for white dye.
End gateway beam
Template:For The Minecraft:end gateway creates a beam under certain circumstances which is colored different colors depending on why said beam is created.
Guardian beam
Template:For When attacking, Minecraft:guardians shoot a ranged beam which follows a gradient dependent on time.
Light colors
When the "Render Dragon Features for Creators" experiment is enabled in Minecraft:Minecraft Preview, and Minecraft:Vibrant Visuals is enabled, all Minecraft:light-emitting blocks render colored lighting on the surrounding blocks. Furthermore, if point lights are enabled, some light blocks have point lighting, which is a directional light source with the same colors applied.
Sky and clouds
Template:IN, the Minecraft:sky and Minecraft:clouds have predefined colors for rainfall, thunderstorms and lightning strikes, which are blended with a specified weight with regular biome colors.
World border
Template:For The Minecraft:world border Template:In has several colors. A blue color is applied if the border is stationary. If expanding, the world border takes on a green hue. If the world border is shrinking, the world border turns red. In the Nether, the world border is always red no matter if it is expanding, stationary, or shrinking. The world border becomes more opaque the closer the player is to it, and more transparent if the player is further away.
Biome colors
Template:MainTemplate:ForThe temperature and downfall values of a Minecraft:biome are used when determining the colors of grass, foliage, dry foliage, water, Minecraft:fog, and the Minecraft:sky. Blocks such as Minecraft:mossy cobblestone, Minecraft:mossy stone bricks, and the stems of most Minecraft:flowers are not affected by biome coloration.<ref>Template:Bug</ref> Template:IN, biome colors are also visible on Minecraft:maps.<ref>Template:Bug</ref>
Plants
Template:More images Most biomes color blocks based on colormaps. The exact color used depends on the biome's temperature and downfall values, on the X and Y axis respectively.
At borders between or among biomes, the colors of the block and its eightTemplate:Verify neighbors are computed and the average is used for the final block color.
-
grass.png
-
foliage.png
-
dry_foliage.png This is used to color Minecraft:leaf litter.
Certain biomes use unique colors, overriding the temperature-based colors.
- Grass in Minecraft:swamps and Minecraft:mangrove swamps uses two different colors depending on the temperature inside the swamps, which is affected by a Perlin noise function. This is Template:Color below −0.1, and Template:Color. Template:IN, a [[Minecraft::File:Swamp grass.png|colormap]] is used for this.
- Foliage in swamps is always colored Template:Color, determined by a [[Minecraft::File:Swamp foliage.png|colormap]] Template:In.
- Foliage in mangrove swamps is always colored Template:Color, determined by a [[Minecraft::File:Mangrove swamp foliage.png|colormap]] Template:In.
- Dark forests use the same grass colors as in other biomes, but are bit masked with the number #FEFEFE, and averaged with a dark green color (Template:Color) to produce the final color. In vanilla, the color therefore used is Template:Color.
- Leaf litter in swamps, mangrove swamps, and dark forests uses color code Template:Color.
- Minecraft:Pale gardens use color value Template:Color for its grass, use color value Template:Color for foliage and use color value Template:Color for the leaf litter.
- All Minecraft:badlands biomes use Template:Color for grass and Template:Color for foliage and dry foliage.
- Minecraft:Cherry groves use color value Template:Color for foliage and grass.
Water
Minecraft:Water and water cauldrons placed in the world are subject to coloring. Template:IN, unique water colors are used for different Minecraft:ocean temperatures, Minecraft:swamps, Minecraft:pale gardens, and a few other biomes. Template:IN, every biome has unique colors, even different Minecraft:dimensions. These are also visible on Minecraft:maps. Some biomes also have custom transparencies for water surface colors.
Water Minecraft:fog is colored accordingly to the water surface per biome, with slightly different colors and strengths.
Sky
The Minecraft:sky in the Minecraft:Overworld has variying shades of blue based on the temperature. Pale gardens override this with Template:Color, and End biomes placed in the Overworld have black sky colors. Template:IN, each biome has unique colors during rainfall and thunder.
Fog
Minecraft:Fog has several colors, which are dependent of the fog type and the biome.
- Sky fog in the Minecraft:Overworld is Template:Color Template:In and Template:Color Template:In.
- Sky fog in the Minecraft:End is Template:Color in Java Edition and Template:Color in Bedrock Edition.
- Sky fog in Minecraft:pale gardens is Template:Color.
- Minecraft:Weather fog is Template:Color, or Template:Color in pale gardens.Template:Only
- Fog in the Minecraft:Nether uses custom colors depending on the Minecraft:biome.
- Minecraft:Water fog has unique colors for every biome.
- Lava fog is colored Template:Color.
- Powder snow fog is colored Template:Color.
References
Minecraft:es:Color Minecraft:fr:Couleur Minecraft:ja:色調 Minecraft:pt:Cor