Package net.minecraft.block
Class MapColor
java.lang.Object
net.minecraft.block.MapColor
public class MapColor extends Object
Represents the surface color of a block when rendered from the
MapRenderer.
Color names refer to a material or an object which refers to their vanilla Minecraft textures, not their real-world counterparts, eg. "emerald green".
Names are in the form of either blockReference_baseColor or color.-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateMapColor(int id, int color) -
Method Summary
Modifier and Type Method Description intgetRenderColor(int shade)
-
Field Details
-
COLORS
-
CLEAR
-
PALE_GREEN
-
PALE_YELLOW
-
WHITE_GRAY
-
BRIGHT_RED
-
PALE_PURPLE
-
IRON_GRAY
-
DARK_GREEN
-
WHITE
-
LIGHT_BLUE_GRAY
-
DIRT_BROWN
-
STONE_GRAY
-
WATER_BLUE
-
OAK_TAN
-
OFF_WHITE
-
ORANGE
-
MAGENTA
-
LIGHT_BLUE
-
YELLOW
-
LIME
-
PINK
-
GRAY
-
LIGHT_GRAY
-
CYAN
-
PURPLE
-
BLUE
-
BROWN
-
GREEN
-
RED
-
BLACK
-
GOLD
-
DIAMOND_BLUE
-
LAPIS_BLUE
-
EMERALD_GREEN
-
SPRUCE_BROWN
-
DARK_RED
-
TERRACOTTA_WHITE
-
TERRACOTTA_ORANGE
-
TERRACOTTA_MAGENTA
-
TERRACOTTA_LIGHT_BLUE
-
TERRACOTTA_YELLOW
-
TERRACOTTA_LIME
-
TERRACOTTA_PINK
-
TERRACOTTA_GRAY
-
TERRACOTTA_LIGHT_GRAY
-
TERRACOTTA_CYAN
-
TERRACOTTA_PURPLE
-
TERRACOTTA_BLUE
-
TERRACOTTA_BROWN
-
TERRACOTTA_GREEN
-
TERRACOTTA_RED
-
TERRACOTTA_BLACK
-
field_25702
-
field_25703
-
field_25704
-
field_25705
-
field_25706
-
field_25707
-
field_25708
-
color
public final int color -
id
public final int id
-
-
Constructor Details
-
MapColor
private MapColor(int id, int color)
-
-
Method Details
-
getRenderColor
@Environment(CLIENT) public int getRenderColor(int shade)
-