Record Class NoiseRouter.Slots
java.lang.Object
java.lang.Record
dev.wyck.wrapper.level.noise.NoiseRouter.Slots
- Enclosing interface:
NoiseRouter
@NullUnmarked
@AsOf("2.4.0")
public static record NoiseRouter.Slots(DensityFunction barrier, DensityFunction fluidLevelFloodedness, DensityFunction fluidLevelSpread, DensityFunction lava, DensityFunction temperature, DensityFunction vegetation, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction preliminarySurfaceLevel, DensityFunction finalDensity, DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap)
extends Record
The density-function slots backing this router.
- Since:
- 2.4.0
-
Constructor Summary
ConstructorsConstructorDescriptionSlots(DensityFunction barrier, DensityFunction fluidLevelFloodedness, DensityFunction fluidLevelSpread, DensityFunction lava, DensityFunction temperature, DensityFunction vegetation, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction preliminarySurfaceLevel, DensityFunction finalDensity, DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap) Creates an instance of aSlotsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbarrier()Returns the value of thebarrierrecord 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.Returns the value of thefinalDensityrecord component.Returns the value of thefluidLevelFloodednessrecord component.Returns the value of thefluidLevelSpreadrecord component.final inthashCode()Returns a hash code value for this object.lava()Returns the value of thelavarecord component.Returns the value of thepreliminarySurfaceLevelrecord component.ridges()Returns the value of theridgesrecord component.Returns the value of thetemperaturerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevegetationrecord component.veinGap()Returns the value of theveinGaprecord component.Returns the value of theveinRidgedrecord component.Returns the value of theveinTogglerecord component.
-
Constructor Details
-
Slots
public Slots(DensityFunction barrier, DensityFunction fluidLevelFloodedness, DensityFunction fluidLevelSpread, DensityFunction lava, DensityFunction temperature, DensityFunction vegetation, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction preliminarySurfaceLevel, DensityFunction finalDensity, DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap) Creates an instance of aSlotsrecord class.- Parameters:
barrier- the value for thebarrierrecord componentfluidLevelFloodedness- the value for thefluidLevelFloodednessrecord componentfluidLevelSpread- the value for thefluidLevelSpreadrecord componentlava- the value for thelavarecord componenttemperature- the value for thetemperaturerecord componentvegetation- the value for thevegetationrecord componentcontinents- the value for thecontinentsrecord componenterosion- the value for theerosionrecord componentdepth- the value for thedepthrecord componentridges- the value for theridgesrecord componentpreliminarySurfaceLevel- the value for thepreliminarySurfaceLevelrecord componentfinalDensity- the value for thefinalDensityrecord componentveinToggle- the value for theveinTogglerecord componentveinRidged- the value for theveinRidgedrecord componentveinGap- the value for theveinGaprecord 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). -
barrier
Returns the value of thebarrierrecord component.- Returns:
- the value of the
barrierrecord component
-
fluidLevelFloodedness
Returns the value of thefluidLevelFloodednessrecord component.- Returns:
- the value of the
fluidLevelFloodednessrecord component
-
fluidLevelSpread
Returns the value of thefluidLevelSpreadrecord component.- Returns:
- the value of the
fluidLevelSpreadrecord component
-
lava
Returns the value of thelavarecord component.- Returns:
- the value of the
lavarecord component
-
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
-
depth
Returns the value of thedepthrecord component.- Returns:
- the value of the
depthrecord component
-
ridges
Returns the value of theridgesrecord component.- Returns:
- the value of the
ridgesrecord component
-
preliminarySurfaceLevel
Returns the value of thepreliminarySurfaceLevelrecord component.- Returns:
- the value of the
preliminarySurfaceLevelrecord component
-
finalDensity
Returns the value of thefinalDensityrecord component.- Returns:
- the value of the
finalDensityrecord component
-
veinToggle
Returns the value of theveinTogglerecord component.- Returns:
- the value of the
veinTogglerecord component
-
veinRidged
Returns the value of theveinRidgedrecord component.- Returns:
- the value of the
veinRidgedrecord component
-
veinGap
Returns the value of theveinGaprecord component.- Returns:
- the value of the
veinGaprecord component
-