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 emb$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 aLemb$a;a:Lemb$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 bLemb$a;b:Lemb$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 cLemb$a;c:Lemb$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 dLemb$a;d:Lemb$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 eLemb$a;e:Lemb$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 fLemb$a;f:Lemb$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 gLemb$a;g:Lemb$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 hLemb$a;h:Lemb$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 iLemb$a;i:Lemb$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 jLemb$a;j:Lemb$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 kLemb$a;k:Lemb$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 lLemb$a;l:Lemb$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 mLemb$a;m:Lemb$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 nLemb$a;n:Lemb$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 oLemb$a;o:Lemb$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 pLemb$a;p:Lemb$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 qLemb$a;q:Lemb$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 rLemb$a;r:Lemb$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 sLemb$a;s:Lemb$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 tLemb$a;t:Lemb$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 uLemb$a;u:Lemb$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 vLemb$a;v:Lemb$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 wLemb$a;w:Lemb$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 xLemb$a;x:Lemb$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 yLemb$a;y:Lemb$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 zLemb$a;z:Lemb$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 ALemb$a;A:Lemb$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 BLemb$a;B:Lemb$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 CLemb$a;C:Lemb$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 DLemb$a;D:Lemb$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 ELemb$a;E:Lemb$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 FLemb$a;F:Lemb$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 GLemb$a;G:Lemb$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 HLemb$a;H:Lemb$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 ILemb$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 JLemb$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 KLemb$a;K:Lye;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 LLemb$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 MLemb$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 NLemb$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 OLemb$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 PLemb$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 QLemb$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 RLemb$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>Lemb$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>Lemb$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 aLemb$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 bLemb$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 dLemb$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 eLemb$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 fLemb$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 gLemb$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 hLemb$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 cLaye;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-