Record Class MultiNoiseUtil.MultiNoiseSampler
java.lang.Object
java.lang.Record
net.minecraft.world.biome.source.util.MultiNoiseUtil.MultiNoiseSampler
- Record Components:
- temperature-
- humidity-
- continentalness-
- erosion-
- depth-
- weirdness-
- spawnTarget-
- Enclosing class:
- MultiNoiseUtil
public static record MultiNoiseUtil.MultiNoiseSampler(DensityFunction temperature, DensityFunction humidity, DensityFunction continentalness, DensityFunction erosion, DensityFunction depth, DensityFunction weirdness, List<MultiNoiseUtil.NoiseHypercube> spawnTarget)
extends Record
- Mappings:
- Namespace - Name - official - cic$f- intermediary - net/minecraft/class_6544$class_6552- named - net/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler- official - a- intermediary - comp_364- named - temperature- official - b- intermediary - comp_365- named - humidity- official - c- intermediary - comp_366- named - continentalness- official - d- intermediary - comp_367- named - erosion- official - e- intermediary - comp_368- named - depth- official - f- intermediary - comp_369- named - weirdness- official - g- intermediary - comp_370- named - spawnTarget
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final DensityFunctionThe field for thecontinentalnessrecord component.private final DensityFunctionThe field for thedepthrecord component.private final DensityFunctionThe field for theerosionrecord component.private final DensityFunctionThe field for thehumidityrecord component.private final List<MultiNoiseUtil.NoiseHypercube>The field for thespawnTargetrecord component.private final DensityFunctionThe field for thetemperaturerecord component.private final DensityFunctionThe field for theweirdnessrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionMultiNoiseSampler(DensityFunction densityFunction, DensityFunction densityFunction2, DensityFunction densityFunction3, DensityFunction densityFunction4, DensityFunction densityFunction5, DensityFunction densityFunction6, List<MultiNoiseUtil.NoiseHypercube> list) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thecontinentalnessrecord 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.final inthashCode()Returns a hash code value for this object.humidity()Returns the value of thehumidityrecord component.sample(int x, int y, int z) Returns the value of thespawnTargetrecord component.Returns the value of thetemperaturerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theweirdnessrecord component.
- 
Field Details- 
temperatureThe field for thetemperaturerecord component.
- 
humidityThe field for thehumidityrecord component.
- 
continentalnessThe field for thecontinentalnessrecord component.
- 
erosionThe field for theerosionrecord component.
- 
depthThe field for thedepthrecord component.
- 
weirdnessThe field for theweirdnessrecord component.
- 
spawnTargetThe field for thespawnTargetrecord component.
 
- 
- 
Constructor Details- 
MultiNoiseSamplerpublic MultiNoiseSampler(DensityFunction densityFunction, DensityFunction densityFunction2, DensityFunction densityFunction3, DensityFunction densityFunction4, DensityFunction densityFunction5, DensityFunction densityFunction6, List<MultiNoiseUtil.NoiseHypercube> list) 
 
- 
- 
Method Details- 
sample- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcic$f;a(III)Lcic$h;- intermediary - method_40444- Lnet/minecraft/class_6544$class_6552;method_40444(III)Lnet/minecraft/class_6544$class_6553;- named - sample- Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;sample(III)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;
 
- 
findBestSpawnPosition- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcic$f;a()Lgt;- intermediary - method_39165- Lnet/minecraft/class_6544$class_6552;method_39165()Lnet/minecraft/class_2338;- named - findBestSpawnPosition- Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;findBestSpawnPosition()Lnet/minecraft/util/math/BlockPos;
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates 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).
- 
temperatureReturns the value of thetemperaturerecord component.- Returns:
- the value of the temperaturerecord component
 
- 
humidityReturns the value of thehumidityrecord component.- Returns:
- the value of the humidityrecord component
 
- 
continentalnessReturns the value of thecontinentalnessrecord component.- Returns:
- the value of the continentalnessrecord component
 
- 
erosionReturns the value of theerosionrecord component.- Returns:
- the value of the erosionrecord component
 
- 
depthReturns the value of thedepthrecord component.- Returns:
- the value of the depthrecord component
 
- 
weirdnessReturns the value of theweirdnessrecord component.- Returns:
- the value of the weirdnessrecord component
 
- 
spawnTargetReturns the value of thespawnTargetrecord component.- Returns:
- the value of the spawnTargetrecord component
 
 
-