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.- Mappings:
Namespace Name official daq
intermediary net/minecraft/class_3620
named net/minecraft/block/MapColor
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
MapColor(int id, int color)
-
Method Summary
Modifier and Type Method Description int
getRenderColor(int shade)
-
Field Details
-
COLORS
- Mappings:
Namespace Name Mixin selector official a
Ldaq;a:[Ldaq;
intermediary field_16006
Lnet/minecraft/class_3620;field_16006:[Lnet/minecraft/class_3620;
named COLORS
Lnet/minecraft/block/MapColor;COLORS:[Lnet/minecraft/block/MapColor;
-
CLEAR
- Mappings:
Namespace Name Mixin selector official b
Ldaq;b:Ldaq;
intermediary field_16008
Lnet/minecraft/class_3620;field_16008:Lnet/minecraft/class_3620;
named CLEAR
Lnet/minecraft/block/MapColor;CLEAR:Lnet/minecraft/block/MapColor;
-
PALE_GREEN
- Mappings:
Namespace Name Mixin selector official c
Ldaq;c:Ldaq;
intermediary field_15999
Lnet/minecraft/class_3620;field_15999:Lnet/minecraft/class_3620;
named PALE_GREEN
Lnet/minecraft/block/MapColor;PALE_GREEN:Lnet/minecraft/block/MapColor;
-
PALE_YELLOW
- Mappings:
Namespace Name Mixin selector official d
Ldaq;d:Ldaq;
intermediary field_15986
Lnet/minecraft/class_3620;field_15986:Lnet/minecraft/class_3620;
named PALE_YELLOW
Lnet/minecraft/block/MapColor;PALE_YELLOW:Lnet/minecraft/block/MapColor;
-
WHITE_GRAY
- Mappings:
Namespace Name Mixin selector official e
Ldaq;e:Ldaq;
intermediary field_15979
Lnet/minecraft/class_3620;field_15979:Lnet/minecraft/class_3620;
named WHITE_GRAY
Lnet/minecraft/block/MapColor;WHITE_GRAY:Lnet/minecraft/block/MapColor;
-
BRIGHT_RED
- Mappings:
Namespace Name Mixin selector official f
Ldaq;f:Ldaq;
intermediary field_16002
Lnet/minecraft/class_3620;field_16002:Lnet/minecraft/class_3620;
named BRIGHT_RED
Lnet/minecraft/block/MapColor;BRIGHT_RED:Lnet/minecraft/block/MapColor;
-
PALE_PURPLE
- Mappings:
Namespace Name Mixin selector official g
Ldaq;g:Ldaq;
intermediary field_16016
Lnet/minecraft/class_3620;field_16016:Lnet/minecraft/class_3620;
named PALE_PURPLE
Lnet/minecraft/block/MapColor;PALE_PURPLE:Lnet/minecraft/block/MapColor;
-
IRON_GRAY
- Mappings:
Namespace Name Mixin selector official h
Ldaq;h:Ldaq;
intermediary field_16005
Lnet/minecraft/class_3620;field_16005:Lnet/minecraft/class_3620;
named IRON_GRAY
Lnet/minecraft/block/MapColor;IRON_GRAY:Lnet/minecraft/block/MapColor;
-
DARK_GREEN
- Mappings:
Namespace Name Mixin selector official i
Ldaq;i:Ldaq;
intermediary field_16004
Lnet/minecraft/class_3620;field_16004:Lnet/minecraft/class_3620;
named DARK_GREEN
Lnet/minecraft/block/MapColor;DARK_GREEN:Lnet/minecraft/block/MapColor;
-
WHITE
- Mappings:
Namespace Name Mixin selector official j
Ldaq;j:Ldaq;
intermediary field_16022
Lnet/minecraft/class_3620;field_16022:Lnet/minecraft/class_3620;
named WHITE
Lnet/minecraft/block/MapColor;WHITE:Lnet/minecraft/block/MapColor;
-
LIGHT_BLUE_GRAY
- Mappings:
Namespace Name Mixin selector official k
Ldaq;k:Ldaq;
intermediary field_15976
Lnet/minecraft/class_3620;field_15976:Lnet/minecraft/class_3620;
named LIGHT_BLUE_GRAY
Lnet/minecraft/block/MapColor;LIGHT_BLUE_GRAY:Lnet/minecraft/block/MapColor;
-
DIRT_BROWN
- Mappings:
Namespace Name Mixin selector official l
Ldaq;l:Ldaq;
intermediary field_16000
Lnet/minecraft/class_3620;field_16000:Lnet/minecraft/class_3620;
named DIRT_BROWN
Lnet/minecraft/block/MapColor;DIRT_BROWN:Lnet/minecraft/block/MapColor;
-
STONE_GRAY
- Mappings:
Namespace Name Mixin selector official m
Ldaq;m:Ldaq;
intermediary field_16023
Lnet/minecraft/class_3620;field_16023:Lnet/minecraft/class_3620;
named STONE_GRAY
Lnet/minecraft/block/MapColor;STONE_GRAY:Lnet/minecraft/block/MapColor;
-
WATER_BLUE
- Mappings:
Namespace Name Mixin selector official n
Ldaq;n:Ldaq;
intermediary field_16019
Lnet/minecraft/class_3620;field_16019:Lnet/minecraft/class_3620;
named WATER_BLUE
Lnet/minecraft/block/MapColor;WATER_BLUE:Lnet/minecraft/block/MapColor;
-
OAK_TAN
- Mappings:
Namespace Name Mixin selector official o
Ldaq;o:Ldaq;
intermediary field_15996
Lnet/minecraft/class_3620;field_15996:Lnet/minecraft/class_3620;
named OAK_TAN
Lnet/minecraft/block/MapColor;OAK_TAN:Lnet/minecraft/block/MapColor;
-
OFF_WHITE
- Mappings:
Namespace Name Mixin selector official p
Ldaq;p:Ldaq;
intermediary field_16025
Lnet/minecraft/class_3620;field_16025:Lnet/minecraft/class_3620;
named OFF_WHITE
Lnet/minecraft/block/MapColor;OFF_WHITE:Lnet/minecraft/block/MapColor;
-
ORANGE
- Mappings:
Namespace Name Mixin selector official q
Ldaq;q:Ldaq;
intermediary field_15987
Lnet/minecraft/class_3620;field_15987:Lnet/minecraft/class_3620;
named ORANGE
Lnet/minecraft/block/MapColor;ORANGE:Lnet/minecraft/block/MapColor;
-
MAGENTA
- Mappings:
Namespace Name Mixin selector official r
Ldaq;r:Ldaq;
intermediary field_15998
Lnet/minecraft/class_3620;field_15998:Lnet/minecraft/class_3620;
named MAGENTA
Lnet/minecraft/block/MapColor;MAGENTA:Lnet/minecraft/block/MapColor;
-
LIGHT_BLUE
- Mappings:
Namespace Name Mixin selector official s
Ldaq;s:Ldaq;
intermediary field_16024
Lnet/minecraft/class_3620;field_16024:Lnet/minecraft/class_3620;
named LIGHT_BLUE
Lnet/minecraft/block/MapColor;LIGHT_BLUE:Lnet/minecraft/block/MapColor;
-
YELLOW
- Mappings:
Namespace Name Mixin selector official t
Ldaq;t:Ldaq;
intermediary field_16010
Lnet/minecraft/class_3620;field_16010:Lnet/minecraft/class_3620;
named YELLOW
Lnet/minecraft/block/MapColor;YELLOW:Lnet/minecraft/block/MapColor;
-
LIME
- Mappings:
Namespace Name Mixin selector official u
Ldaq;u:Ldaq;
intermediary field_15997
Lnet/minecraft/class_3620;field_15997:Lnet/minecraft/class_3620;
named LIME
Lnet/minecraft/block/MapColor;LIME:Lnet/minecraft/block/MapColor;
-
PINK
- Mappings:
Namespace Name Mixin selector official v
Ldaq;v:Ldaq;
intermediary field_16030
Lnet/minecraft/class_3620;field_16030:Lnet/minecraft/class_3620;
named PINK
Lnet/minecraft/block/MapColor;PINK:Lnet/minecraft/block/MapColor;
-
GRAY
- Mappings:
Namespace Name Mixin selector official w
Ldaq;w:Ldaq;
intermediary field_15978
Lnet/minecraft/class_3620;field_15978:Lnet/minecraft/class_3620;
named GRAY
Lnet/minecraft/block/MapColor;GRAY:Lnet/minecraft/block/MapColor;
-
LIGHT_GRAY
- Mappings:
Namespace Name Mixin selector official x
Ldaq;x:Ldaq;
intermediary field_15993
Lnet/minecraft/class_3620;field_15993:Lnet/minecraft/class_3620;
named LIGHT_GRAY
Lnet/minecraft/block/MapColor;LIGHT_GRAY:Lnet/minecraft/block/MapColor;
-
CYAN
- Mappings:
Namespace Name Mixin selector official y
Ldaq;y:Ldaq;
intermediary field_16026
Lnet/minecraft/class_3620;field_16026:Lnet/minecraft/class_3620;
named CYAN
Lnet/minecraft/block/MapColor;CYAN:Lnet/minecraft/block/MapColor;
-
PURPLE
- Mappings:
Namespace Name Mixin selector official z
Ldaq;z:Ldaq;
intermediary field_16014
Lnet/minecraft/class_3620;field_16014:Lnet/minecraft/class_3620;
named PURPLE
Lnet/minecraft/block/MapColor;PURPLE:Lnet/minecraft/block/MapColor;
-
BLUE
- Mappings:
Namespace Name Mixin selector official A
Ldaq;A:Ldaq;
intermediary field_15984
Lnet/minecraft/class_3620;field_15984:Lnet/minecraft/class_3620;
named BLUE
Lnet/minecraft/block/MapColor;BLUE:Lnet/minecraft/block/MapColor;
-
BROWN
- Mappings:
Namespace Name Mixin selector official B
Ldaq;B:Ldaq;
intermediary field_15977
Lnet/minecraft/class_3620;field_15977:Lnet/minecraft/class_3620;
named BROWN
Lnet/minecraft/block/MapColor;BROWN:Lnet/minecraft/block/MapColor;
-
GREEN
- Mappings:
Namespace Name Mixin selector official C
Ldaq;C:Ldaq;
intermediary field_15995
Lnet/minecraft/class_3620;field_15995:Lnet/minecraft/class_3620;
named GREEN
Lnet/minecraft/block/MapColor;GREEN:Lnet/minecraft/block/MapColor;
-
RED
- Mappings:
Namespace Name Mixin selector official D
Ldaq;D:Ldaq;
intermediary field_16020
Lnet/minecraft/class_3620;field_16020:Lnet/minecraft/class_3620;
named RED
Lnet/minecraft/block/MapColor;RED:Lnet/minecraft/block/MapColor;
-
BLACK
- Mappings:
Namespace Name Mixin selector official E
Ldaq;E:Ldaq;
intermediary field_16009
Lnet/minecraft/class_3620;field_16009:Lnet/minecraft/class_3620;
named BLACK
Lnet/minecraft/block/MapColor;BLACK:Lnet/minecraft/block/MapColor;
-
GOLD
- Mappings:
Namespace Name Mixin selector official F
Ldaq;F:Ldaq;
intermediary field_15994
Lnet/minecraft/class_3620;field_15994:Lnet/minecraft/class_3620;
named GOLD
Lnet/minecraft/block/MapColor;GOLD:Lnet/minecraft/block/MapColor;
-
DIAMOND_BLUE
- Mappings:
Namespace Name Mixin selector official G
Ldaq;G:Ldaq;
intermediary field_15983
Lnet/minecraft/class_3620;field_15983:Lnet/minecraft/class_3620;
named DIAMOND_BLUE
Lnet/minecraft/block/MapColor;DIAMOND_BLUE:Lnet/minecraft/block/MapColor;
-
LAPIS_BLUE
- Mappings:
Namespace Name Mixin selector official H
Ldaq;H:Ldaq;
intermediary field_15980
Lnet/minecraft/class_3620;field_15980:Lnet/minecraft/class_3620;
named LAPIS_BLUE
Lnet/minecraft/block/MapColor;LAPIS_BLUE:Lnet/minecraft/block/MapColor;
-
EMERALD_GREEN
- Mappings:
Namespace Name Mixin selector official I
Ldaq;I:Ldaq;
intermediary field_16001
Lnet/minecraft/class_3620;field_16001:Lnet/minecraft/class_3620;
named EMERALD_GREEN
Lnet/minecraft/block/MapColor;EMERALD_GREEN:Lnet/minecraft/block/MapColor;
-
SPRUCE_BROWN
- Mappings:
Namespace Name Mixin selector official J
Ldaq;J:Ldaq;
intermediary field_16017
Lnet/minecraft/class_3620;field_16017:Lnet/minecraft/class_3620;
named SPRUCE_BROWN
Lnet/minecraft/block/MapColor;SPRUCE_BROWN:Lnet/minecraft/block/MapColor;
-
DARK_RED
- Mappings:
Namespace Name Mixin selector official K
Ldaq;K:Ldaq;
intermediary field_16012
Lnet/minecraft/class_3620;field_16012:Lnet/minecraft/class_3620;
named DARK_RED
Lnet/minecraft/block/MapColor;DARK_RED:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_WHITE
- Mappings:
Namespace Name Mixin selector official L
Ldaq;L:Ldaq;
intermediary field_16003
Lnet/minecraft/class_3620;field_16003:Lnet/minecraft/class_3620;
named TERRACOTTA_WHITE
Lnet/minecraft/block/MapColor;TERRACOTTA_WHITE:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_ORANGE
- Mappings:
Namespace Name Mixin selector official M
Ldaq;M:Ldaq;
intermediary field_15981
Lnet/minecraft/class_3620;field_15981:Lnet/minecraft/class_3620;
named TERRACOTTA_ORANGE
Lnet/minecraft/block/MapColor;TERRACOTTA_ORANGE:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_MAGENTA
- Mappings:
Namespace Name Mixin selector official N
Ldaq;N:Ldaq;
intermediary field_15985
Lnet/minecraft/class_3620;field_15985:Lnet/minecraft/class_3620;
named TERRACOTTA_MAGENTA
Lnet/minecraft/block/MapColor;TERRACOTTA_MAGENTA:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_LIGHT_BLUE
- Mappings:
Namespace Name Mixin selector official O
Ldaq;O:Ldaq;
intermediary field_15991
Lnet/minecraft/class_3620;field_15991:Lnet/minecraft/class_3620;
named TERRACOTTA_LIGHT_BLUE
Lnet/minecraft/block/MapColor;TERRACOTTA_LIGHT_BLUE:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_YELLOW
- Mappings:
Namespace Name Mixin selector official P
Ldaq;P:Ldaq;
intermediary field_16013
Lnet/minecraft/class_3620;field_16013:Lnet/minecraft/class_3620;
named TERRACOTTA_YELLOW
Lnet/minecraft/block/MapColor;TERRACOTTA_YELLOW:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_LIME
- Mappings:
Namespace Name Mixin selector official Q
Ldaq;Q:Ldaq;
intermediary field_16018
Lnet/minecraft/class_3620;field_16018:Lnet/minecraft/class_3620;
named TERRACOTTA_LIME
Lnet/minecraft/block/MapColor;TERRACOTTA_LIME:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_PINK
- Mappings:
Namespace Name Mixin selector official R
Ldaq;R:Ldaq;
intermediary field_15989
Lnet/minecraft/class_3620;field_15989:Lnet/minecraft/class_3620;
named TERRACOTTA_PINK
Lnet/minecraft/block/MapColor;TERRACOTTA_PINK:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_GRAY
- Mappings:
Namespace Name Mixin selector official S
Ldaq;S:Ldaq;
intermediary field_16027
Lnet/minecraft/class_3620;field_16027:Lnet/minecraft/class_3620;
named TERRACOTTA_GRAY
Lnet/minecraft/block/MapColor;TERRACOTTA_GRAY:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_LIGHT_GRAY
- Mappings:
Namespace Name Mixin selector official T
Ldaq;T:Ldaq;
intermediary field_15988
Lnet/minecraft/class_3620;field_15988:Lnet/minecraft/class_3620;
named TERRACOTTA_LIGHT_GRAY
Lnet/minecraft/block/MapColor;TERRACOTTA_LIGHT_GRAY:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_CYAN
- Mappings:
Namespace Name Mixin selector official U
Ldaq;U:Ldaq;
intermediary field_15990
Lnet/minecraft/class_3620;field_15990:Lnet/minecraft/class_3620;
named TERRACOTTA_CYAN
Lnet/minecraft/block/MapColor;TERRACOTTA_CYAN:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_PURPLE
- Mappings:
Namespace Name Mixin selector official V
Ldaq;V:Ldaq;
intermediary field_16029
Lnet/minecraft/class_3620;field_16029:Lnet/minecraft/class_3620;
named TERRACOTTA_PURPLE
Lnet/minecraft/block/MapColor;TERRACOTTA_PURPLE:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_BLUE
- Mappings:
Namespace Name Mixin selector official W
Ldaq;W:Ldaq;
intermediary field_16015
Lnet/minecraft/class_3620;field_16015:Lnet/minecraft/class_3620;
named TERRACOTTA_BLUE
Lnet/minecraft/block/MapColor;TERRACOTTA_BLUE:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_BROWN
- Mappings:
Namespace Name Mixin selector official X
Ldaq;X:Ldaq;
intermediary field_15992
Lnet/minecraft/class_3620;field_15992:Lnet/minecraft/class_3620;
named TERRACOTTA_BROWN
Lnet/minecraft/block/MapColor;TERRACOTTA_BROWN:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_GREEN
- Mappings:
Namespace Name Mixin selector official Y
Ldaq;Y:Ldaq;
intermediary field_16028
Lnet/minecraft/class_3620;field_16028:Lnet/minecraft/class_3620;
named TERRACOTTA_GREEN
Lnet/minecraft/block/MapColor;TERRACOTTA_GREEN:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_RED
- Mappings:
Namespace Name Mixin selector official Z
Ldaq;Z:Ldaq;
intermediary field_15982
Lnet/minecraft/class_3620;field_15982:Lnet/minecraft/class_3620;
named TERRACOTTA_RED
Lnet/minecraft/block/MapColor;TERRACOTTA_RED:Lnet/minecraft/block/MapColor;
-
TERRACOTTA_BLACK
- Mappings:
Namespace Name Mixin selector official aa
Ldaq;aa:Ldaq;
intermediary field_16007
Lnet/minecraft/class_3620;field_16007:Lnet/minecraft/class_3620;
named TERRACOTTA_BLACK
Lnet/minecraft/block/MapColor;TERRACOTTA_BLACK:Lnet/minecraft/block/MapColor;
-
DULL_RED
- Mappings:
Namespace Name Mixin selector official ab
Ldaq;ab:Ldaq;
intermediary field_25702
Lnet/minecraft/class_3620;field_25702:Lnet/minecraft/class_3620;
named DULL_RED
Lnet/minecraft/block/MapColor;DULL_RED:Lnet/minecraft/block/MapColor;
-
DULL_PINK
- Mappings:
Namespace Name Mixin selector official ac
Ldaq;ac:Ldaq;
intermediary field_25703
Lnet/minecraft/class_3620;field_25703:Lnet/minecraft/class_3620;
named DULL_PINK
Lnet/minecraft/block/MapColor;DULL_PINK:Lnet/minecraft/block/MapColor;
-
DARK_CRIMSON
- Mappings:
Namespace Name Mixin selector official ad
Ldaq;ad:Ldaq;
intermediary field_25704
Lnet/minecraft/class_3620;field_25704:Lnet/minecraft/class_3620;
named DARK_CRIMSON
Lnet/minecraft/block/MapColor;DARK_CRIMSON:Lnet/minecraft/block/MapColor;
-
TEAL
- Mappings:
Namespace Name Mixin selector official ae
Ldaq;ae:Ldaq;
intermediary field_25705
Lnet/minecraft/class_3620;field_25705:Lnet/minecraft/class_3620;
named TEAL
Lnet/minecraft/block/MapColor;TEAL:Lnet/minecraft/block/MapColor;
-
DARK_AQUA
- Mappings:
Namespace Name Mixin selector official af
Ldaq;af:Ldaq;
intermediary field_25706
Lnet/minecraft/class_3620;field_25706:Lnet/minecraft/class_3620;
named DARK_AQUA
Lnet/minecraft/block/MapColor;DARK_AQUA:Lnet/minecraft/block/MapColor;
-
DARK_DULL_PINK
- Mappings:
Namespace Name Mixin selector official ag
Ldaq;ag:Ldaq;
intermediary field_25707
Lnet/minecraft/class_3620;field_25707:Lnet/minecraft/class_3620;
named DARK_DULL_PINK
Lnet/minecraft/block/MapColor;DARK_DULL_PINK:Lnet/minecraft/block/MapColor;
-
BRIGHT_TEAL
- Mappings:
Namespace Name Mixin selector official ah
Ldaq;ah:Ldaq;
intermediary field_25708
Lnet/minecraft/class_3620;field_25708:Lnet/minecraft/class_3620;
named BRIGHT_TEAL
Lnet/minecraft/block/MapColor;BRIGHT_TEAL:Lnet/minecraft/block/MapColor;
-
color
public final int color- Mappings:
Namespace Name Mixin selector official ai
Ldaq;ai:I
intermediary field_16011
Lnet/minecraft/class_3620;field_16011:I
named color
Lnet/minecraft/block/MapColor;color:I
-
id
public final int id- Mappings:
Namespace Name Mixin selector official aj
Ldaq;aj:I
intermediary field_16021
Lnet/minecraft/class_3620;field_16021:I
named id
Lnet/minecraft/block/MapColor;id:I
-
-
Constructor Details
-
MapColor
private MapColor(int id, int color)- Mappings:
Namespace Name Mixin selector official <init>
Ldaq;<init>(II)V
intermediary <init>
Lnet/minecraft/class_3620;<init>(II)V
named <init>
Lnet/minecraft/block/MapColor;<init>(II)V
-
-
Method Details
-
getRenderColor
- Mappings:
Namespace Name Mixin selector official a
Ldaq;a(I)I
intermediary method_15820
Lnet/minecraft/class_3620;method_15820(I)I
named getRenderColor
Lnet/minecraft/block/MapColor;getRenderColor(I)I
-