yarn/mappings/net/minecraft/nbt/NbtHelper.mapping

74 lines
3.4 KiB
Plaintext

CLASS net/minecraft/class_2512 net/minecraft/nbt/NbtHelper
FIELD field_11582 LOGGER Lorg/apache/logging/log4j/Logger;
FIELD field_27818 COMMA_SPLITTER Lcom/google/common/base/Splitter;
METHOD method_10681 toBlockState (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2680;
ARG 0 compound
METHOD method_10682 withProperty (Lnet/minecraft/class_2688;Lnet/minecraft/class_2769;Ljava/lang/String;Lnet/minecraft/class_2487;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2688;
ARG 0 state
ARG 1 property
ARG 2 key
ARG 3 properties
ARG 4 root
METHOD method_10683 toGameProfile (Lnet/minecraft/class_2487;)Lcom/mojang/authlib/GameProfile;
ARG 0 compound
METHOD method_10684 writeGameProfile (Lnet/minecraft/class_2487;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_2487;
ARG 0 compound
ARG 1 profile
METHOD method_10685 nameValue (Lnet/minecraft/class_2769;Ljava/lang/Comparable;)Ljava/lang/String;
ARG 0 property
ARG 1 value
METHOD method_10686 fromBlockState (Lnet/minecraft/class_2680;)Lnet/minecraft/class_2487;
ARG 0 state
METHOD method_10687 matches (Lnet/minecraft/class_2520;Lnet/minecraft/class_2520;Z)Z
ARG 0 standard
ARG 1 subject
ARG 2 equalValue
METHOD method_10688 update (Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_4284;Lnet/minecraft/class_2487;I)Lnet/minecraft/class_2487;
COMMENT Uses the data fixer to update an NBT compound object to the latest data version.
ARG 0 fixer
COMMENT the data fixer
ARG 1 fixTypes
COMMENT the fix types
ARG 2 compound
COMMENT the NBT compound object to fix
ARG 3 oldVersion
COMMENT the data version of the NBT compound object
METHOD method_10691 toBlockPos (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2338;
ARG 0 compound
METHOD method_10692 fromBlockPos (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;
ARG 0 pos
METHOD method_10693 update (Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_4284;Lnet/minecraft/class_2487;II)Lnet/minecraft/class_2487;
COMMENT Uses the data fixer to update an NBT compound object.
ARG 0 fixer
COMMENT the data fixer
ARG 1 fixTypes
COMMENT the fix types
ARG 2 compound
COMMENT the NBT compound object to fix
ARG 3 oldVersion
COMMENT the data version of the NBT compound object
ARG 4 targetVersion
COMMENT the data version to update the NBT compound object to
METHOD method_25929 fromUuid (Ljava/util/UUID;)Lnet/minecraft/class_2495;
COMMENT Serializes a {@link UUID} into its equivalent NBT representation.
COMMENT
COMMENT @since 20w10a
ARG 0 uuid
METHOD method_25930 toUuid (Lnet/minecraft/class_2520;)Ljava/util/UUID;
COMMENT Deserializes an NBT element into a {@link UUID}.
COMMENT The NBT element's data must have the same structure as the output of {@link #fromUuid}.
COMMENT
COMMENT @throws IllegalArgumentException if {@code element} is not a valid representation of a UUID
COMMENT @since 20w10a
ARG 0 element
METHOD method_32270 toPrettyPrintedText (Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;
ARG 0 element
METHOD method_32271 toPrettyPrintedString (Lnet/minecraft/class_2487;)Ljava/lang/String;
ARG 0 compound
METHOD method_32273 (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
ARG 0 compound
METHOD method_32275 (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
ARG 0 compound
METHOD method_32277 (Lnet/minecraft/class_2487;)Ljava/lang/String;
ARG 0 compound