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 emk$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 intstatic final IntFunction<MapIcon.Type> private final Stringstatic final PacketCodec<ByteBuf, MapIcon.Type> private 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.bytegetId()intgetIndex()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 aLemk$a;a:Lemk$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 bLemk$a;b:Lemk$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 cLemk$a;c:Lemk$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 dLemk$a;d:Lemk$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 eLemk$a;e:Lemk$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 fLemk$a;f:Lemk$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 gLemk$a;g:Lemk$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 hLemk$a;h:Lemk$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 iLemk$a;i:Lemk$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 jLemk$a;j:Lemk$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 kLemk$a;k:Lemk$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 lLemk$a;l:Lemk$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 mLemk$a;m:Lemk$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 nLemk$a;n:Lemk$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 oLemk$a;o:Lemk$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 pLemk$a;p:Lemk$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 qLemk$a;q:Lemk$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 rLemk$a;r:Lemk$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 sLemk$a;s:Lemk$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 tLemk$a;t:Lemk$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 uLemk$a;u:Lemk$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 vLemk$a;v:Lemk$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 wLemk$a;w:Lemk$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 xLemk$a;x:Lemk$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 yLemk$a;y:Lemk$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 zLemk$a;z:Lemk$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 ALemk$a;A:Lemk$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 BLemk$a;B:Lemk$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 CLemk$a;C:Lemk$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 DLemk$a;D:Lemk$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 ELemk$a;E:Lemk$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 FLemk$a;F:Lemk$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 GLemk$a;G:Lemk$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 HLemk$a;H:Lemk$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
-
INDEX_TO_TYPE
- Mappings:
Namespace Name Mixin selector official ILemk$a;I:Ljava/util/function/IntFunction;intermediary field_48921Lnet/minecraft/class_20$class_21;field_48921:Ljava/util/function/IntFunction;named INDEX_TO_TYPELnet/minecraft/item/map/MapIcon$Type;INDEX_TO_TYPE:Ljava/util/function/IntFunction;
-
CODEC
- Mappings:
Namespace Name Mixin selector official JLemk$a;J: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;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector official KLemk$a;K:Lyg;intermediary field_48922Lnet/minecraft/class_20$class_21;field_48922:Lnet/minecraft/class_9139;named PACKET_CODECLnet/minecraft/item/map/MapIcon$Type;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
index
private final int index- Mappings:
Namespace Name Mixin selector official LLemk$a;L:Iintermediary field_48923Lnet/minecraft/class_20$class_21;field_48923:Inamed indexLnet/minecraft/item/map/MapIcon$Type;index:I
-
name
- Mappings:
Namespace Name Mixin selector official MLemk$a;M: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 NLemk$a;N: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 OLemk$a;O: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 PLemk$a;P: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 QLemk$a;Q: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 RLemk$a;R: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>Lemk$a;<init>(Ljava/lang/String;IILjava/lang/String;ZZ)Vintermediary <init>Lnet/minecraft/class_20$class_21;<init>(Ljava/lang/String;IILjava/lang/String;ZZ)Vnamed <init>Lnet/minecraft/item/map/MapIcon$Type;<init>(Ljava/lang/String;IILjava/lang/String;ZZ)V
-
Type
private Type(int index, String name, boolean alwaysRender, int tintColor, boolean useIconCountLimit, boolean structure) - Mappings:
Namespace Name Mixin selector official <init>Lemk$a;<init>(Ljava/lang/String;IILjava/lang/String;ZIZZ)Vintermediary <init>Lnet/minecraft/class_20$class_21;<init>(Ljava/lang/String;IILjava/lang/String;ZIZZ)Vnamed <init>Lnet/minecraft/item/map/MapIcon$Type;<init>(Ljava/lang/String;IILjava/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
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector official aLemk$a;a()Iintermediary method_56813Lnet/minecraft/class_20$class_21;method_56813()Inamed getIndexLnet/minecraft/item/map/MapIcon$Type;getIndex()I
-
getId
public byte getId()- Mappings:
Namespace Name Mixin selector official bLemk$a;b()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 dLemk$a;d()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 eLemk$a;e()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 fLemk$a;f()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 gLemk$a;g()Iintermediary method_96Lnet/minecraft/class_20$class_21;method_96()Inamed getTintColorLnet/minecraft/item/map/MapIcon$Type;getTintColor()I
-
shouldUseIconCountLimit
public boolean shouldUseIconCountLimit()- Mappings:
Namespace Name Mixin selector official hLemk$a;h()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 cLayg;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-