Class MapColor
java.lang.Object
net.minecraft.world.level.material.MapColor
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MapColorfinal intstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorfinal intstatic final MapColorprivate static final @Nullable MapColor[]static final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColorstatic final MapColor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MapColorbyId(int id) private static MapColorbyIdUnsafe(int id) intcalculateARGBColor(MapColor.Brightness brightness) static intgetColorFromPackedId(int packedId) bytegetPackedId(MapColor.Brightness brightness)
-
Field Details
-
MATERIAL_COLORS
-
NONE
-
GRASS
-
SAND
-
WOOL
-
FIRE
-
ICE
-
METAL
-
PLANT
-
SNOW
-
CLAY
-
DIRT
-
STONE
-
WATER
-
WOOD
-
QUARTZ
-
COLOR_ORANGE
-
COLOR_MAGENTA
-
COLOR_LIGHT_BLUE
-
COLOR_YELLOW
-
COLOR_LIGHT_GREEN
-
COLOR_PINK
-
COLOR_GRAY
-
COLOR_LIGHT_GRAY
-
COLOR_CYAN
-
COLOR_PURPLE
-
COLOR_BLUE
-
COLOR_BROWN
-
COLOR_GREEN
-
COLOR_RED
-
COLOR_BLACK
-
GOLD
-
DIAMOND
-
LAPIS
-
EMERALD
-
PODZOL
-
NETHER
-
TERRACOTTA_WHITE
-
TERRACOTTA_ORANGE
-
TERRACOTTA_MAGENTA
-
TERRACOTTA_LIGHT_BLUE
-
TERRACOTTA_YELLOW
-
TERRACOTTA_LIGHT_GREEN
-
TERRACOTTA_PINK
-
TERRACOTTA_GRAY
-
TERRACOTTA_LIGHT_GRAY
-
TERRACOTTA_CYAN
-
TERRACOTTA_PURPLE
-
TERRACOTTA_BLUE
-
TERRACOTTA_BROWN
-
TERRACOTTA_GREEN
-
TERRACOTTA_RED
-
TERRACOTTA_BLACK
-
CRIMSON_NYLIUM
-
CRIMSON_STEM
-
CRIMSON_HYPHAE
-
WARPED_NYLIUM
-
WARPED_STEM
-
WARPED_HYPHAE
-
WARPED_WART_BLOCK
-
DEEPSLATE
-
RAW_IRON
-
GLOW_LICHEN
-
col
public final int col -
id
public final int id
-
-
Constructor Details
-
MapColor
private MapColor(int id, int col)
-
-
Method Details
-
calculateARGBColor
-
byId
-
byIdUnsafe
-
getColorFromPackedId
public static int getColorFromPackedId(int packedId) -
getPackedId
-