Contents
Record Class Zone.UniqueCandidate
java.lang.Object
java.lang.Record
com.hypixel.hytale.server.worldgen.zone.Zone.UniqueCandidate
- Record Components:
zone- The unique entry defining the prefab.positions- The candidate positions for placing the unique prefab.
- Enclosing class:
Zone
public static record Zone.UniqueCandidate(@Nonnull Zone.UniqueEntry zone, @Nonnull org.joml.Vector2i[] positions)
extends Record
A candidate position for placing a unique prefab.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUniqueCandidate(Zone.UniqueEntry zone, org.joml.Vector2i[] positions) Creates an instance of aUniqueCandidaterecord class. -
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.org.joml.Vector2i[]Returns the value of thepositionsrecord component.final StringtoString()Returns a string representation of this record class.zone()Returns the value of thezonerecord component.
-
Field Details
-
EMPTY_ARRAY
-
-
Constructor Details
-
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). -
zone
-
positions
-