mirror of https://github.com/FabricMC/yarn.git
168 lines
5.9 KiB
Plaintext
168 lines
5.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
|
|
FIELD field_25019 LOGGER Lorg/slf4j/Logger;
|
|
FIELD field_31831 MAX_SCALE I
|
|
FIELD field_31832 SIZE I
|
|
FIELD field_31833 SIZE_HALF I
|
|
FIELD field_33991 MAX_ICONS I
|
|
FIELD field_33992 iconCount I
|
|
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 (Lnet/minecraft/class_9209;Lnet/minecraft/class_1657;)Lnet/minecraft/class_2596;
|
|
ARG 1 mapId
|
|
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 locked
|
|
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 ()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.
|
|
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_7225$class_7874;)Lnet/minecraft/class_22;
|
|
ARG 0 nbt
|
|
ARG 1 registryLookup
|
|
METHOD method_32372 hasMonumentIcon ()Z
|
|
METHOD method_32373 getIcons ()Ljava/lang/Iterable;
|
|
METHOD method_32374 markIconsDirty ()V
|
|
METHOD method_35503 getBanners ()Ljava/util/Collection;
|
|
METHOD method_37343 iconCountNotLessThan (I)Z
|
|
ARG 1 iconCount
|
|
METHOD method_52611 getPersistentStateType ()Lnet/minecraft/class_18$class_8645;
|
|
METHOD method_55784 getEqualPredicate (Lnet/minecraft/class_1799;)Ljava/util/function/Predicate;
|
|
ARG 0 stack
|
|
METHOD method_55785 (Lnet/minecraft/class_1799;Lnet/minecraft/class_9209;Lnet/minecraft/class_1799;)Z
|
|
ARG 2 other
|
|
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 (Lnet/minecraft/class_9209;)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 comp_2316 startX I
|
|
FIELD comp_2317 startZ I
|
|
FIELD comp_2318 width I
|
|
FIELD comp_2319 height I
|
|
FIELD comp_2320 colors [B
|
|
FIELD field_48925 CODEC Lnet/minecraft/class_9139;
|
|
METHOD <init> (IIII[B)V
|
|
ARG 1 startX
|
|
ARG 2 startZ
|
|
ARG 3 width
|
|
ARG 4 height
|
|
ARG 5 colors
|
|
METHOD comp_2316 startX ()I
|
|
METHOD comp_2317 startZ ()I
|
|
METHOD comp_2318 width ()I
|
|
METHOD comp_2319 height ()I
|
|
METHOD comp_2320 colors ()[B
|
|
METHOD method_32380 setColorsTo (Lnet/minecraft/class_22;)V
|
|
ARG 1 mapState
|
|
METHOD method_56816 decode (Lio/netty/buffer/ByteBuf;)Ljava/util/Optional;
|
|
ARG 0 buf
|
|
METHOD method_56817 encode (Lio/netty/buffer/ByteBuf;Ljava/util/Optional;)V
|
|
ARG 0 buf
|
|
ARG 1 updateData
|