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.

When the map is rendered, the MapColor.Brightness.brightness value is added to the base color. The "rendered color" is internally represented as a byte; the first six bits indicate the base color, and the last two bits indicate the brightness. This value is returned from getRenderColorByte(net.minecraft.block.MapColor.Brightness) and is passed to getRenderColor(net.minecraft.block.MapColor.Brightness).

Mappings:
Namespace Name
official dto
intermediary net/minecraft/class_3620
named net/minecraft/block/MapColor
  • Field Details

    • COLORS

      private static final MapColor[] COLORS
      Mappings:
      Namespace Name Mixin selector
      official am Ldto;am:[Ldto;
      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

      public static final MapColor CLEAR
      Mappings:
      Namespace Name Mixin selector
      official a Ldto;a:Ldto;
      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

      public static final MapColor PALE_GREEN
      Mappings:
      Namespace Name Mixin selector
      official b Ldto;b:Ldto;
      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

      public static final MapColor PALE_YELLOW
      Mappings:
      Namespace Name Mixin selector
      official c Ldto;c:Ldto;
      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

      public static final MapColor WHITE_GRAY
      Mappings:
      Namespace Name Mixin selector
      official d Ldto;d:Ldto;
      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

      public static final MapColor BRIGHT_RED
      Mappings:
      Namespace Name Mixin selector
      official e Ldto;e:Ldto;
      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

      public static final MapColor PALE_PURPLE
      Mappings:
      Namespace Name Mixin selector
      official f Ldto;f:Ldto;
      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

      public static final MapColor IRON_GRAY
      Mappings:
      Namespace Name Mixin selector
      official g Ldto;g:Ldto;
      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

      public static final MapColor DARK_GREEN
      Mappings:
      Namespace Name Mixin selector
      official h Ldto;h:Ldto;
      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

      public static final MapColor WHITE
      Mappings:
      Namespace Name Mixin selector
      official i Ldto;i:Ldto;
      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

      public static final MapColor LIGHT_BLUE_GRAY
      Mappings:
      Namespace Name Mixin selector
      official j Ldto;j:Ldto;
      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

      public static final MapColor DIRT_BROWN
      Mappings:
      Namespace Name Mixin selector
      official k Ldto;k:Ldto;
      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

      public static final MapColor STONE_GRAY
      Mappings:
      Namespace Name Mixin selector
      official l Ldto;l:Ldto;
      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

      public static final MapColor WATER_BLUE
      Mappings:
      Namespace Name Mixin selector
      official m Ldto;m:Ldto;
      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

      public static final MapColor OAK_TAN
      Mappings:
      Namespace Name Mixin selector
      official n Ldto;n:Ldto;
      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

      public static final MapColor OFF_WHITE
      Mappings:
      Namespace Name Mixin selector
      official o Ldto;o:Ldto;
      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

      public static final MapColor ORANGE
      Mappings:
      Namespace Name Mixin selector
      official p Ldto;p:Ldto;
      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

      public static final MapColor MAGENTA
      Mappings:
      Namespace Name Mixin selector
      official q Ldto;q:Ldto;
      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

      public static final MapColor LIGHT_BLUE
      Mappings:
      Namespace Name Mixin selector
      official r Ldto;r:Ldto;
      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

      public static final MapColor YELLOW
      Mappings:
      Namespace Name Mixin selector
      official s Ldto;s:Ldto;
      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

      public static final MapColor LIME
      Mappings:
      Namespace Name Mixin selector
      official t Ldto;t:Ldto;
      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

      public static final MapColor PINK
      Mappings:
      Namespace Name Mixin selector
      official u Ldto;u:Ldto;
      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

      public static final MapColor GRAY
      Mappings:
      Namespace Name Mixin selector
      official v Ldto;v:Ldto;
      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

      public static final MapColor LIGHT_GRAY
      Mappings:
      Namespace Name Mixin selector
      official w Ldto;w:Ldto;
      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

      public static final MapColor CYAN
      Mappings:
      Namespace Name Mixin selector
      official x Ldto;x:Ldto;
      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

      public static final MapColor PURPLE
      Mappings:
      Namespace Name Mixin selector
      official y Ldto;y:Ldto;
      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

      public static final MapColor BLUE
      Mappings:
      Namespace Name Mixin selector
      official z Ldto;z:Ldto;
      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

      public static final MapColor BROWN
      Mappings:
      Namespace Name Mixin selector
      official A Ldto;A:Ldto;
      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

      public static final MapColor GREEN
      Mappings:
      Namespace Name Mixin selector
      official B Ldto;B:Ldto;
      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

      public static final MapColor RED
      Mappings:
      Namespace Name Mixin selector
      official C Ldto;C:Ldto;
      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

      public static final MapColor BLACK
      Mappings:
      Namespace Name Mixin selector
      official D Ldto;D:Ldto;
      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

      public static final MapColor GOLD
      Mappings:
      Namespace Name Mixin selector
      official E Ldto;E:Ldto;
      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

      public static final MapColor DIAMOND_BLUE
      Mappings:
      Namespace Name Mixin selector
      official F Ldto;F:Ldto;
      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

      public static final MapColor LAPIS_BLUE
      Mappings:
      Namespace Name Mixin selector
      official G Ldto;G:Ldto;
      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

      public static final MapColor EMERALD_GREEN
      Mappings:
      Namespace Name Mixin selector
      official H Ldto;H:Ldto;
      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

      public static final MapColor SPRUCE_BROWN
      Mappings:
      Namespace Name Mixin selector
      official I Ldto;I:Ldto;
      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

      public static final MapColor DARK_RED
      Mappings:
      Namespace Name Mixin selector
      official J Ldto;J:Ldto;
      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

      public static final MapColor TERRACOTTA_WHITE
      Mappings:
      Namespace Name Mixin selector
      official K Ldto;K:Ldto;
      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

      public static final MapColor TERRACOTTA_ORANGE
      Mappings:
      Namespace Name Mixin selector
      official L Ldto;L:Ldto;
      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

      public static final MapColor TERRACOTTA_MAGENTA
      Mappings:
      Namespace Name Mixin selector
      official M Ldto;M:Ldto;
      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

      public static final MapColor TERRACOTTA_LIGHT_BLUE
      Mappings:
      Namespace Name Mixin selector
      official N Ldto;N:Ldto;
      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

      public static final MapColor TERRACOTTA_YELLOW
      Mappings:
      Namespace Name Mixin selector
      official O Ldto;O:Ldto;
      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

      public static final MapColor TERRACOTTA_LIME
      Mappings:
      Namespace Name Mixin selector
      official P Ldto;P:Ldto;
      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

      public static final MapColor TERRACOTTA_PINK
      Mappings:
      Namespace Name Mixin selector
      official Q Ldto;Q:Ldto;
      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

      public static final MapColor TERRACOTTA_GRAY
      Mappings:
      Namespace Name Mixin selector
      official R Ldto;R:Ldto;
      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

      public static final MapColor TERRACOTTA_LIGHT_GRAY
      Mappings:
      Namespace Name Mixin selector
      official S Ldto;S:Ldto;
      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

      public static final MapColor TERRACOTTA_CYAN
      Mappings:
      Namespace Name Mixin selector
      official T Ldto;T:Ldto;
      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

      public static final MapColor TERRACOTTA_PURPLE
      Mappings:
      Namespace Name Mixin selector
      official U Ldto;U:Ldto;
      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

      public static final MapColor TERRACOTTA_BLUE
      Mappings:
      Namespace Name Mixin selector
      official V Ldto;V:Ldto;
      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

      public static final MapColor TERRACOTTA_BROWN
      Mappings:
      Namespace Name Mixin selector
      official W Ldto;W:Ldto;
      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

      public static final MapColor TERRACOTTA_GREEN
      Mappings:
      Namespace Name Mixin selector
      official X Ldto;X:Ldto;
      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

      public static final MapColor TERRACOTTA_RED
      Mappings:
      Namespace Name Mixin selector
      official Y Ldto;Y:Ldto;
      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

      public static final MapColor TERRACOTTA_BLACK
      Mappings:
      Namespace Name Mixin selector
      official Z Ldto;Z:Ldto;
      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

      public static final MapColor DULL_RED
      Mappings:
      Namespace Name Mixin selector
      official aa Ldto;aa:Ldto;
      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

      public static final MapColor DULL_PINK
      Mappings:
      Namespace Name Mixin selector
      official ab Ldto;ab:Ldto;
      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

      public static final MapColor DARK_CRIMSON
      Mappings:
      Namespace Name Mixin selector
      official ac Ldto;ac:Ldto;
      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

      public static final MapColor TEAL
      Mappings:
      Namespace Name Mixin selector
      official ad Ldto;ad:Ldto;
      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

      public static final MapColor DARK_AQUA
      Mappings:
      Namespace Name Mixin selector
      official ae Ldto;ae:Ldto;
      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

      public static final MapColor DARK_DULL_PINK
      Mappings:
      Namespace Name Mixin selector
      official af Ldto;af:Ldto;
      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

      public static final MapColor BRIGHT_TEAL
      Mappings:
      Namespace Name Mixin selector
      official ag Ldto;ag:Ldto;
      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;
    • DEEPSLATE_GRAY

      public static final MapColor DEEPSLATE_GRAY
      Mappings:
      Namespace Name Mixin selector
      official ah Ldto;ah:Ldto;
      intermediary field_33532 Lnet/minecraft/class_3620;field_33532:Lnet/minecraft/class_3620;
      named DEEPSLATE_GRAY Lnet/minecraft/block/MapColor;DEEPSLATE_GRAY:Lnet/minecraft/block/MapColor;
    • RAW_IRON_PINK

      public static final MapColor RAW_IRON_PINK
      Mappings:
      Namespace Name Mixin selector
      official ai Ldto;ai:Ldto;
      intermediary field_33533 Lnet/minecraft/class_3620;field_33533:Lnet/minecraft/class_3620;
      named RAW_IRON_PINK Lnet/minecraft/block/MapColor;RAW_IRON_PINK:Lnet/minecraft/block/MapColor;
    • LICHEN_GREEN

      public static final MapColor LICHEN_GREEN
      Mappings:
      Namespace Name Mixin selector
      official aj Ldto;aj:Ldto;
      intermediary field_33617 Lnet/minecraft/class_3620;field_33617:Lnet/minecraft/class_3620;
      named LICHEN_GREEN Lnet/minecraft/block/MapColor;LICHEN_GREEN:Lnet/minecraft/block/MapColor;
    • color

      public final int color
      Mappings:
      Namespace Name Mixin selector
      official ak Ldto;ak: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 al Ldto;al: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> Ldto;<init>(II)V
      intermediary <init> Lnet/minecraft/class_3620;<init>(II)V
      named <init> Lnet/minecraft/block/MapColor;<init>(II)V
  • Method Details

    • getRenderColor

      public int getRenderColor(MapColor.Brightness brightness)
      Mappings:
      Namespace Name Mixin selector
      official a Ldto;a(Ldto$a;)I
      intermediary method_15820 Lnet/minecraft/class_3620;method_15820(Lnet/minecraft/class_3620$class_6594;)I
      named getRenderColor Lnet/minecraft/block/MapColor;getRenderColor(Lnet/minecraft/block/MapColor$Brightness;)I
    • get

      public static MapColor get(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldto;a(I)Ldto;
      intermediary method_38479 Lnet/minecraft/class_3620;method_38479(I)Lnet/minecraft/class_3620;
      named get Lnet/minecraft/block/MapColor;get(I)Lnet/minecraft/block/MapColor;
    • getUnchecked

      private static MapColor getUnchecked(int id)
      Mappings:
      Namespace Name Mixin selector
      official c Ldto;c(I)Ldto;
      intermediary method_38482 Lnet/minecraft/class_3620;method_38482(I)Lnet/minecraft/class_3620;
      named getUnchecked Lnet/minecraft/block/MapColor;getUnchecked(I)Lnet/minecraft/block/MapColor;
    • getRenderColor

      public static int getRenderColor(int colorByte)
      Mappings:
      Namespace Name Mixin selector
      official b Ldto;b(I)I
      intermediary method_38480 Lnet/minecraft/class_3620;method_38480(I)I
      named getRenderColor Lnet/minecraft/block/MapColor;getRenderColor(I)I
    • getRenderColorByte

      public byte getRenderColorByte(MapColor.Brightness brightness)
      Mappings:
      Namespace Name Mixin selector
      official b Ldto;b(Ldto$a;)B
      intermediary method_38481 Lnet/minecraft/class_3620;method_38481(Lnet/minecraft/class_3620$class_6594;)B
      named getRenderColorByte Lnet/minecraft/block/MapColor;getRenderColorByte(Lnet/minecraft/block/MapColor$Brightness;)B