Package net.minecraft
Record Class class_6686.class_6709
java.lang.Object
java.lang.Record
net.minecraft.class_6686.class_6709
- Record Components:
rules-
- All Implemented Interfaces:
class_6686.class_6715
- Enclosing class:
- class_6686
private static record class_6686.class_6709(List<class_6686.class_6715> rules)
extends Record
implements class_6686.class_6715
- Mappings:
Namespace Name official csv$ointermediary net/minecraft/class_6686$class_6709named net/minecraft/class_6686$class_6709official aintermediary comp_208named rules
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_6686.class_6715>The field for therulesrecord component. -
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.rules()Returns the value of therulesrecord component.final StringtoString()Returns a string representation of this record class.tryApply(int int2, int int3, int int4)
-
Field Details
-
rules
The field for therulesrecord component.
-
-
Constructor Details
-
class_6709
class_6709(List<class_6686.class_6715> list)
-
-
Method Details
-
tryApply
- Specified by:
tryApplyin interfaceclass_6686.class_6715
-
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). -
rules
Returns the value of therulesrecord component.- Returns:
- the value of the
rulesrecord component
-