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/ParsedSelectorintermediary net/minecraft/class_10104official hcnamed comp_3067intermediary comp_3067official bnamed comp_3068intermediary comp_3068official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ParsedSelector> private final StringThe field for thecomp_3067record component.private final EntitySelectorThe field for thecomp_3068record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomp_3067record component.Returns the value of thecomp_3068record component.booleanIndicates whether some other object is "equal to" this one.inthashCode()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_3067record component. -
comp_3068
The field for thecomp_3068record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/text/ParsedSelector;CODEC:Lcom/mojang/serialization/Codec;intermediary field_53684Lnet/minecraft/class_10104;field_53684:Lcom/mojang/serialization/Codec;official aLhc;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
ParsedSelector
-
-
Method Details
-
parse
- Mappings:
Namespace Name Mixin selector named parseLnet/minecraft/text/ParsedSelector;parse(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;intermediary method_62667Lnet/minecraft/class_10104;method_62667(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;official aLhc;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_3067record component.- Returns:
- the value of the
comp_3067record component
-
comp_3068
Returns the value of thecomp_3068record component.- Returns:
- the value of the
comp_3068record component
-