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$Term
intermediary net/minecraft/class_818$class_10807
official gto$a
named value
intermediary comp_3761
official a
named negated
intermediary comp_3762
official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
negated()
Returns the value of thenegated
record component.toString()
Returns a string representation of this record class.value()
Returns the value of thevalue
record component.
-
Field Details
-
value
The field for thevalue
record component. -
negated
private final boolean negatedThe field for thenegated
record component. -
NEGATED_PREFIX
- See Also:
- Mappings:
Namespace Name Mixin selector named NEGATED_PREFIX
Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Term;NEGATED_PREFIX:Ljava/lang/String;
intermediary field_56945
Lnet/minecraft/class_818$class_10807;field_56945:Ljava/lang/String;
official c
Lgto$a;c:Ljava/lang/String;
-
-
Constructor Details
-
Method Details
-
parse
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Term;parse(Ljava/lang/String;)Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Term;
intermediary method_67963
Lnet/minecraft/class_818$class_10807;method_67963(Ljava/lang/String;)Lnet/minecraft/class_818$class_10807;
official a
Lgto$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 thevalue
record component.- Returns:
- the value of the
value
record component
-
negated
public boolean negated()Returns the value of thenegated
record component.- Returns:
- the value of the
negated
record component
-