Record Class OverworldFunctionSet<T>
java.lang.Object
java.lang.Record
net.minecraft.world.level.levelgen.OverworldFunctionSet<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TThe field for thechunkSurfaceLevelrecord component.private final TThe field for thecontinentsrecord component.private final TThe field for thedepthrecord component.private final TThe field for theerosionrecord component.private final TThe field for thefactorrecord component.private final TThe field for thefinalDensityrecord component.private final TThe field for thejaggednessrecord component.private final TThe field for theoffsetrecord component.private final TThe field for thepreliminarySurfaceLevelrecord component.private final TThe field for theslopedCheeserecord component.private final TThe field for thetemperaturerecord component.private final TThe field for thevegetationrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechunkSurfaceLevelrecord component.Returns the value of thecontinentsrecord component.depth()Returns the value of thedepthrecord component.final booleanIndicates whether some other object is "equal to" this one.erosion()Returns the value of theerosionrecord component.factor()Returns the value of thefactorrecord component.Returns the value of thefinalDensityrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thejaggednessrecord component.<U> OverworldFunctionSet<U> offset()Returns the value of theoffsetrecord component.Returns the value of thepreliminarySurfaceLevelrecord component.Returns the value of theslopedCheeserecord component.Returns the value of thetemperaturerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevegetationrecord component.
-
Field Details
-
temperature
The field for thetemperaturerecord component. -
vegetation
The field for thevegetationrecord component. -
continents
The field for thecontinentsrecord component. -
erosion
The field for theerosionrecord component. -
offset
The field for theoffsetrecord component. -
factor
The field for thefactorrecord component. -
jaggedness
The field for thejaggednessrecord component. -
depth
The field for thedepthrecord component. -
slopedCheese
The field for theslopedCheeserecord component. -
preliminarySurfaceLevel
The field for thepreliminarySurfaceLevelrecord component. -
chunkSurfaceLevel
The field for thechunkSurfaceLevelrecord component. -
finalDensity
The field for thefinalDensityrecord component.
-
-
Constructor Details
-
OverworldFunctionSet
public OverworldFunctionSet(T temperature, T vegetation, T continents, T erosion, T offset, T factor, T jaggedness, T depth, T slopedCheese, T preliminarySurfaceLevel, T chunkSurfaceLevel, T finalDensity) Creates an instance of aOverworldFunctionSetrecord class.- Parameters:
temperature- the value for thetemperaturerecord componentvegetation- the value for thevegetationrecord componentcontinents- the value for thecontinentsrecord componenterosion- the value for theerosionrecord componentoffset- the value for theoffsetrecord componentfactor- the value for thefactorrecord componentjaggedness- the value for thejaggednessrecord componentdepth- the value for thedepthrecord componentslopedCheese- the value for theslopedCheeserecord componentpreliminarySurfaceLevel- the value for thepreliminarySurfaceLevelrecord componentchunkSurfaceLevel- the value for thechunkSurfaceLevelrecord componentfinalDensity- the value for thefinalDensityrecord component
-
-
Method Details
-
map
-
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). -
temperature
Returns the value of thetemperaturerecord component.- Returns:
- the value of the
temperaturerecord component
-
vegetation
Returns the value of thevegetationrecord component.- Returns:
- the value of the
vegetationrecord component
-
continents
Returns the value of thecontinentsrecord component.- Returns:
- the value of the
continentsrecord component
-
erosion
Returns the value of theerosionrecord component.- Returns:
- the value of the
erosionrecord component
-
offset
Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
factor
Returns the value of thefactorrecord component.- Returns:
- the value of the
factorrecord component
-
jaggedness
Returns the value of thejaggednessrecord component.- Returns:
- the value of the
jaggednessrecord component
-
depth
Returns the value of thedepthrecord component.- Returns:
- the value of the
depthrecord component
-
slopedCheese
Returns the value of theslopedCheeserecord component.- Returns:
- the value of the
slopedCheeserecord component
-
preliminarySurfaceLevel
Returns the value of thepreliminarySurfaceLevelrecord component.- Returns:
- the value of the
preliminarySurfaceLevelrecord component
-
chunkSurfaceLevel
Returns the value of thechunkSurfaceLevelrecord component.- Returns:
- the value of the
chunkSurfaceLevelrecord component
-
finalDensity
Returns the value of thefinalDensityrecord component.- Returns:
- the value of the
finalDensityrecord component
-