Enum Class MapIcon.Type

java.lang.Object
java.lang.Enum<MapIcon.Type>
net.minecraft.item.map.MapIcon.Type
All Implemented Interfaces:
Serializable, Comparable<MapIcon.Type>, Constable, StringIdentifiable
Enclosing class:
MapIcon

public static enum MapIcon.Type extends Enum<MapIcon.Type> implements StringIdentifiable
Mappings:
Namespace Name
official efy$a
intermediary net/minecraft/class_20$class_21
named net/minecraft/item/map/MapIcon$Type
  • Enum Constant Details

    • PLAYER

      public static final MapIcon.Type PLAYER
      Mappings:
      Namespace Name Mixin selector
      official a Lefy$a;a:Lefy$a;
      intermediary field_91 Lnet/minecraft/class_20$class_21;field_91:Lnet/minecraft/class_20$class_21;
      named PLAYER Lnet/minecraft/item/map/MapIcon$Type;PLAYER:Lnet/minecraft/item/map/MapIcon$Type;
    • FRAME

      public static final MapIcon.Type FRAME
      Mappings:
      Namespace Name Mixin selector
      official b Lefy$a;b:Lefy$a;
      intermediary field_95 Lnet/minecraft/class_20$class_21;field_95:Lnet/minecraft/class_20$class_21;
      named FRAME Lnet/minecraft/item/map/MapIcon$Type;FRAME:Lnet/minecraft/item/map/MapIcon$Type;
    • RED_MARKER

      public static final MapIcon.Type RED_MARKER
      Mappings:
      Namespace Name Mixin selector
      official c Lefy$a;c:Lefy$a;
      intermediary field_89 Lnet/minecraft/class_20$class_21;field_89:Lnet/minecraft/class_20$class_21;
      named RED_MARKER Lnet/minecraft/item/map/MapIcon$Type;RED_MARKER:Lnet/minecraft/item/map/MapIcon$Type;
    • BLUE_MARKER

      public static final MapIcon.Type BLUE_MARKER
      Mappings:
      Namespace Name Mixin selector
      official d Lefy$a;d:Lefy$a;
      intermediary field_83 Lnet/minecraft/class_20$class_21;field_83:Lnet/minecraft/class_20$class_21;
      named BLUE_MARKER Lnet/minecraft/item/map/MapIcon$Type;BLUE_MARKER:Lnet/minecraft/item/map/MapIcon$Type;
    • TARGET_X

      public static final MapIcon.Type TARGET_X
      Mappings:
      Namespace Name Mixin selector
      official e Lefy$a;e:Lefy$a;
      intermediary field_84 Lnet/minecraft/class_20$class_21;field_84:Lnet/minecraft/class_20$class_21;
      named TARGET_X Lnet/minecraft/item/map/MapIcon$Type;TARGET_X:Lnet/minecraft/item/map/MapIcon$Type;
    • TARGET_POINT

      public static final MapIcon.Type TARGET_POINT
      Mappings:
      Namespace Name Mixin selector
      official f Lefy$a;f:Lefy$a;
      intermediary field_85 Lnet/minecraft/class_20$class_21;field_85:Lnet/minecraft/class_20$class_21;
      named TARGET_POINT Lnet/minecraft/item/map/MapIcon$Type;TARGET_POINT:Lnet/minecraft/item/map/MapIcon$Type;
    • PLAYER_OFF_MAP

      public static final MapIcon.Type PLAYER_OFF_MAP
      Mappings:
      Namespace Name Mixin selector
      official g Lefy$a;g:Lefy$a;
      intermediary field_86 Lnet/minecraft/class_20$class_21;field_86:Lnet/minecraft/class_20$class_21;
      named PLAYER_OFF_MAP Lnet/minecraft/item/map/MapIcon$Type;PLAYER_OFF_MAP:Lnet/minecraft/item/map/MapIcon$Type;
    • PLAYER_OFF_LIMITS

      public static final MapIcon.Type PLAYER_OFF_LIMITS
      Mappings:
      Namespace Name Mixin selector
      official h Lefy$a;h:Lefy$a;
      intermediary field_87 Lnet/minecraft/class_20$class_21;field_87:Lnet/minecraft/class_20$class_21;
      named PLAYER_OFF_LIMITS Lnet/minecraft/item/map/MapIcon$Type;PLAYER_OFF_LIMITS:Lnet/minecraft/item/map/MapIcon$Type;
    • MANSION

      public static final MapIcon.Type MANSION
      Mappings:
      Namespace Name Mixin selector
      official i Lefy$a;i:Lefy$a;
      intermediary field_88 Lnet/minecraft/class_20$class_21;field_88:Lnet/minecraft/class_20$class_21;
      named MANSION Lnet/minecraft/item/map/MapIcon$Type;MANSION:Lnet/minecraft/item/map/MapIcon$Type;
    • MONUMENT

      public static final MapIcon.Type MONUMENT
      Mappings:
      Namespace Name Mixin selector
      official j Lefy$a;j:Lefy$a;
      intermediary field_98 Lnet/minecraft/class_20$class_21;field_98:Lnet/minecraft/class_20$class_21;
      named MONUMENT Lnet/minecraft/item/map/MapIcon$Type;MONUMENT:Lnet/minecraft/item/map/MapIcon$Type;
    • RED_X

      public static final MapIcon.Type RED_X
      Mappings:
      Namespace Name Mixin selector
      official A Lefy$a;A:Lefy$a;
      intermediary field_110 Lnet/minecraft/class_20$class_21;field_110:Lnet/minecraft/class_20$class_21;
      named RED_X Lnet/minecraft/item/map/MapIcon$Type;RED_X:Lnet/minecraft/item/map/MapIcon$Type;
    • DESERT_VILLAGE

      public static final MapIcon.Type DESERT_VILLAGE
      Mappings:
      Namespace Name Mixin selector
      official B Lefy$a;B:Lefy$a;
      intermediary field_46177 Lnet/minecraft/class_20$class_21;field_46177:Lnet/minecraft/class_20$class_21;
      named DESERT_VILLAGE Lnet/minecraft/item/map/MapIcon$Type;DESERT_VILLAGE:Lnet/minecraft/item/map/MapIcon$Type;
    • PLAINS_VILLAGE

      public static final MapIcon.Type PLAINS_VILLAGE
      Mappings:
      Namespace Name Mixin selector
      official C Lefy$a;C:Lefy$a;
      intermediary field_46178 Lnet/minecraft/class_20$class_21;field_46178:Lnet/minecraft/class_20$class_21;
      named PLAINS_VILLAGE Lnet/minecraft/item/map/MapIcon$Type;PLAINS_VILLAGE:Lnet/minecraft/item/map/MapIcon$Type;
    • SAVANNA_VILLAGE

      public static final MapIcon.Type SAVANNA_VILLAGE
      Mappings:
      Namespace Name Mixin selector
      official D Lefy$a;D:Lefy$a;
      intermediary field_46179 Lnet/minecraft/class_20$class_21;field_46179:Lnet/minecraft/class_20$class_21;
      named SAVANNA_VILLAGE Lnet/minecraft/item/map/MapIcon$Type;SAVANNA_VILLAGE:Lnet/minecraft/item/map/MapIcon$Type;
    • SNOWY_VILLAGE

      public static final MapIcon.Type SNOWY_VILLAGE
      Mappings:
      Namespace Name Mixin selector
      official E Lefy$a;E:Lefy$a;
      intermediary field_46180 Lnet/minecraft/class_20$class_21;field_46180:Lnet/minecraft/class_20$class_21;
      named SNOWY_VILLAGE Lnet/minecraft/item/map/MapIcon$Type;SNOWY_VILLAGE:Lnet/minecraft/item/map/MapIcon$Type;
    • TAIGA_VILLAGE

      public static final MapIcon.Type TAIGA_VILLAGE
      Mappings:
      Namespace Name Mixin selector
      official F Lefy$a;F:Lefy$a;
      intermediary field_46181 Lnet/minecraft/class_20$class_21;field_46181:Lnet/minecraft/class_20$class_21;
      named TAIGA_VILLAGE Lnet/minecraft/item/map/MapIcon$Type;TAIGA_VILLAGE:Lnet/minecraft/item/map/MapIcon$Type;
    • JUNGLE_TEMPLE

      public static final MapIcon.Type JUNGLE_TEMPLE
      Mappings:
      Namespace Name Mixin selector
      official G Lefy$a;G:Lefy$a;
      intermediary field_46182 Lnet/minecraft/class_20$class_21;field_46182:Lnet/minecraft/class_20$class_21;
      named JUNGLE_TEMPLE Lnet/minecraft/item/map/MapIcon$Type;JUNGLE_TEMPLE:Lnet/minecraft/item/map/MapIcon$Type;
    • SWAMP_HUT

      public static final MapIcon.Type SWAMP_HUT
      Mappings:
      Namespace Name Mixin selector
      official H Lefy$a;H:Lefy$a;
      intermediary field_46183 Lnet/minecraft/class_20$class_21;field_46183:Lnet/minecraft/class_20$class_21;
      named SWAMP_HUT Lnet/minecraft/item/map/MapIcon$Type;SWAMP_HUT:Lnet/minecraft/item/map/MapIcon$Type;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MapIcon.Type> CODEC
      Mappings:
      Namespace Name Mixin selector
      official I Lefy$a;I:Lcom/mojang/serialization/Codec;
      intermediary field_45788 Lnet/minecraft/class_20$class_21;field_45788:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/item/map/MapIcon$Type;CODEC:Lcom/mojang/serialization/Codec;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official J Lefy$a;J:Ljava/lang/String;
      intermediary field_45789 Lnet/minecraft/class_20$class_21;field_45789:Ljava/lang/String;
      named name Lnet/minecraft/item/map/MapIcon$Type;name:Ljava/lang/String;
    • id

      private final byte id
      Mappings:
      Namespace Name Mixin selector
      official K Lefy$a;K:B
      intermediary field_81 Lnet/minecraft/class_20$class_21;field_81:B
      named id Lnet/minecraft/item/map/MapIcon$Type;id:B
    • alwaysRender

      private final boolean alwaysRender
      Mappings:
      Namespace Name Mixin selector
      official L Lefy$a;L:Z
      intermediary field_111 Lnet/minecraft/class_20$class_21;field_111:Z
      named alwaysRender Lnet/minecraft/item/map/MapIcon$Type;alwaysRender:Z
    • tintColor

      private final int tintColor
      Mappings:
      Namespace Name Mixin selector
      official M Lefy$a;M:I
      intermediary field_82 Lnet/minecraft/class_20$class_21;field_82:I
      named tintColor Lnet/minecraft/item/map/MapIcon$Type;tintColor:I
    • structure

      private final boolean structure
      Mappings:
      Namespace Name Mixin selector
      official N Lefy$a;N:Z
      intermediary field_46184 Lnet/minecraft/class_20$class_21;field_46184:Z
      named structure Lnet/minecraft/item/map/MapIcon$Type;structure:Z
    • useIconCountLimit

      private final boolean useIconCountLimit
      Mappings:
      Namespace Name Mixin selector
      official O Lefy$a;O:Z
      intermediary field_33990 Lnet/minecraft/class_20$class_21;field_33990:Z
      named useIconCountLimit Lnet/minecraft/item/map/MapIcon$Type;useIconCountLimit:Z
  • Constructor Details

    • Type

      private Type(String name, boolean alwaysRender, boolean useIconCountLimit)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lefy$a;<init>(Ljava/lang/String;ILjava/lang/String;ZZ)V
      intermediary <init> Lnet/minecraft/class_20$class_21;<init>(Ljava/lang/String;ILjava/lang/String;ZZ)V
      named <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> Lefy$a;<init>(Ljava/lang/String;ILjava/lang/String;ZIZZ)V
      intermediary <init> Lnet/minecraft/class_20$class_21;<init>(Ljava/lang/String;ILjava/lang/String;ZIZZ)V
      named <init> Lnet/minecraft/item/map/MapIcon$Type;<init>(Ljava/lang/String;ILjava/lang/String;ZIZZ)V
  • Method Details

    • values

      public static MapIcon.Type[] 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

      public static MapIcon.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getId

      public byte getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lefy$a;a()B
      intermediary method_98 Lnet/minecraft/class_20$class_21;method_98()B
      named getId Lnet/minecraft/item/map/MapIcon$Type;getId()B
    • isStructure

      public boolean isStructure()
      Mappings:
      Namespace Name Mixin selector
      official b Lefy$a;b()Z
      intermediary method_53841 Lnet/minecraft/class_20$class_21;method_53841()Z
      named isStructure Lnet/minecraft/item/map/MapIcon$Type;isStructure()Z
    • isAlwaysRendered

      public boolean isAlwaysRendered()
      Mappings:
      Namespace Name Mixin selector
      official d Lefy$a;d()Z
      intermediary method_95 Lnet/minecraft/class_20$class_21;method_95()Z
      named isAlwaysRendered Lnet/minecraft/item/map/MapIcon$Type;isAlwaysRendered()Z
    • hasTintColor

      public boolean hasTintColor()
      Mappings:
      Namespace Name Mixin selector
      official e Lefy$a;e()Z
      intermediary method_97 Lnet/minecraft/class_20$class_21;method_97()Z
      named hasTintColor Lnet/minecraft/item/map/MapIcon$Type;hasTintColor()Z
    • getTintColor

      public int getTintColor()
      Mappings:
      Namespace Name Mixin selector
      official f Lefy$a;f()I
      intermediary method_96 Lnet/minecraft/class_20$class_21;method_96()I
      named getTintColor Lnet/minecraft/item/map/MapIcon$Type;getTintColor()I
    • byId

      public static MapIcon.Type byId(byte id)
      Mappings:
      Namespace Name Mixin selector
      official a Lefy$a;a(B)Lefy$a;
      intermediary method_99 Lnet/minecraft/class_20$class_21;method_99(B)Lnet/minecraft/class_20$class_21;
      named byId Lnet/minecraft/item/map/MapIcon$Type;byId(B)Lnet/minecraft/item/map/MapIcon$Type;
    • shouldUseIconCountLimit

      public boolean shouldUseIconCountLimit()
      Mappings:
      Namespace Name Mixin selector
      official g Lefy$a;g()Z
      intermediary method_37342 Lnet/minecraft/class_20$class_21;method_37342()Z
      named shouldUseIconCountLimit Lnet/minecraft/item/map/MapIcon$Type;shouldUseIconCountLimit()Z
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Lavk;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;