Contents
Record Class WorldGenMembershipView.BiomeOccurrence
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.worldgen.assets.WorldGenMembershipView.BiomeOccurrence
- Enclosing interface:
WorldGenMembershipView
public static record WorldGenMembershipView.BiomeOccurrence(String zoneKey, String biomeKey, WorldGenBiomeAsset biome, boolean pinned, @Nullable Integer convertedOrder, int membershipRank)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBiomeOccurrence(String zoneKey, String biomeKey, WorldGenBiomeAsset biome, boolean pinned, Integer convertedOrder, int membershipRank) Creates an instance of aBiomeOccurrencerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbiome()Returns the value of thebiomerecord component.biomeKey()Returns the value of thebiomeKeyrecord component.Returns the value of theconvertedOrderrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()intReturns the value of themembershipRankrecord component.booleanpinned()Returns the value of thepinnedrecord component.final StringtoString()Returns a string representation of this record class.zoneKey()Returns the value of thezoneKeyrecord component.
-
Constructor Details
-
BiomeOccurrence
public BiomeOccurrence(String zoneKey, String biomeKey, WorldGenBiomeAsset biome, boolean pinned, @Nullable Integer convertedOrder, int membershipRank) Creates an instance of aBiomeOccurrencerecord class.- Parameters:
zoneKey- the value for thezoneKeyrecord componentbiomeKey- the value for thebiomeKeyrecord componentbiome- the value for thebiomerecord componentpinned- the value for thepinnedrecord componentconvertedOrder- the value for theconvertedOrderrecord componentmembershipRank- the value for themembershipRankrecord component
-
-
Method Details
-
key
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
zoneKey
Returns the value of thezoneKeyrecord component.- Returns:
- the value of the
zoneKeyrecord component
-
biomeKey
Returns the value of thebiomeKeyrecord component.- Returns:
- the value of the
biomeKeyrecord component
-
biome
Returns the value of thebiomerecord component.- Returns:
- the value of the
biomerecord component
-
pinned
public boolean pinned()Returns the value of thepinnedrecord component.- Returns:
- the value of the
pinnedrecord component
-
convertedOrder
Returns the value of theconvertedOrderrecord component.- Returns:
- the value of the
convertedOrderrecord component
-
membershipRank
public int membershipRank()Returns the value of themembershipRankrecord component.- Returns:
- the value of the
membershipRankrecord component
-