Record Class StructuresLocateEvent.Result
java.lang.Object
java.lang.Record
io.papermc.paper.event.world.StructuresLocateEvent.Result
- Enclosing class:
StructuresLocateEvent
Result for
StructuresLocateEvent.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pos()Returns the value of theposrecord component.position()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thestructurerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
-
-
Method Details
-
position
Deprecated, for removal: This API element is subject to removal in a future version. -
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
-
structure
Returns the value of thestructurerecord component.- Returns:
- the value of the
structurerecord component
-