Package net.minecraft
Record Class class_10806
java.lang.Object
java.lang.Record
net.minecraft.class_10806
- Record Components:
operation-terms-
- All Implemented Interfaces:
MultipartModelSelector
@Environment(CLIENT)
public record class_10806(class_10806.LogicalOperator operation, List<MultipartModelSelector> terms)
extends Record
implements MultipartModelSelector
- Mappings:
Namespace Name named net/minecraft/class_10806intermediary net/minecraft/class_10806official gsknamed operationintermediary comp_3758official bnamed termsintermediary comp_3759official c
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_10806.LogicalOperatorThe field for theoperationrecord component.private final List<MultipartModelSelector> The field for thetermsrecord component.Fields inherited from interface net.minecraft.client.render.model.json.MultipartModelSelector
field_56942 -
Constructor Summary
ConstructorsConstructorDescriptionclass_10806(class_10806.LogicalOperator logicalOperator, List<MultipartModelSelector> list) -
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.instantiate(StateManager<O, S> stateManager) Returns the value of theoperationrecord component.terms()Returns the value of thetermsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_10806
-
-
Method Details
-
instantiate
- Specified by:
instantiatein interfaceMultipartModelSelector
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
terms
Returns the value of thetermsrecord component.- Returns:
- the value of the
termsrecord component
-