Contents
Record Class WorldGenMembershipView.LayerCollection
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.worldgen.assets.WorldGenMembershipView.LayerCollection
- Enclosing interface:
WorldGenMembershipView
public static record WorldGenMembershipView.LayerCollection(List<WorldGenMembershipView.LayerOccurrence<WorldGenLayerAsset.StaticLayerAsset>> staticLayers, List<WorldGenMembershipView.LayerOccurrence<WorldGenLayerAsset.DynamicLayerAsset>> dynamicLayers)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLayerCollection(List<WorldGenMembershipView.LayerOccurrence<WorldGenLayerAsset.StaticLayerAsset>> staticLayers, List<WorldGenMembershipView.LayerOccurrence<WorldGenLayerAsset.DynamicLayerAsset>> dynamicLayers) Creates an instance of aLayerCollectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedynamicLayersrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thestaticLayersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LayerCollection
public LayerCollection(List<WorldGenMembershipView.LayerOccurrence<WorldGenLayerAsset.StaticLayerAsset>> staticLayers, List<WorldGenMembershipView.LayerOccurrence<WorldGenLayerAsset.DynamicLayerAsset>> dynamicLayers) Creates an instance of aLayerCollectionrecord class.- Parameters:
staticLayers- the value for thestaticLayersrecord componentdynamicLayers- the value for thedynamicLayersrecord component
-
-
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). -
staticLayers
public List<WorldGenMembershipView.LayerOccurrence<WorldGenLayerAsset.StaticLayerAsset>> staticLayers()Returns the value of thestaticLayersrecord component.- Returns:
- the value of the
staticLayersrecord component
-
dynamicLayers
public List<WorldGenMembershipView.LayerOccurrence<WorldGenLayerAsset.DynamicLayerAsset>> dynamicLayers()Returns the value of thedynamicLayersrecord component.- Returns:
- the value of the
dynamicLayersrecord component
-