Package net.minecraft.text
Record Class ParsedSelector
java.lang.Object
java.lang.Record
net.minecraft.text.ParsedSelector
- Record Components:
comp_3067
-comp_3068
-
- Mappings:
Namespace Name named net/minecraft/text/ParsedSelector
intermediary net/minecraft/class_10104
official hn
named comp_3067
intermediary comp_3067
official b
named comp_3068
intermediary comp_3068
official c
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ParsedSelector> private final String
The field for thecomp_3067
record component.private final EntitySelector
The field for thecomp_3068
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomp_3067
record component.Returns the value of thecomp_3068
record component.boolean
Indicates whether some other object is "equal to" this one.int
hashCode()
Returns a hash code value for this object.static com.mojang.serialization.DataResult
<ParsedSelector> toString()
Returns a string representation of this record class.
-
Field Details
-
comp_3067
The field for thecomp_3067
record component. -
comp_3068
The field for thecomp_3068
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/text/ParsedSelector;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_53684
Lnet/minecraft/class_10104;field_53684:Lcom/mojang/serialization/Codec;
official a
Lhn;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
ParsedSelector
-
-
Method Details
-
parse
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/text/ParsedSelector;parse(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
intermediary method_62667
Lnet/minecraft/class_10104;method_62667(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
official a
Lhn;a(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
comp_3067
Returns the value of thecomp_3067
record component.- Returns:
- the value of the
comp_3067
record component
-
comp_3068
Returns the value of thecomp_3068
record component.- Returns:
- the value of the
comp_3068
record component
-