Class MapIcon

java.lang.Object
net.minecraft.item.map.MapIcon

public class MapIcon extends Object
Mappings:
Namespace Name
official dur
intermediary net/minecraft/class_20
named net/minecraft/item/map/MapIcon
  • Field Details

    • type

      private final MapIcon.Type type
      Mappings:
      Namespace Name Mixin selector
      official a Ldur;a:Ldur$a;
      intermediary field_77 Lnet/minecraft/class_20;field_77:Lnet/minecraft/class_20$class_21;
      named type Lnet/minecraft/item/map/MapIcon;type:Lnet/minecraft/item/map/MapIcon$Type;
    • x

      private final byte x
      Mappings:
      Namespace Name Mixin selector
      official b Ldur;b:B
      intermediary field_76 Lnet/minecraft/class_20;field_76:B
      named x Lnet/minecraft/item/map/MapIcon;x:B
    • z

      private final byte z
      Mappings:
      Namespace Name Mixin selector
      official c Ldur;c:B
      intermediary field_80 Lnet/minecraft/class_20;field_80:B
      named z Lnet/minecraft/item/map/MapIcon;z:B
    • rotation

      private final byte rotation
      Mappings:
      Namespace Name Mixin selector
      official d Ldur;d:B
      intermediary field_79 Lnet/minecraft/class_20;field_79:B
      named rotation Lnet/minecraft/item/map/MapIcon;rotation:B
    • text

      @Nullable private final @Nullable Text text
      Mappings:
      Namespace Name Mixin selector
      official e Ldur;e:Lss;
      intermediary field_78 Lnet/minecraft/class_20;field_78:Lnet/minecraft/class_2561;
      named text Lnet/minecraft/item/map/MapIcon;text:Lnet/minecraft/text/Text;
  • Constructor Details

    • MapIcon

      public MapIcon(MapIcon.Type type, byte x, byte z, byte rotation, @Nullable @Nullable Text text)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldur;<init>(Ldur$a;BBBLss;)V
      intermediary <init> Lnet/minecraft/class_20;<init>(Lnet/minecraft/class_20$class_21;BBBLnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/item/map/MapIcon;<init>(Lnet/minecraft/item/map/MapIcon$Type;BBBLnet/minecraft/text/Text;)V
  • Method Details

    • getTypeId

      public byte getTypeId()
      Mappings:
      Namespace Name Mixin selector
      official a Ldur;a()B
      intermediary method_92 Lnet/minecraft/class_20;method_92()B
      named getTypeId Lnet/minecraft/item/map/MapIcon;getTypeId()B
    • getType

      public MapIcon.Type getType()
      Mappings:
      Namespace Name Mixin selector
      official b Ldur;b()Ldur$a;
      intermediary method_93 Lnet/minecraft/class_20;method_93()Lnet/minecraft/class_20$class_21;
      named getType Lnet/minecraft/item/map/MapIcon;getType()Lnet/minecraft/item/map/MapIcon$Type;
    • getX

      public byte getX()
      Mappings:
      Namespace Name Mixin selector
      official c Ldur;c()B
      intermediary method_90 Lnet/minecraft/class_20;method_90()B
      named getX Lnet/minecraft/item/map/MapIcon;getX()B
    • getZ

      public byte getZ()
      Mappings:
      Namespace Name Mixin selector
      official d Ldur;d()B
      intermediary method_91 Lnet/minecraft/class_20;method_91()B
      named getZ Lnet/minecraft/item/map/MapIcon;getZ()B
    • getRotation

      public byte getRotation()
      Mappings:
      Namespace Name Mixin selector
      official e Ldur;e()B
      intermediary method_89 Lnet/minecraft/class_20;method_89()B
      named getRotation Lnet/minecraft/item/map/MapIcon;getRotation()B
    • isAlwaysRendered

      public boolean isAlwaysRendered()
      Mappings:
      Namespace Name Mixin selector
      official f Ldur;f()Z
      intermediary method_94 Lnet/minecraft/class_20;method_94()Z
      named isAlwaysRendered Lnet/minecraft/item/map/MapIcon;isAlwaysRendered()Z
    • getText

      @Nullable public @Nullable Text getText()
      Mappings:
      Namespace Name Mixin selector
      official g Ldur;g()Lss;
      intermediary method_88 Lnet/minecraft/class_20;method_88()Lnet/minecraft/class_2561;
      named getText Lnet/minecraft/item/map/MapIcon;getText()Lnet/minecraft/text/Text;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Ldur;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_20;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/item/map/MapIcon;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object