Class MapState

java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.item.map.MapState

public class MapState
extends PersistentState
Mappings:
Namespace Name
official dcr
intermediary net/minecraft/class_22
named net/minecraft/item/map/MapState
  • Field Details

    • field_25019

      private static final Logger field_25019
      Mappings:
      Namespace Name Mixin selector
      official g Ldcr;g:Lorg/apache/logging/log4j/Logger;
      intermediary field_25019 Lnet/minecraft/class_22;field_25019:Lorg/apache/logging/log4j/Logger;
      named field_25019 Lnet/minecraft/item/map/MapState;field_25019:Lorg/apache/logging/log4j/Logger;
    • xCenter

      public final int xCenter
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a:I
      intermediary field_116 Lnet/minecraft/class_22;field_116:I
      named xCenter Lnet/minecraft/item/map/MapState;xCenter:I
    • zCenter

      public final int zCenter
      Mappings:
      Namespace Name Mixin selector
      official b Ldcr;b:I
      intermediary field_115 Lnet/minecraft/class_22;field_115:I
      named zCenter Lnet/minecraft/item/map/MapState;zCenter:I
    • dimension

      public final RegistryKey<World> dimension
      Mappings:
      Namespace Name Mixin selector
      official c Ldcr;c:Lwa;
      intermediary field_118 Lnet/minecraft/class_22;field_118:Lnet/minecraft/class_5321;
      named dimension Lnet/minecraft/item/map/MapState;dimension:Lnet/minecraft/util/registry/RegistryKey;
    • showIcons

      private final boolean showIcons
      Mappings:
      Namespace Name Mixin selector
      official h Ldcr;h:Z
      intermediary field_114 Lnet/minecraft/class_22;field_114:Z
      named showIcons Lnet/minecraft/item/map/MapState;showIcons:Z
    • unlimitedTracking

      private final boolean unlimitedTracking
      Mappings:
      Namespace Name Mixin selector
      official i Ldcr;i:Z
      intermediary field_113 Lnet/minecraft/class_22;field_113:Z
      named unlimitedTracking Lnet/minecraft/item/map/MapState;unlimitedTracking:Z
    • scale

      public final byte scale
      Mappings:
      Namespace Name Mixin selector
      official d Ldcr;d:B
      intermediary field_119 Lnet/minecraft/class_22;field_119:B
      named scale Lnet/minecraft/item/map/MapState;scale:B
    • colors

      public byte[] colors
      Mappings:
      Namespace Name Mixin selector
      official e Ldcr;e:[B
      intermediary field_122 Lnet/minecraft/class_22;field_122:[B
      named colors Lnet/minecraft/item/map/MapState;colors:[B
    • locked

      public final boolean locked
      Mappings:
      Namespace Name Mixin selector
      official f Ldcr;f:Z
      intermediary field_17403 Lnet/minecraft/class_22;field_17403:Z
      named locked Lnet/minecraft/item/map/MapState;locked:Z
    • updateTrackers

      private final List<MapState.PlayerUpdateTracker> updateTrackers
      Mappings:
      Namespace Name Mixin selector
      official j Ldcr;j:Ljava/util/List;
      intermediary field_112 Lnet/minecraft/class_22;field_112:Ljava/util/List;
      named updateTrackers Lnet/minecraft/item/map/MapState;updateTrackers:Ljava/util/List;
    • updateTrackersByPlayer

      private final Map<PlayerEntity,​MapState.PlayerUpdateTracker> updateTrackersByPlayer
      Mappings:
      Namespace Name Mixin selector
      official k Ldcr;k:Ljava/util/Map;
      intermediary field_120 Lnet/minecraft/class_22;field_120:Ljava/util/Map;
      named updateTrackersByPlayer Lnet/minecraft/item/map/MapState;updateTrackersByPlayer:Ljava/util/Map;
    • banners

      private final Map<String,​MapBannerMarker> banners
      Mappings:
      Namespace Name Mixin selector
      official l Ldcr;l:Ljava/util/Map;
      intermediary field_123 Lnet/minecraft/class_22;field_123:Ljava/util/Map;
      named banners Lnet/minecraft/item/map/MapState;banners:Ljava/util/Map;
    • icons

      private final Map<String,​MapIcon> icons
      Mappings:
      Namespace Name Mixin selector
      official m Ldcr;m:Ljava/util/Map;
      intermediary field_117 Lnet/minecraft/class_22;field_117:Ljava/util/Map;
      named icons Lnet/minecraft/item/map/MapState;icons:Ljava/util/Map;
    • frames

      private final Map<String,​MapFrameMarker> frames
      Mappings:
      Namespace Name Mixin selector
      official n Ldcr;n:Ljava/util/Map;
      intermediary field_121 Lnet/minecraft/class_22;field_121:Ljava/util/Map;
      named frames Lnet/minecraft/item/map/MapState;frames:Ljava/util/Map;
  • Constructor Details

    • MapState

      private MapState​(int xCenter, int zCenter, byte scale, boolean showIcons, boolean unlimitedTracking, boolean locked, RegistryKey<World> dimension)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldcr;<init>(IIBZZZLwa;)V
      intermediary <init> Lnet/minecraft/class_22;<init>(IIBZZZLnet/minecraft/class_5321;)V
      named <init> Lnet/minecraft/item/map/MapState;<init>(IIBZZZLnet/minecraft/util/registry/RegistryKey;)V
  • Method Details

    • method_32363

      public static MapState method_32363​(double double2, double double3, byte byte2, boolean bool, boolean bool2, RegistryKey<World> registryKey)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(DDBZZLwa;)Ldcr;
      intermediary method_32363 Lnet/minecraft/class_22;method_32363(DDBZZLnet/minecraft/class_5321;)Lnet/minecraft/class_22;
      named method_32363 Lnet/minecraft/item/map/MapState;method_32363(DDBZZLnet/minecraft/util/registry/RegistryKey;)Lnet/minecraft/item/map/MapState;
    • method_32362

      @Environment(CLIENT) public static MapState method_32362​(byte byte2, boolean bool, RegistryKey<World> registryKey)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(BZLwa;)Ldcr;
      intermediary method_32362 Lnet/minecraft/class_22;method_32362(BZLnet/minecraft/class_5321;)Lnet/minecraft/class_22;
      named method_32362 Lnet/minecraft/item/map/MapState;method_32362(BZLnet/minecraft/util/registry/RegistryKey;)Lnet/minecraft/item/map/MapState;
    • method_32371

      public static MapState method_32371​(CompoundTag compoundTag)
      Mappings:
      Namespace Name Mixin selector
      official b Ldcr;b(Lmq;)Ldcr;
      intermediary method_32371 Lnet/minecraft/class_22;method_32371(Lnet/minecraft/class_2487;)Lnet/minecraft/class_22;
      named method_32371 Lnet/minecraft/item/map/MapState;method_32371(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/item/map/MapState;
    • toTag

      public CompoundTag toTag​(CompoundTag tag)
      Specified by:
      toTag in class PersistentState
      Mappings:
      Namespace Name Mixin selector
      official a Ldcm;a(Lmq;)Lmq;
      intermediary method_75 Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named toTag Lnet/minecraft/world/PersistentState;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
    • method_32361

      public MapState method_32361()
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a()Ldcr;
      intermediary method_32361 Lnet/minecraft/class_22;method_32361()Lnet/minecraft/class_22;
      named method_32361 Lnet/minecraft/item/map/MapState;method_32361()Lnet/minecraft/item/map/MapState;
    • method_32364

      public MapState method_32364​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(I)Ldcr;
      intermediary method_32364 Lnet/minecraft/class_22;method_32364(I)Lnet/minecraft/class_22;
      named method_32364 Lnet/minecraft/item/map/MapState;method_32364(I)Lnet/minecraft/item/map/MapState;
    • update

      public void update​(PlayerEntity player, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Lbhk;Lbnu;)V
      intermediary method_102 Lnet/minecraft/class_22;method_102(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
      named update Lnet/minecraft/item/map/MapState;update(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
    • method_32368

      private void method_32368​(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Ljava/lang/String;)V
      intermediary method_32368 Lnet/minecraft/class_22;method_32368(Ljava/lang/String;)V
      named method_32368 Lnet/minecraft/item/map/MapState;method_32368(Ljava/lang/String;)V
    • addDecorationsTag

      public static void addDecorationsTag​(ItemStack stack, BlockPos pos, String id, MapIcon.Type type)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Lbnu;Lfx;Ljava/lang/String;Ldco$a;)V
      intermediary method_110 Lnet/minecraft/class_22;method_110(Lnet/minecraft/class_1799;Lnet/minecraft/class_2338;Ljava/lang/String;Lnet/minecraft/class_20$class_21;)V
      named addDecorationsTag Lnet/minecraft/item/map/MapState;addDecorationsTag(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/BlockPos;Ljava/lang/String;Lnet/minecraft/item/map/MapIcon$Type;)V
    • addIcon

      private void addIcon​(MapIcon.Type type, @Nullable WorldAccess world, String key, double x, double z, double rotation, @Nullable Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Ldco$a;Lbtv;Ljava/lang/String;DDDLoi;)V
      intermediary method_107 Lnet/minecraft/class_22;method_107(Lnet/minecraft/class_20$class_21;Lnet/minecraft/class_1936;Ljava/lang/String;DDDLnet/minecraft/class_2561;)V
      named addIcon Lnet/minecraft/item/map/MapState;addIcon(Lnet/minecraft/item/map/MapIcon$Type;Lnet/minecraft/world/WorldAccess;Ljava/lang/String;DDDLnet/minecraft/text/Text;)V
    • getPlayerMarkerPacket

      @Nullable public Packet<?> getPlayerMarkerPacket​(int int2, PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(ILbhk;)Lpa;
      intermediary method_100 Lnet/minecraft/class_22;method_100(ILnet/minecraft/class_1657;)Lnet/minecraft/class_2596;
      named getPlayerMarkerPacket Lnet/minecraft/item/map/MapState;getPlayerMarkerPacket(ILnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/network/Packet;
    • markDirty

      private void markDirty​(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(II)V
      intermediary method_103 Lnet/minecraft/class_22;method_103(II)V
      named markDirty Lnet/minecraft/item/map/MapState;markDirty(II)V
    • method_32374

      private void method_32374()
      Mappings:
      Namespace Name Mixin selector
      official g Ldcr;g()V
      intermediary method_32374 Lnet/minecraft/class_22;method_32374()V
      named method_32374 Lnet/minecraft/item/map/MapState;method_32374()V
    • getPlayerSyncData

      public MapState.PlayerUpdateTracker getPlayerSyncData​(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Lbhk;)Ldcr$a;
      intermediary method_101 Lnet/minecraft/class_22;method_101(Lnet/minecraft/class_1657;)Lnet/minecraft/class_22$class_23;
      named getPlayerSyncData Lnet/minecraft/item/map/MapState;getPlayerSyncData(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/map/MapState$PlayerUpdateTracker;
    • addBanner

      public void addBanner​(WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Lbtv;Lfx;)V
      intermediary method_108 Lnet/minecraft/class_22;method_108(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      named addBanner Lnet/minecraft/item/map/MapState;addBanner(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
    • removeBanner

      public void removeBanner​(BlockView world, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Lbsy;II)V
      intermediary method_109 Lnet/minecraft/class_22;method_109(Lnet/minecraft/class_1922;II)V
      named removeBanner Lnet/minecraft/item/map/MapState;removeBanner(Lnet/minecraft/world/BlockView;II)V
    • removeFrame

      public void removeFrame​(BlockPos pos, int id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Lfx;I)V
      intermediary method_104 Lnet/minecraft/class_22;method_104(Lnet/minecraft/class_2338;I)V
      named removeFrame Lnet/minecraft/item/map/MapState;removeFrame(Lnet/minecraft/util/math/BlockPos;I)V
    • method_32365

      public boolean method_32365​(int int2, int int3, byte byte2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(IIB)Z
      intermediary method_32365 Lnet/minecraft/class_22;method_32365(IIB)Z
      named method_32365 Lnet/minecraft/item/map/MapState;method_32365(IIB)Z
    • method_32370

      public void method_32370​(int int2, int int3, byte byte2)
      Mappings:
      Namespace Name Mixin selector
      official b Ldcr;b(IIB)V
      intermediary method_32370 Lnet/minecraft/class_22;method_32370(IIB)V
      named method_32370 Lnet/minecraft/item/map/MapState;method_32370(IIB)V
    • method_32372

      public boolean method_32372()
      Mappings:
      Namespace Name Mixin selector
      official e Ldcr;e()Z
      intermediary method_32372 Lnet/minecraft/class_22;method_32372()Z
      named method_32372 Lnet/minecraft/item/map/MapState;method_32372()Z
    • method_32369

      @Environment(CLIENT) public void method_32369​(MapIcon[] mapIcon)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a([Ldco;)V
      intermediary method_32369 Lnet/minecraft/class_22;method_32369([Lnet/minecraft/class_20;)V
      named method_32369 Lnet/minecraft/item/map/MapState;method_32369([Lnet/minecraft/item/map/MapIcon;)V
    • method_32373

      @Environment(CLIENT) public Iterable<MapIcon> method_32373()
      Mappings:
      Namespace Name Mixin selector
      official f Ldcr;f()Ljava/lang/Iterable;
      intermediary method_32373 Lnet/minecraft/class_22;method_32373()Ljava/lang/Iterable;
      named method_32373 Lnet/minecraft/item/map/MapState;method_32373()Ljava/lang/Iterable;