Package net.minecraft
Record Class class_6686.class_6706
java.lang.Object
java.lang.Record
net.minecraft.class_6686.class_6706
- Record Components:
target-
- All Implemented Interfaces:
class_6686.class_6692
- Enclosing class:
- class_6686
private static record class_6686.class_6706(class_6686.class_6692 target)
extends Record
implements class_6686.class_6692
- Mappings:
Namespace Name official csv$lintermediary net/minecraft/class_6686$class_6706named net/minecraft/class_6686$class_6706official aintermediary comp_206named target
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_6686.class_6692The field for thetargetrecord 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.booleantarget()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
target
The field for thetargetrecord component.
-
-
Constructor Details
-
class_6706
class_6706(class_6686.class_6692 class_6692)
-
-
Method Details
-
method_39069
public boolean method_39069()- Specified by:
method_39069in interfaceclass_6686.class_6692- Mappings:
Namespace Name Mixin selector official aLcsv$d;a()Zintermediary method_39069Lnet/minecraft/class_6686$class_6692;method_39069()Znamed method_39069Lnet/minecraft/class_6686$class_6692;method_39069()Z
-
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). -
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-