Package net.minecraft
Record Class class_6686.class_6688
java.lang.Object
java.lang.Record
net.minecraft.class_6686.class_6688
- Record Components:
blockY-stoneDepthAbove-stoneDepthBelow-runDepth-waterHeight-
- Enclosing class:
- class_6686
private static record class_6686.class_6688(int blockY, int stoneDepthAbove, int stoneDepthBelow, int runDepth, int waterHeight)
extends Record
- Mappings:
Namespace Name official csv$aaintermediary net/minecraft/class_6686$class_6688named net/minecraft/class_6686$class_6688official aintermediary comp_185named blockYofficial bintermediary comp_186named stoneDepthAboveofficial cintermediary comp_187named stoneDepthBelowofficial dintermediary comp_188named runDepthofficial eintermediary comp_189named waterHeight
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for theblockYrecord component.private final intThe field for therunDepthrecord component.private final intThe field for thestoneDepthAboverecord component.private final intThe field for thestoneDepthBelowrecord component.private final intThe field for thewaterHeightrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintblockY()Returns the value of theblockYrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intrunDepth()Returns the value of therunDepthrecord component.intReturns the value of thestoneDepthAboverecord component.intReturns the value of thestoneDepthBelowrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thewaterHeightrecord component.
-
Field Details
-
blockY
private final int blockYThe field for theblockYrecord component. -
stoneDepthAbove
private final int stoneDepthAboveThe field for thestoneDepthAboverecord component. -
stoneDepthBelow
private final int stoneDepthBelowThe field for thestoneDepthBelowrecord component. -
runDepth
private final int runDepthThe field for therunDepthrecord component. -
waterHeight
private final int waterHeightThe field for thewaterHeightrecord component.
-
-
Constructor Details
-
class_6688
class_6688(int int2, int int3, int int4, int int5, int int6)
-
-
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 '=='. -
blockY
public int blockY()Returns the value of theblockYrecord component.- Returns:
- the value of the
blockYrecord component
-
stoneDepthAbove
public int stoneDepthAbove()Returns the value of thestoneDepthAboverecord component.- Returns:
- the value of the
stoneDepthAboverecord component
-
stoneDepthBelow
public int stoneDepthBelow()Returns the value of thestoneDepthBelowrecord component.- Returns:
- the value of the
stoneDepthBelowrecord component
-
runDepth
public int runDepth()Returns the value of therunDepthrecord component.- Returns:
- the value of the
runDepthrecord component
-
waterHeight
public int waterHeight()Returns the value of thewaterHeightrecord component.- Returns:
- the value of the
waterHeightrecord component
-