yarn/mappings/net/minecraft/item/map/MapState.mapping

145 lines
4.9 KiB
Plaintext

CLASS net/minecraft/class_22 net/minecraft/item/map/MapState
FIELD field_112 updateTrackers Ljava/util/List;
FIELD field_113 unlimitedTracking Z
FIELD field_114 showIcons Z
FIELD field_115 centerZ I
COMMENT The scaled center coordinate of the map state on the Z axis.
COMMENT <p>
COMMENT Always {@code 0} for the client.
FIELD field_116 centerX I
COMMENT The scaled center coordinate of the map state on the X axis.
COMMENT <p>
COMMENT Always {@code 0} for the client.
FIELD field_117 icons Ljava/util/Map;
FIELD field_118 dimension Lnet/minecraft/class_5321;
FIELD field_119 scale B
FIELD field_120 updateTrackersByPlayer Ljava/util/Map;
FIELD field_121 frames Ljava/util/Map;
FIELD field_122 colors [B
FIELD field_123 banners Ljava/util/Map;
COMMENT The banner markers to track in world.
COMMENT <p>
COMMENT Empty for the client.
FIELD field_17403 locked Z
METHOD <init> (IIBZZZLnet/minecraft/class_5321;)V
ARG 1 centerX
ARG 2 centerZ
ARG 3 scale
ARG 4 showIcons
ARG 5 unlimitedTracking
ARG 6 locked
ARG 7 dimension
METHOD method_100 getPlayerMarkerPacket (ILnet/minecraft/class_1657;)Lnet/minecraft/class_2596;
ARG 1 id
ARG 2 player
METHOD method_101 getPlayerSyncData (Lnet/minecraft/class_1657;)Lnet/minecraft/class_22$class_23;
ARG 1 player
METHOD method_102 update (Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
ARG 1 player
ARG 2 stack
METHOD method_103 markDirty (II)V
ARG 1 x
ARG 2 z
METHOD method_104 removeFrame (Lnet/minecraft/class_2338;I)V
ARG 1 pos
ARG 2 id
METHOD method_107 addIcon (Lnet/minecraft/class_20$class_21;Lnet/minecraft/class_1936;Ljava/lang/String;DDDLnet/minecraft/class_2561;)V
ARG 1 type
ARG 2 world
ARG 3 key
ARG 4 x
ARG 6 z
ARG 8 rotation
ARG 10 text
METHOD method_108 addBanner (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
ARG 1 world
ARG 2 pos
METHOD method_109 removeBanner (Lnet/minecraft/class_1922;II)V
ARG 1 world
ARG 2 x
ARG 3 z
METHOD method_110 addDecorationsNbt (Lnet/minecraft/class_1799;Lnet/minecraft/class_2338;Ljava/lang/String;Lnet/minecraft/class_20$class_21;)V
ARG 0 stack
ARG 1 pos
ARG 2 id
ARG 3 type
METHOD method_32361 copy ()Lnet/minecraft/class_22;
METHOD method_32362 of (BZLnet/minecraft/class_5321;)Lnet/minecraft/class_22;
COMMENT Creates a new map state instance for the client.
COMMENT <p>
COMMENT The client is not aware of the coordinates of the map state so its center coordinates will always be {@code (0, 0)}.
ARG 0 scale
ARG 1 showIcons
ARG 2 dimension
METHOD method_32363 of (DDBZZLnet/minecraft/class_5321;)Lnet/minecraft/class_22;
COMMENT Creates a new map state instance.
ARG 0 centerX
COMMENT the absolute center X-coordinate
ARG 2 centerZ
COMMENT the absolute center Z-coordinate
ARG 4 scale
ARG 5 showIcons
ARG 6 unlimitedTracking
ARG 7 dimension
METHOD method_32364 zoomOut (I)Lnet/minecraft/class_22;
COMMENT Creates a new map state which is a zoomed out version of the current one.
COMMENT <p>
COMMENT The scale of the new map state is {@code currentScale + zoomOutScale} and clamped between {@code 0} and {@code 4}.
COMMENT <p>
COMMENT The colors are not copied, neither are the icons.
ARG 1 zoomOutScale
COMMENT the amount to add to the scale of the map
METHOD method_32365 putColor (IIB)Z
COMMENT Sets the color at the specified coordinates if the current color is different.
COMMENT
COMMENT @return {@code true} if the color has been updated, else {@code false}
ARG 1 x
ARG 2 z
ARG 3 color
METHOD method_32368 removeIcon (Ljava/lang/String;)V
ARG 1 id
METHOD method_32369 replaceIcons (Ljava/util/List;)V
ARG 1 icons
METHOD method_32370 setColor (IIB)V
ARG 1 x
ARG 2 z
ARG 3 color
METHOD method_32371 fromNbt (Lnet/minecraft/class_2487;)Lnet/minecraft/class_22;
ARG 0 nbt
METHOD method_32372 hasMonumentIcon ()Z
METHOD method_32373 getIcons ()Ljava/lang/Iterable;
METHOD method_32374 markIconsDirty ()V
METHOD method_35503 getBanners ()Ljava/util/Collection;
CLASS class_23 PlayerUpdateTracker
FIELD field_124 emptyPacketsRequested I
FIELD field_125 player Lnet/minecraft/class_1657;
FIELD field_126 endZ I
FIELD field_127 endX I
FIELD field_128 startZ I
FIELD field_129 startX I
FIELD field_130 dirty Z
FIELD field_27891 iconsDirty Z
METHOD <init> (Lnet/minecraft/class_22;Lnet/minecraft/class_1657;)V
ARG 2 player
METHOD method_111 markDirty (II)V
ARG 1 startX
ARG 2 startZ
METHOD method_112 getPacket (I)Lnet/minecraft/class_2596;
ARG 1 mapId
METHOD method_32375 getMapUpdateData ()Lnet/minecraft/class_22$class_5637;
METHOD method_32379 markIconsDirty ()V
CLASS class_5637 UpdateData
FIELD field_27892 startX I
FIELD field_27893 startZ I
FIELD field_27894 width I
FIELD field_27895 height I
FIELD field_27896 colors [B
METHOD <init> (IIII[B)V
ARG 1 startX
ARG 2 startZ
ARG 3 width
ARG 4 height
ARG 5 colors
METHOD method_32380 setColorsTo (Lnet/minecraft/class_22;)V
ARG 1 mapState