Package net.minecraft
Record Class class_6686.class_6705
java.lang.Object
java.lang.Record
net.minecraft.class_6686.class_6705
- Record Components:
blockX-blockZ-
- Enclosing class:
- class_6686
- Mappings:
Namespace Name official csv$kintermediary net/minecraft/class_6686$class_6705named net/minecraft/class_6686$class_6705official aintermediary comp_204named blockXofficial bintermediary comp_205named blockZ
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintblockX()Returns the value of theblockXrecord component.intblockZ()Returns the value of theblockZrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_6705
class_6705(int int2, int int3)
-
-
Method Details
-
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 with '=='. -
blockX
public int blockX()Returns the value of theblockXrecord component.- Returns:
- the value of the
blockXrecord component
-
blockZ
public int blockZ()Returns the value of theblockZrecord component.- Returns:
- the value of the
blockZrecord component
-