Package net.minecraft.item.map
Enum MapIcon.Type
- All Implemented Interfaces:
Serializable
,Comparable<MapIcon.Type>
,java.lang.constant.Constable
- Enclosing class:
- MapIcon
public static enum MapIcon.Type extends Enum<MapIcon.Type>
- Mappings:
Namespace Name official ddi$a
intermediary net/minecraft/class_20$class_21
named net/minecraft/item/map/MapIcon$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private boolean
alwaysRender
private byte
id
private int
tintColor
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static MapIcon.Type
byId(byte id)
byte
getId()
int
getTintColor()
boolean
hasTintColor()
boolean
isAlwaysRendered()
static MapIcon.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static MapIcon.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLAYER
- Mappings:
Namespace Name Mixin selector official a
Lddi$a;a:Lddi$a;
intermediary field_91
Lnet/minecraft/class_20$class_21;field_91:Lnet/minecraft/class_20$class_21;
named PLAYER
Lnet/minecraft/item/map/MapIcon$Type;PLAYER:Lnet/minecraft/item/map/MapIcon$Type;
-
FRAME
- Mappings:
Namespace Name Mixin selector official b
Lddi$a;b:Lddi$a;
intermediary field_95
Lnet/minecraft/class_20$class_21;field_95:Lnet/minecraft/class_20$class_21;
named FRAME
Lnet/minecraft/item/map/MapIcon$Type;FRAME:Lnet/minecraft/item/map/MapIcon$Type;
-
RED_MARKER
- Mappings:
Namespace Name Mixin selector official c
Lddi$a;c:Lddi$a;
intermediary field_89
Lnet/minecraft/class_20$class_21;field_89:Lnet/minecraft/class_20$class_21;
named RED_MARKER
Lnet/minecraft/item/map/MapIcon$Type;RED_MARKER:Lnet/minecraft/item/map/MapIcon$Type;
-
BLUE_MARKER
- Mappings:
Namespace Name Mixin selector official d
Lddi$a;d:Lddi$a;
intermediary field_83
Lnet/minecraft/class_20$class_21;field_83:Lnet/minecraft/class_20$class_21;
named BLUE_MARKER
Lnet/minecraft/item/map/MapIcon$Type;BLUE_MARKER:Lnet/minecraft/item/map/MapIcon$Type;
-
TARGET_X
- Mappings:
Namespace Name Mixin selector official e
Lddi$a;e:Lddi$a;
intermediary field_84
Lnet/minecraft/class_20$class_21;field_84:Lnet/minecraft/class_20$class_21;
named TARGET_X
Lnet/minecraft/item/map/MapIcon$Type;TARGET_X:Lnet/minecraft/item/map/MapIcon$Type;
-
TARGET_POINT
- Mappings:
Namespace Name Mixin selector official f
Lddi$a;f:Lddi$a;
intermediary field_85
Lnet/minecraft/class_20$class_21;field_85:Lnet/minecraft/class_20$class_21;
named TARGET_POINT
Lnet/minecraft/item/map/MapIcon$Type;TARGET_POINT:Lnet/minecraft/item/map/MapIcon$Type;
-
PLAYER_OFF_MAP
- Mappings:
Namespace Name Mixin selector official g
Lddi$a;g:Lddi$a;
intermediary field_86
Lnet/minecraft/class_20$class_21;field_86:Lnet/minecraft/class_20$class_21;
named PLAYER_OFF_MAP
Lnet/minecraft/item/map/MapIcon$Type;PLAYER_OFF_MAP:Lnet/minecraft/item/map/MapIcon$Type;
-
PLAYER_OFF_LIMITS
- Mappings:
Namespace Name Mixin selector official h
Lddi$a;h:Lddi$a;
intermediary field_87
Lnet/minecraft/class_20$class_21;field_87:Lnet/minecraft/class_20$class_21;
named PLAYER_OFF_LIMITS
Lnet/minecraft/item/map/MapIcon$Type;PLAYER_OFF_LIMITS:Lnet/minecraft/item/map/MapIcon$Type;
-
MANSION
- Mappings:
Namespace Name Mixin selector official i
Lddi$a;i:Lddi$a;
intermediary field_88
Lnet/minecraft/class_20$class_21;field_88:Lnet/minecraft/class_20$class_21;
named MANSION
Lnet/minecraft/item/map/MapIcon$Type;MANSION:Lnet/minecraft/item/map/MapIcon$Type;
-
MONUMENT
- Mappings:
Namespace Name Mixin selector official j
Lddi$a;j:Lddi$a;
intermediary field_98
Lnet/minecraft/class_20$class_21;field_98:Lnet/minecraft/class_20$class_21;
named MONUMENT
Lnet/minecraft/item/map/MapIcon$Type;MONUMENT:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_WHITE
- Mappings:
Namespace Name Mixin selector official k
Lddi$a;k:Lddi$a;
intermediary field_96
Lnet/minecraft/class_20$class_21;field_96:Lnet/minecraft/class_20$class_21;
named BANNER_WHITE
Lnet/minecraft/item/map/MapIcon$Type;BANNER_WHITE:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_ORANGE
- Mappings:
Namespace Name Mixin selector official l
Lddi$a;l:Lddi$a;
intermediary field_92
Lnet/minecraft/class_20$class_21;field_92:Lnet/minecraft/class_20$class_21;
named BANNER_ORANGE
Lnet/minecraft/item/map/MapIcon$Type;BANNER_ORANGE:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_MAGENTA
- Mappings:
Namespace Name Mixin selector official m
Lddi$a;m:Lddi$a;
intermediary field_97
Lnet/minecraft/class_20$class_21;field_97:Lnet/minecraft/class_20$class_21;
named BANNER_MAGENTA
Lnet/minecraft/item/map/MapIcon$Type;BANNER_MAGENTA:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_LIGHT_BLUE
- Mappings:
Namespace Name Mixin selector official n
Lddi$a;n:Lddi$a;
intermediary field_90
Lnet/minecraft/class_20$class_21;field_90:Lnet/minecraft/class_20$class_21;
named BANNER_LIGHT_BLUE
Lnet/minecraft/item/map/MapIcon$Type;BANNER_LIGHT_BLUE:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_YELLOW
- Mappings:
Namespace Name Mixin selector official o
Lddi$a;o:Lddi$a;
intermediary field_93
Lnet/minecraft/class_20$class_21;field_93:Lnet/minecraft/class_20$class_21;
named BANNER_YELLOW
Lnet/minecraft/item/map/MapIcon$Type;BANNER_YELLOW:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_LIME
- Mappings:
Namespace Name Mixin selector official p
Lddi$a;p:Lddi$a;
intermediary field_94
Lnet/minecraft/class_20$class_21;field_94:Lnet/minecraft/class_20$class_21;
named BANNER_LIME
Lnet/minecraft/item/map/MapIcon$Type;BANNER_LIME:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_PINK
- Mappings:
Namespace Name Mixin selector official q
Lddi$a;q:Lddi$a;
intermediary field_100
Lnet/minecraft/class_20$class_21;field_100:Lnet/minecraft/class_20$class_21;
named BANNER_PINK
Lnet/minecraft/item/map/MapIcon$Type;BANNER_PINK:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_GRAY
- Mappings:
Namespace Name Mixin selector official r
Lddi$a;r:Lddi$a;
intermediary field_101
Lnet/minecraft/class_20$class_21;field_101:Lnet/minecraft/class_20$class_21;
named BANNER_GRAY
Lnet/minecraft/item/map/MapIcon$Type;BANNER_GRAY:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_LIGHT_GRAY
- Mappings:
Namespace Name Mixin selector official s
Lddi$a;s:Lddi$a;
intermediary field_107
Lnet/minecraft/class_20$class_21;field_107:Lnet/minecraft/class_20$class_21;
named BANNER_LIGHT_GRAY
Lnet/minecraft/item/map/MapIcon$Type;BANNER_LIGHT_GRAY:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_CYAN
- Mappings:
Namespace Name Mixin selector official t
Lddi$a;t:Lddi$a;
intermediary field_108
Lnet/minecraft/class_20$class_21;field_108:Lnet/minecraft/class_20$class_21;
named BANNER_CYAN
Lnet/minecraft/item/map/MapIcon$Type;BANNER_CYAN:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_PURPLE
- Mappings:
Namespace Name Mixin selector official u
Lddi$a;u:Lddi$a;
intermediary field_104
Lnet/minecraft/class_20$class_21;field_104:Lnet/minecraft/class_20$class_21;
named BANNER_PURPLE
Lnet/minecraft/item/map/MapIcon$Type;BANNER_PURPLE:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_BLUE
- Mappings:
Namespace Name Mixin selector official v
Lddi$a;v:Lddi$a;
intermediary field_105
Lnet/minecraft/class_20$class_21;field_105:Lnet/minecraft/class_20$class_21;
named BANNER_BLUE
Lnet/minecraft/item/map/MapIcon$Type;BANNER_BLUE:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_BROWN
- Mappings:
Namespace Name Mixin selector official w
Lddi$a;w:Lddi$a;
intermediary field_106
Lnet/minecraft/class_20$class_21;field_106:Lnet/minecraft/class_20$class_21;
named BANNER_BROWN
Lnet/minecraft/item/map/MapIcon$Type;BANNER_BROWN:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_GREEN
- Mappings:
Namespace Name Mixin selector official x
Lddi$a;x:Lddi$a;
intermediary field_102
Lnet/minecraft/class_20$class_21;field_102:Lnet/minecraft/class_20$class_21;
named BANNER_GREEN
Lnet/minecraft/item/map/MapIcon$Type;BANNER_GREEN:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_RED
- Mappings:
Namespace Name Mixin selector official y
Lddi$a;y:Lddi$a;
intermediary field_99
Lnet/minecraft/class_20$class_21;field_99:Lnet/minecraft/class_20$class_21;
named BANNER_RED
Lnet/minecraft/item/map/MapIcon$Type;BANNER_RED:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_BLACK
- Mappings:
Namespace Name Mixin selector official z
Lddi$a;z:Lddi$a;
intermediary field_103
Lnet/minecraft/class_20$class_21;field_103:Lnet/minecraft/class_20$class_21;
named BANNER_BLACK
Lnet/minecraft/item/map/MapIcon$Type;BANNER_BLACK:Lnet/minecraft/item/map/MapIcon$Type;
-
RED_X
- Mappings:
Namespace Name Mixin selector official A
Lddi$a;A:Lddi$a;
intermediary field_110
Lnet/minecraft/class_20$class_21;field_110:Lnet/minecraft/class_20$class_21;
named RED_X
Lnet/minecraft/item/map/MapIcon$Type;RED_X:Lnet/minecraft/item/map/MapIcon$Type;
-
-
Field Details
-
id
private final byte id- Mappings:
Namespace Name Mixin selector official B
Lddi$a;B:B
intermediary field_81
Lnet/minecraft/class_20$class_21;field_81:B
named id
Lnet/minecraft/item/map/MapIcon$Type;id:B
-
alwaysRender
private final boolean alwaysRender- Mappings:
Namespace Name Mixin selector official C
Lddi$a;C:Z
intermediary field_111
Lnet/minecraft/class_20$class_21;field_111:Z
named alwaysRender
Lnet/minecraft/item/map/MapIcon$Type;alwaysRender:Z
-
tintColor
private final int tintColor- Mappings:
Namespace Name Mixin selector official D
Lddi$a;D:I
intermediary field_82
Lnet/minecraft/class_20$class_21;field_82:I
named tintColor
Lnet/minecraft/item/map/MapIcon$Type;tintColor:I
-
-
Constructor Details
-
Type
private Type(boolean alwaysRender)- Mappings:
Namespace Name Mixin selector official <init>
Lddi$a;<init>(Ljava/lang/String;IZ)V
intermediary <init>
Lnet/minecraft/class_20$class_21;<init>(Ljava/lang/String;IZ)V
named <init>
Lnet/minecraft/item/map/MapIcon$Type;<init>(Ljava/lang/String;IZ)V
-
Type
private Type(boolean alwaysRender, int tintColor)- Mappings:
Namespace Name Mixin selector official <init>
Lddi$a;<init>(Ljava/lang/String;IZI)V
intermediary <init>
Lnet/minecraft/class_20$class_21;<init>(Ljava/lang/String;IZI)V
named <init>
Lnet/minecraft/item/map/MapIcon$Type;<init>(Ljava/lang/String;IZI)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public byte getId()- Mappings:
Namespace Name Mixin selector official a
Lddi$a;a()B
intermediary method_98
Lnet/minecraft/class_20$class_21;method_98()B
named getId
Lnet/minecraft/item/map/MapIcon$Type;getId()B
-
isAlwaysRendered
- Mappings:
Namespace Name Mixin selector official b
Lddi$a;b()Z
intermediary method_95
Lnet/minecraft/class_20$class_21;method_95()Z
named isAlwaysRendered
Lnet/minecraft/item/map/MapIcon$Type;isAlwaysRendered()Z
-
hasTintColor
public boolean hasTintColor()- Mappings:
Namespace Name Mixin selector official c
Lddi$a;c()Z
intermediary method_97
Lnet/minecraft/class_20$class_21;method_97()Z
named hasTintColor
Lnet/minecraft/item/map/MapIcon$Type;hasTintColor()Z
-
getTintColor
public int getTintColor()- Mappings:
Namespace Name Mixin selector official d
Lddi$a;d()I
intermediary method_96
Lnet/minecraft/class_20$class_21;method_96()I
named getTintColor
Lnet/minecraft/item/map/MapIcon$Type;getTintColor()I
-
byId
- Mappings:
Namespace Name Mixin selector official a
Lddi$a;a(B)Lddi$a;
intermediary method_99
Lnet/minecraft/class_20$class_21;method_99(B)Lnet/minecraft/class_20$class_21;
named byId
Lnet/minecraft/item/map/MapIcon$Type;byId(B)Lnet/minecraft/item/map/MapIcon$Type;
-