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 dfb$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
-
Field Summary
Fields Modifier and Type Field Description private booleanalwaysRenderprivate byteidprivate inttintColor -
Constructor Summary
-
Method Summary
Modifier and Type Method Description static MapIcon.TypebyId(byte id)bytegetId()intgetTintColor()booleanhasTintColor()booleanisAlwaysRendered()static MapIcon.TypevalueOf(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 aLdfb$a;a:Ldfb$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 bLdfb$a;b:Ldfb$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 cLdfb$a;c:Ldfb$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 dLdfb$a;d:Ldfb$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 eLdfb$a;e:Ldfb$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 fLdfb$a;f:Ldfb$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 gLdfb$a;g:Ldfb$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 hLdfb$a;h:Ldfb$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 iLdfb$a;i:Ldfb$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 jLdfb$a;j:Ldfb$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 kLdfb$a;k:Ldfb$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 lLdfb$a;l:Ldfb$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 mLdfb$a;m:Ldfb$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 nLdfb$a;n:Ldfb$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 oLdfb$a;o:Ldfb$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 pLdfb$a;p:Ldfb$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 qLdfb$a;q:Ldfb$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 rLdfb$a;r:Ldfb$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 sLdfb$a;s:Ldfb$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 tLdfb$a;t:Ldfb$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 uLdfb$a;u:Ldfb$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 vLdfb$a;v:Ldfb$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 wLdfb$a;w:Ldfb$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 xLdfb$a;x:Ldfb$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 yLdfb$a;y:Ldfb$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 zLdfb$a;z:Ldfb$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 ALdfb$a;A:Ldfb$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 BLdfb$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 CLdfb$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 DLdfb$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>Ldfb$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>Ldfb$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 aLdfb$a;a()Bintermediary method_98Lnet/minecraft/class_20$class_21;method_98()Bnamed getIdLnet/minecraft/item/map/MapIcon$Type;getId()B
-
isAlwaysRendered
- Mappings:
Namespace Name Mixin selector official bLdfb$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 cLdfb$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 dLdfb$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 aLdfb$a;a(B)Ldfb$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;
-