Record Class SimpleMultipartModelSelector.Term
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.SimpleMultipartModelSelector.Term
- Record Components:
value-negated-
- Enclosing class:
SimpleMultipartModelSelector
@Environment(CLIENT)
public static record SimpleMultipartModelSelector.Term(String value, boolean negated)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/json/SimpleMultipartModelSelector$Termintermediary net/minecraft/class_818$class_10807official gto$anamed valueintermediary comp_3761official anamed negatedintermediary comp_3762official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleannegated()Returns the value of thenegatedrecord component.toString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Field Details
-
value
The field for thevaluerecord component. -
negated
private final boolean negatedThe field for thenegatedrecord component. -
NEGATED_PREFIX
- See Also:
- Mappings:
Namespace Name Mixin selector named NEGATED_PREFIXLnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Term;NEGATED_PREFIX:Ljava/lang/String;intermediary field_56945Lnet/minecraft/class_818$class_10807;field_56945:Ljava/lang/String;official cLgto$a;c:Ljava/lang/String;
-
-
Constructor Details
-
Method Details
-
parse
- Mappings:
Namespace Name Mixin selector named parseLnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Term;parse(Ljava/lang/String;)Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Term;intermediary method_67963Lnet/minecraft/class_818$class_10807;method_67963(Ljava/lang/String;)Lnet/minecraft/class_818$class_10807;official aLgto$a;a(Ljava/lang/String;)Lgto$a;
-
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. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
negated
public boolean negated()Returns the value of thenegatedrecord component.- Returns:
- the value of the
negatedrecord component
-