Package net.minecraft
Record Class class_6686.class_6694.class_6698.class_6699
java.lang.Object
java.lang.Record
net.minecraft.class_6686.class_6694.class_6698.class_6699
- Record Components:
biome-blockX-blockY-blockZ-
- Enclosing class:
- class_6686.class_6694.class_6698
private static record class_6686.class_6694.class_6698.class_6699(Biome biome, int blockX, int blockY, int blockZ)
extends Record
- Mappings:
Namespace Name official csv$f$c$aintermediary net/minecraft/class_6686$class_6694$class_6698$class_6699named net/minecraft/class_6686$class_6694$class_6698$class_6699official aintermediary comp_196named biomeofficial bintermediary comp_197named blockXofficial cintermediary comp_198named blockYofficial dintermediary comp_199named blockZ
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbiome()Returns the value of thebiomerecord component.intblockX()Returns the value of theblockXrecord component.intblockY()Returns the value of theblockYrecord 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_6699
class_6699(Biome biome, int int2, int int3, int int4)
-
-
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 '=='. -
biome
Returns the value of thebiomerecord component.- Returns:
- the value of the
biomerecord component
-
blockX
public int blockX()Returns the value of theblockXrecord component.- Returns:
- the value of the
blockXrecord component
-
blockY
public int blockY()Returns the value of theblockYrecord component.- Returns:
- the value of the
blockYrecord component
-
blockZ
public int blockZ()Returns the value of theblockZrecord component.- Returns:
- the value of the
blockZrecord component
-