Package net.minecraft.item.map
Enum Class MapIcon.Type
- All Implemented Interfaces:
Serializable,Comparable<MapIcon.Type>,Constable,StringIdentifiable
- Enclosing class:
MapIcon
- Mappings:
Namespace Name official ecl$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>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanstatic final com.mojang.serialization.Codec<MapIcon.Type>private final byteprivate final Stringprivate final booleanprivate final intprivate final booleanFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static MapIcon.TypebyId(byte id) bytegetId()intbooleanbooleanbooleanbooleanstatic MapIcon.TypeReturns the enum constant of this class with the specified name.static MapIcon.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLAYER
- Mappings:
Namespace Name Mixin selector official aLecl$a;a:Lecl$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 bLecl$a;b:Lecl$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 cLecl$a;c:Lecl$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 dLecl$a;d:Lecl$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 eLecl$a;e:Lecl$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 fLecl$a;f:Lecl$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 gLecl$a;g:Lecl$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 hLecl$a;h:Lecl$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 iLecl$a;i:Lecl$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 jLecl$a;j:Lecl$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 kLecl$a;k:Lecl$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 lLecl$a;l:Lecl$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 mLecl$a;m:Lecl$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 nLecl$a;n:Lecl$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 oLecl$a;o:Lecl$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 pLecl$a;p:Lecl$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 qLecl$a;q:Lecl$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 rLecl$a;r:Lecl$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 sLecl$a;s:Lecl$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 tLecl$a;t:Lecl$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 uLecl$a;u:Lecl$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 vLecl$a;v:Lecl$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 wLecl$a;w:Lecl$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 xLecl$a;x:Lecl$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 yLecl$a;y:Lecl$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 zLecl$a;z:Lecl$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 ALecl$a;A:Lecl$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;
-
DESERT_VILLAGE
- Mappings:
Namespace Name Mixin selector official BLecl$a;B:Lecl$a;intermediary field_46177Lnet/minecraft/class_20$class_21;field_46177:Lnet/minecraft/class_20$class_21;named DESERT_VILLAGELnet/minecraft/item/map/MapIcon$Type;DESERT_VILLAGE:Lnet/minecraft/item/map/MapIcon$Type;
-
PLAINS_VILLAGE
- Mappings:
Namespace Name Mixin selector official CLecl$a;C:Lecl$a;intermediary field_46178Lnet/minecraft/class_20$class_21;field_46178:Lnet/minecraft/class_20$class_21;named PLAINS_VILLAGELnet/minecraft/item/map/MapIcon$Type;PLAINS_VILLAGE:Lnet/minecraft/item/map/MapIcon$Type;
-
SAVANNA_VILLAGE
- Mappings:
Namespace Name Mixin selector official DLecl$a;D:Lecl$a;intermediary field_46179Lnet/minecraft/class_20$class_21;field_46179:Lnet/minecraft/class_20$class_21;named SAVANNA_VILLAGELnet/minecraft/item/map/MapIcon$Type;SAVANNA_VILLAGE:Lnet/minecraft/item/map/MapIcon$Type;
-
SNOWY_VILLAGE
- Mappings:
Namespace Name Mixin selector official ELecl$a;E:Lecl$a;intermediary field_46180Lnet/minecraft/class_20$class_21;field_46180:Lnet/minecraft/class_20$class_21;named SNOWY_VILLAGELnet/minecraft/item/map/MapIcon$Type;SNOWY_VILLAGE:Lnet/minecraft/item/map/MapIcon$Type;
-
TAIGA_VILLAGE
- Mappings:
Namespace Name Mixin selector official FLecl$a;F:Lecl$a;intermediary field_46181Lnet/minecraft/class_20$class_21;field_46181:Lnet/minecraft/class_20$class_21;named TAIGA_VILLAGELnet/minecraft/item/map/MapIcon$Type;TAIGA_VILLAGE:Lnet/minecraft/item/map/MapIcon$Type;
-
JUNGLE_TEMPLE
- Mappings:
Namespace Name Mixin selector official GLecl$a;G:Lecl$a;intermediary field_46182Lnet/minecraft/class_20$class_21;field_46182:Lnet/minecraft/class_20$class_21;named JUNGLE_TEMPLELnet/minecraft/item/map/MapIcon$Type;JUNGLE_TEMPLE:Lnet/minecraft/item/map/MapIcon$Type;
-
SWAMP_HUT
- Mappings:
Namespace Name Mixin selector official HLecl$a;H:Lecl$a;intermediary field_46183Lnet/minecraft/class_20$class_21;field_46183:Lnet/minecraft/class_20$class_21;named SWAMP_HUTLnet/minecraft/item/map/MapIcon$Type;SWAMP_HUT:Lnet/minecraft/item/map/MapIcon$Type;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official ILecl$a;I:Lcom/mojang/serialization/Codec;intermediary field_45788Lnet/minecraft/class_20$class_21;field_45788:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/item/map/MapIcon$Type;CODEC:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector official JLecl$a;J:Ljava/lang/String;intermediary field_45789Lnet/minecraft/class_20$class_21;field_45789:Ljava/lang/String;named nameLnet/minecraft/item/map/MapIcon$Type;name:Ljava/lang/String;
-
id
private final byte id- Mappings:
Namespace Name Mixin selector official KLecl$a;K: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 LLecl$a;L: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 MLecl$a;M:Iintermediary field_82Lnet/minecraft/class_20$class_21;field_82:Inamed tintColorLnet/minecraft/item/map/MapIcon$Type;tintColor:I
-
structure
private final boolean structure- Mappings:
Namespace Name Mixin selector official NLecl$a;N:Zintermediary field_46184Lnet/minecraft/class_20$class_21;field_46184:Znamed structureLnet/minecraft/item/map/MapIcon$Type;structure:Z
-
useIconCountLimit
private final boolean useIconCountLimit- Mappings:
Namespace Name Mixin selector official OLecl$a;O:Zintermediary field_33990Lnet/minecraft/class_20$class_21;field_33990:Znamed useIconCountLimitLnet/minecraft/item/map/MapIcon$Type;useIconCountLimit:Z
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lecl$a;<init>(Ljava/lang/String;ILjava/lang/String;ZZ)Vintermediary <init>Lnet/minecraft/class_20$class_21;<init>(Ljava/lang/String;ILjava/lang/String;ZZ)Vnamed <init>Lnet/minecraft/item/map/MapIcon$Type;<init>(Ljava/lang/String;ILjava/lang/String;ZZ)V
-
Type
private Type(String name, boolean alwaysRender, int tintColor, boolean useIconCountLimit, boolean structure) - Mappings:
Namespace Name Mixin selector official <init>Lecl$a;<init>(Ljava/lang/String;ILjava/lang/String;ZIZZ)Vintermediary <init>Lnet/minecraft/class_20$class_21;<init>(Ljava/lang/String;ILjava/lang/String;ZIZZ)Vnamed <init>Lnet/minecraft/item/map/MapIcon$Type;<init>(Ljava/lang/String;ILjava/lang/String;ZIZZ)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getId
public byte getId()- Mappings:
Namespace Name Mixin selector official aLecl$a;a()Bintermediary method_98Lnet/minecraft/class_20$class_21;method_98()Bnamed getIdLnet/minecraft/item/map/MapIcon$Type;getId()B
-
isStructure
public boolean isStructure()- Mappings:
Namespace Name Mixin selector official bLecl$a;b()Zintermediary method_53841Lnet/minecraft/class_20$class_21;method_53841()Znamed isStructureLnet/minecraft/item/map/MapIcon$Type;isStructure()Z
-
isAlwaysRendered
public boolean isAlwaysRendered()- Mappings:
Namespace Name Mixin selector official dLecl$a;d()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 eLecl$a;e()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 fLecl$a;f()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 aLecl$a;a(B)Lecl$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;
-
shouldUseIconCountLimit
public boolean shouldUseIconCountLimit()- Mappings:
Namespace Name Mixin selector official gLecl$a;g()Zintermediary method_37342Lnet/minecraft/class_20$class_21;method_37342()Znamed shouldUseIconCountLimitLnet/minecraft/item/map/MapIcon$Type;shouldUseIconCountLimit()Z
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official cLatr;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-