Record Class GenerationDescriptor.Noise
java.lang.Object
java.lang.Record
fr.fidorial.world.generation.GenerationDescriptor.Noise
- All Implemented Interfaces:
GenerationDescriptor
- Enclosing interface:
GenerationDescriptor
public static record GenerationDescriptor.Noise(Key settings, Key biomeSourcePreset)
extends Record
implements GenerationDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface GenerationDescriptor
GenerationDescriptor.Flat, GenerationDescriptor.Noise, GenerationDescriptor.Unknown -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebiomeSourcePresetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.settings()Returns the value of thesettingsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Noise
-
-
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). -
settings
Returns the value of thesettingsrecord component.- Returns:
- the value of the
settingsrecord component
-
biomeSourcePreset
Returns the value of thebiomeSourcePresetrecord component.- Returns:
- the value of the
biomeSourcePresetrecord component
-