Contents
Record Class WorldGenMembershipView.BiomeCollection
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.worldgen.assets.WorldGenMembershipView.BiomeCollection
- Enclosing interface:
WorldGenMembershipView
public static record WorldGenMembershipView.BiomeCollection(List<WorldGenMembershipView.BiomeOccurrence> tile, List<WorldGenMembershipView.BiomeOccurrence> custom)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBiomeCollection(List<WorldGenMembershipView.BiomeOccurrence> tile, List<WorldGenMembershipView.BiomeOccurrence> custom) Creates an instance of aBiomeCollectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncustom()Returns the value of thecustomrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ordered()tile()Returns the value of thetilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BiomeCollection
public BiomeCollection(List<WorldGenMembershipView.BiomeOccurrence> tile, List<WorldGenMembershipView.BiomeOccurrence> custom) Creates an instance of aBiomeCollectionrecord class.- Parameters:
tile- the value for thetilerecord componentcustom- the value for thecustomrecord component
-
-
Method Details
-
ordered
-
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). -
tile
Returns the value of thetilerecord component.- Returns:
- the value of the
tilerecord component
-
custom
Returns the value of thecustomrecord component.- Returns:
- the value of the
customrecord component
-