Package net.minecraft
Record Class class_6686.class_6694.class_6696.class_6697
java.lang.Object
java.lang.Record
net.minecraft.class_6686.class_6694.class_6696.class_6697
- Record Components:
chunk-blockX-blockZ-
- Enclosing class:
- class_6686.class_6694.class_6696
private static record class_6686.class_6694.class_6696.class_6697(Chunk chunk, int blockX, int blockZ)
extends Record
- Mappings:
Namespace Name official csv$f$b$aintermediary net/minecraft/class_6686$class_6694$class_6696$class_6697named net/minecraft/class_6686$class_6694$class_6696$class_6697official aintermediary comp_193named chunkofficial bintermediary comp_194named blockXofficial cintermediary comp_195named 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.chunk()Returns the value of thechunkrecord 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_6697
class_6697(Chunk chunk, 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
chunk
Returns the value of thechunkrecord component.- Returns:
- the value of the
chunkrecord component
-
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
-