Record Class MultifaceSpreader.SpreadPos
java.lang.Object
java.lang.Record
net.minecraft.world.level.block.MultifaceSpreader.SpreadPos
- Enclosing class:
MultifaceSpreader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.face()Returns the value of thefacerecord component.final inthashCode()Returns a hash code value for this object.pos()Returns the value of theposrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pos
The field for theposrecord component. -
face
The field for thefacerecord component.
-
-
Constructor Details
-
SpreadPos
-
-
Method Details
-
toString
-
hashCode
-
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.- Returns:
- the value of the
posrecord component
-
face
Returns the value of thefacerecord component.- Returns:
- the value of the
facerecord component
-