Package net.minecraft
Record Class class_11587.class_11588
java.lang.Object
java.lang.Record
net.minecraft.class_11587.class_11588
- Record Components:
pos-
- All Implemented Interfaces:
class_11587.class_11589
- Enclosing interface:
class_11587
public static record class_11587.class_11588(BlockPos pos)
extends Record
implements class_11587.class_11589
- Mappings:
Namespace Name named net/minecraft/class_11587$class_11588intermediary net/minecraft/class_11587$class_11588official dyi$anamed posintermediary comp_4437official a
-
Field Summary
Fields -
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.booleanbooleanmethod_72631(class_11598 class_11598) pos()Returns the value of theposrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_11587.class_11589
method_72632, method_72633, method_72634, method_72635
-
Field Details
-
pos
The field for theposrecord component.
-
-
Constructor Details
-
class_11588
-
-
Method Details
-
method_72630
public boolean method_72630()- Specified by:
method_72630in interfaceclass_11587.class_11589- Mappings:
Namespace Name Mixin selector named method_72630Lnet/minecraft/class_11587$class_11589;method_72630()Zintermediary method_72630Lnet/minecraft/class_11587$class_11589;method_72630()Zofficial aLdyi$b;a()Z
-
method_72631
- Specified by:
method_72631in interfaceclass_11587.class_11589- Mappings:
Namespace Name Mixin selector named method_72631Lnet/minecraft/class_11587$class_11589;method_72631(Lnet/minecraft/class_11598;)Zintermediary method_72631Lnet/minecraft/class_11587$class_11589;method_72631(Lnet/minecraft/class_11598;)Zofficial aLdyi$b;a(Lego;)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). -
pos
Returns the value of theposrecord component.- Specified by:
posin interfaceclass_11587.class_11589- Returns:
- the value of the
posrecord component
-