Contents
Record Class WorldGenConfig
java.lang.Object
java.lang.Record
com.hypixel.hytale.server.worldgen.WorldGenConfig
-
Constructor Summary
ConstructorsConstructorDescriptionWorldGenConfig(Path path, String name, Semver version) Creates an instance of aWorldGenConfigrecord 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.name()Returns the value of thenamerecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.withOverride(Path path)
-
Constructor Details
-
WorldGenConfig
Creates an instance of aWorldGenConfigrecord class.- Parameters:
path- the value for thepathrecord componentname- the value for thenamerecord componentversion- the value for theversionrecord component
-
-
Method Details
-
withOverride
-
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). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-