Package net.minecraft
Record Class class_6686.class_6717
java.lang.Object
java.lang.Record
net.minecraft.class_6686.class_6717
- Record Components:
condition-followup-
- All Implemented Interfaces:
class_6686.class_6715
- Enclosing class:
- class_6686
private static record class_6686.class_6717(class_6686.class_6692 condition, class_6686.class_6715 followup)
extends Record
implements class_6686.class_6715
- Mappings:
Namespace Name official csv$vintermediary net/minecraft/class_6686$class_6717named net/minecraft/class_6686$class_6717official aintermediary comp_213named conditionofficial bintermediary comp_214named followup
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_6686.class_6692The field for theconditionrecord component.private final class_6686.class_6715The field for thefollowuprecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_6717(class_6686.class_6692 class_6692, class_6686.class_6715 class_6715) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconditionrecord component.final booleanIndicates whether some other object is "equal to" this one.followup()Returns the value of thefollowuprecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.tryApply(int int2, int int3, int int4)
-
Field Details
-
Constructor Details
-
class_6717
class_6717(class_6686.class_6692 class_6692, class_6686.class_6715 class_6715)
-
-
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). -
condition
Returns the value of theconditionrecord component.- Returns:
- the value of the
conditionrecord component
-
followup
Returns the value of thefollowuprecord component.- Returns:
- the value of the
followuprecord component
-