yarn/mappings/net/minecraft/state/property/Property.mapping

50 lines
2.3 KiB
Plaintext

CLASS net/minecraft/class_2769 net/minecraft/state/property/Property
FIELD field_24742 type Ljava/lang/Class;
FIELD field_24743 name Ljava/lang/String;
COMMENT The name of this property.
COMMENT
COMMENT <p>Note that the name is required to match the {@linkplain
COMMENT net.minecraft.state.StateManager#VALID_NAME_PATTERN valid name pattern}.
COMMENT Otherwise, {@link IllegalArgumentException} will be thrown during the
COMMENT {@linkplain net.minecraft.state.StateManager.Builder#validate(Property)
COMMENT validation of a property}.
FIELD field_24744 hashCodeCache Ljava/lang/Integer;
FIELD field_24745 codec Lcom/mojang/serialization/Codec;
FIELD field_25670 valueCodec Lcom/mojang/serialization/Codec;
METHOD <init> (Ljava/lang/String;Ljava/lang/Class;)V
ARG 1 name
ARG 2 type
METHOD equals (Ljava/lang/Object;)Z
ARG 1 o
METHOD method_11799 computeHashCode ()I
METHOD method_11898 getValues ()Ljava/util/Collection;
COMMENT Returns all possible values of this property.
METHOD method_11899 getName ()Ljava/lang/String;
COMMENT Returns the name of this property.
METHOD method_11900 parse (Ljava/lang/String;)Ljava/util/Optional;
ARG 1 name
METHOD method_11901 name (Ljava/lang/Comparable;)Ljava/lang/String;
COMMENT Returns the name of the given value of this property.
ARG 1 value
METHOD method_11902 getType ()Ljava/lang/Class;
COMMENT Returns the type of the values of this property.
METHOD method_28504 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
ARG 1 value
METHOD method_30041 createValue (Lnet/minecraft/class_2688;)Lnet/minecraft/class_2769$class_4933;
ARG 1 state
METHOD method_30042 createValue (Ljava/lang/Comparable;)Lnet/minecraft/class_2769$class_4933;
ARG 1 value
METHOD method_30043 stream ()Ljava/util/stream/Stream;
METHOD method_30044 getValueCodec ()Lcom/mojang/serialization/Codec;
METHOD method_35308 getCodec ()Lcom/mojang/serialization/Codec;
CLASS class_4933 Value
FIELD field_22879 property Lnet/minecraft/class_2769;
FIELD field_22880 value Ljava/lang/Comparable;
METHOD <init> (Lnet/minecraft/class_2769;Ljava/lang/Comparable;)V
ARG 1 property
ARG 2 value
METHOD equals (Ljava/lang/Object;)Z
ARG 1 o
METHOD method_25815 getProperty ()Lnet/minecraft/class_2769;
METHOD method_30045 getValue ()Ljava/lang/Comparable;