Package net.minecraft.item.map
Enum MapIcon.Type
- All Implemented Interfaces:
Serializable,Comparable<MapIcon.Type>,java.lang.constant.Constable
- Enclosing class:
- MapIcon
- Mappings:
Namespace Name official dgq$aintermediary net/minecraft/class_20$class_21named 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
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate byteprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MapIcon.TypebyId(byte id)bytegetId()intbooleanbooleanstatic MapIcon.TypeReturns 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 aLdgq$a;a:Ldgq$a;intermediary field_91Lnet/minecraft/class_20$class_21;field_91:Lnet/minecraft/class_20$class_21;named PLAYERLnet/minecraft/item/map/MapIcon$Type;PLAYER:Lnet/minecraft/item/map/MapIcon$Type;
-
FRAME
- Mappings:
Namespace Name Mixin selector official bLdgq$a;b:Ldgq$a;intermediary field_95Lnet/minecraft/class_20$class_21;field_95:Lnet/minecraft/class_20$class_21;named FRAMELnet/minecraft/item/map/MapIcon$Type;FRAME:Lnet/minecraft/item/map/MapIcon$Type;
-
RED_MARKER
- Mappings:
Namespace Name Mixin selector official cLdgq$a;c:Ldgq$a;intermediary field_89Lnet/minecraft/class_20$class_21;field_89:Lnet/minecraft/class_20$class_21;named RED_MARKERLnet/minecraft/item/map/MapIcon$Type;RED_MARKER:Lnet/minecraft/item/map/MapIcon$Type;
-
BLUE_MARKER
- Mappings:
Namespace Name Mixin selector official dLdgq$a;d:Ldgq$a;intermediary field_83Lnet/minecraft/class_20$class_21;field_83:Lnet/minecraft/class_20$class_21;named BLUE_MARKERLnet/minecraft/item/map/MapIcon$Type;BLUE_MARKER:Lnet/minecraft/item/map/MapIcon$Type;
-
TARGET_X
- Mappings:
Namespace Name Mixin selector official eLdgq$a;e:Ldgq$a;intermediary field_84Lnet/minecraft/class_20$class_21;field_84:Lnet/minecraft/class_20$class_21;named TARGET_XLnet/minecraft/item/map/MapIcon$Type;TARGET_X:Lnet/minecraft/item/map/MapIcon$Type;
-
TARGET_POINT
- Mappings:
Namespace Name Mixin selector official fLdgq$a;f:Ldgq$a;intermediary field_85Lnet/minecraft/class_20$class_21;field_85:Lnet/minecraft/class_20$class_21;named TARGET_POINTLnet/minecraft/item/map/MapIcon$Type;TARGET_POINT:Lnet/minecraft/item/map/MapIcon$Type;
-
PLAYER_OFF_MAP
- Mappings:
Namespace Name Mixin selector official gLdgq$a;g:Ldgq$a;intermediary field_86Lnet/minecraft/class_20$class_21;field_86:Lnet/minecraft/class_20$class_21;named PLAYER_OFF_MAPLnet/minecraft/item/map/MapIcon$Type;PLAYER_OFF_MAP:Lnet/minecraft/item/map/MapIcon$Type;
-
PLAYER_OFF_LIMITS
- Mappings:
Namespace Name Mixin selector official hLdgq$a;h:Ldgq$a;intermediary field_87Lnet/minecraft/class_20$class_21;field_87:Lnet/minecraft/class_20$class_21;named PLAYER_OFF_LIMITSLnet/minecraft/item/map/MapIcon$Type;PLAYER_OFF_LIMITS:Lnet/minecraft/item/map/MapIcon$Type;
-
MANSION
- Mappings:
Namespace Name Mixin selector official iLdgq$a;i:Ldgq$a;intermediary field_88Lnet/minecraft/class_20$class_21;field_88:Lnet/minecraft/class_20$class_21;named MANSIONLnet/minecraft/item/map/MapIcon$Type;MANSION:Lnet/minecraft/item/map/MapIcon$Type;
-
MONUMENT
- Mappings:
Namespace Name Mixin selector official jLdgq$a;j:Ldgq$a;intermediary field_98Lnet/minecraft/class_20$class_21;field_98:Lnet/minecraft/class_20$class_21;named MONUMENTLnet/minecraft/item/map/MapIcon$Type;MONUMENT:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_WHITE
- Mappings:
Namespace Name Mixin selector official kLdgq$a;k:Ldgq$a;intermediary field_96Lnet/minecraft/class_20$class_21;field_96:Lnet/minecraft/class_20$class_21;named BANNER_WHITELnet/minecraft/item/map/MapIcon$Type;BANNER_WHITE:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_ORANGE
- Mappings:
Namespace Name Mixin selector official lLdgq$a;l:Ldgq$a;intermediary field_92Lnet/minecraft/class_20$class_21;field_92:Lnet/minecraft/class_20$class_21;named BANNER_ORANGELnet/minecraft/item/map/MapIcon$Type;BANNER_ORANGE:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_MAGENTA
- Mappings:
Namespace Name Mixin selector official mLdgq$a;m:Ldgq$a;intermediary field_97Lnet/minecraft/class_20$class_21;field_97:Lnet/minecraft/class_20$class_21;named BANNER_MAGENTALnet/minecraft/item/map/MapIcon$Type;BANNER_MAGENTA:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_LIGHT_BLUE
- Mappings:
Namespace Name Mixin selector official nLdgq$a;n:Ldgq$a;intermediary field_90Lnet/minecraft/class_20$class_21;field_90:Lnet/minecraft/class_20$class_21;named BANNER_LIGHT_BLUELnet/minecraft/item/map/MapIcon$Type;BANNER_LIGHT_BLUE:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_YELLOW
- Mappings:
Namespace Name Mixin selector official oLdgq$a;o:Ldgq$a;intermediary field_93Lnet/minecraft/class_20$class_21;field_93:Lnet/minecraft/class_20$class_21;named BANNER_YELLOWLnet/minecraft/item/map/MapIcon$Type;BANNER_YELLOW:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_LIME
- Mappings:
Namespace Name Mixin selector official pLdgq$a;p:Ldgq$a;intermediary field_94Lnet/minecraft/class_20$class_21;field_94:Lnet/minecraft/class_20$class_21;named BANNER_LIMELnet/minecraft/item/map/MapIcon$Type;BANNER_LIME:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_PINK
- Mappings:
Namespace Name Mixin selector official qLdgq$a;q:Ldgq$a;intermediary field_100Lnet/minecraft/class_20$class_21;field_100:Lnet/minecraft/class_20$class_21;named BANNER_PINKLnet/minecraft/item/map/MapIcon$Type;BANNER_PINK:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_GRAY
- Mappings:
Namespace Name Mixin selector official rLdgq$a;r:Ldgq$a;intermediary field_101Lnet/minecraft/class_20$class_21;field_101:Lnet/minecraft/class_20$class_21;named BANNER_GRAYLnet/minecraft/item/map/MapIcon$Type;BANNER_GRAY:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_LIGHT_GRAY
- Mappings:
Namespace Name Mixin selector official sLdgq$a;s:Ldgq$a;intermediary field_107Lnet/minecraft/class_20$class_21;field_107:Lnet/minecraft/class_20$class_21;named BANNER_LIGHT_GRAYLnet/minecraft/item/map/MapIcon$Type;BANNER_LIGHT_GRAY:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_CYAN
- Mappings:
Namespace Name Mixin selector official tLdgq$a;t:Ldgq$a;intermediary field_108Lnet/minecraft/class_20$class_21;field_108:Lnet/minecraft/class_20$class_21;named BANNER_CYANLnet/minecraft/item/map/MapIcon$Type;BANNER_CYAN:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_PURPLE
- Mappings:
Namespace Name Mixin selector official uLdgq$a;u:Ldgq$a;intermediary field_104Lnet/minecraft/class_20$class_21;field_104:Lnet/minecraft/class_20$class_21;named BANNER_PURPLELnet/minecraft/item/map/MapIcon$Type;BANNER_PURPLE:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_BLUE
- Mappings:
Namespace Name Mixin selector official vLdgq$a;v:Ldgq$a;intermediary field_105Lnet/minecraft/class_20$class_21;field_105:Lnet/minecraft/class_20$class_21;named BANNER_BLUELnet/minecraft/item/map/MapIcon$Type;BANNER_BLUE:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_BROWN
- Mappings:
Namespace Name Mixin selector official wLdgq$a;w:Ldgq$a;intermediary field_106Lnet/minecraft/class_20$class_21;field_106:Lnet/minecraft/class_20$class_21;named BANNER_BROWNLnet/minecraft/item/map/MapIcon$Type;BANNER_BROWN:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_GREEN
- Mappings:
Namespace Name Mixin selector official xLdgq$a;x:Ldgq$a;intermediary field_102Lnet/minecraft/class_20$class_21;field_102:Lnet/minecraft/class_20$class_21;named BANNER_GREENLnet/minecraft/item/map/MapIcon$Type;BANNER_GREEN:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_RED
- Mappings:
Namespace Name Mixin selector official yLdgq$a;y:Ldgq$a;intermediary field_99Lnet/minecraft/class_20$class_21;field_99:Lnet/minecraft/class_20$class_21;named BANNER_REDLnet/minecraft/item/map/MapIcon$Type;BANNER_RED:Lnet/minecraft/item/map/MapIcon$Type;
-
BANNER_BLACK
- Mappings:
Namespace Name Mixin selector official zLdgq$a;z:Ldgq$a;intermediary field_103Lnet/minecraft/class_20$class_21;field_103:Lnet/minecraft/class_20$class_21;named BANNER_BLACKLnet/minecraft/item/map/MapIcon$Type;BANNER_BLACK:Lnet/minecraft/item/map/MapIcon$Type;
-
RED_X
- Mappings:
Namespace Name Mixin selector official ALdgq$a;A:Ldgq$a;intermediary field_110Lnet/minecraft/class_20$class_21;field_110:Lnet/minecraft/class_20$class_21;named RED_XLnet/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 BLdgq$a;B:Bintermediary field_81Lnet/minecraft/class_20$class_21;field_81:Bnamed idLnet/minecraft/item/map/MapIcon$Type;id:B
-
alwaysRender
private final boolean alwaysRender- Mappings:
Namespace Name Mixin selector official CLdgq$a;C:Zintermediary field_111Lnet/minecraft/class_20$class_21;field_111:Znamed alwaysRenderLnet/minecraft/item/map/MapIcon$Type;alwaysRender:Z
-
tintColor
private final int tintColor- Mappings:
Namespace Name Mixin selector official DLdgq$a;D:Iintermediary field_82Lnet/minecraft/class_20$class_21;field_82:Inamed tintColorLnet/minecraft/item/map/MapIcon$Type;tintColor:I
-
-
Constructor Details
-
Type
private Type(boolean alwaysRender)- Mappings:
Namespace Name Mixin selector official <init>Ldgq$a;<init>(Ljava/lang/String;IZ)Vintermediary <init>Lnet/minecraft/class_20$class_21;<init>(Ljava/lang/String;IZ)Vnamed <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>Ldgq$a;<init>(Ljava/lang/String;IZI)Vintermediary <init>Lnet/minecraft/class_20$class_21;<init>(Ljava/lang/String;IZI)Vnamed <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 aLdgq$a;a()Bintermediary method_98Lnet/minecraft/class_20$class_21;method_98()Bnamed getIdLnet/minecraft/item/map/MapIcon$Type;getId()B
-
isAlwaysRendered
public boolean isAlwaysRendered()- Mappings:
Namespace Name Mixin selector official bLdgq$a;b()Zintermediary method_95Lnet/minecraft/class_20$class_21;method_95()Znamed isAlwaysRenderedLnet/minecraft/item/map/MapIcon$Type;isAlwaysRendered()Z
-
hasTintColor
public boolean hasTintColor()- Mappings:
Namespace Name Mixin selector official cLdgq$a;c()Zintermediary method_97Lnet/minecraft/class_20$class_21;method_97()Znamed hasTintColorLnet/minecraft/item/map/MapIcon$Type;hasTintColor()Z
-
getTintColor
public int getTintColor()- Mappings:
Namespace Name Mixin selector official dLdgq$a;d()Iintermediary method_96Lnet/minecraft/class_20$class_21;method_96()Inamed getTintColorLnet/minecraft/item/map/MapIcon$Type;getTintColor()I
-
byId
- Mappings:
Namespace Name Mixin selector official aLdgq$a;a(B)Ldgq$a;intermediary method_99Lnet/minecraft/class_20$class_21;method_99(B)Lnet/minecraft/class_20$class_21;named byIdLnet/minecraft/item/map/MapIcon$Type;byId(B)Lnet/minecraft/item/map/MapIcon$Type;
-