Class MapIcon

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

public class MapIcon
extends Object
Mappings:
Namespace Name
official ddi
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 Lddi;a:Lddi$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 Lddi;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 Lddi;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 Lddi;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 Text text
      Mappings:
      Namespace Name Mixin selector
      official e Lddi;e:Loi;
      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 Text text)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddi;<init>(Lddi$a;BBBLoi;)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

      @Environment(CLIENT) public byte getTypeId()
      Mappings:
      Namespace Name Mixin selector
      official a Lddi;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 Lddi;b()Lddi$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 Lddi;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 Lddi;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 Lddi;e()B
      intermediary method_89 Lnet/minecraft/class_20;method_89()B
      named getRotation Lnet/minecraft/item/map/MapIcon;getRotation()B
    • isAlwaysRendered

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

      @Nullable public Text getText()
      Mappings:
      Namespace Name Mixin selector
      official g Lddi;g()Loi;
      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 Lddi;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
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lddi;hashCode()I
      intermediary hashCode Lnet/minecraft/class_20;hashCode()I
      named hashCode Lnet/minecraft/item/map/MapIcon;hashCode()I