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 cux$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 Summary
Modifier and TypeFieldDescriptionprivate final DensityFunction
The field for thecontinentalness
record component.private final DensityFunction
The field for thedepth
record component.private final DensityFunction
The field for theerosion
record component.private final DensityFunction
The field for thehumidity
record component.private final List<MultiNoiseUtil.NoiseHypercube>
The field for thespawnTarget
record component.private final DensityFunction
The field for thetemperature
record component.private final DensityFunction
The field for theweirdness
record component. -
Constructor Summary
ConstructorDescriptionMultiNoiseSampler
(DensityFunction densityFunction, DensityFunction densityFunction2, DensityFunction densityFunction3, DensityFunction densityFunction4, DensityFunction densityFunction5, DensityFunction densityFunction6, List<MultiNoiseUtil.NoiseHypercube> list) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontinentalness
record component.depth()
Returns the value of thedepth
record component.final boolean
Indicates whether some other object is "equal to" this one.erosion()
Returns the value of theerosion
record component.final int
hashCode()
Returns a hash code value for this object.humidity()
Returns the value of thehumidity
record component.sample
(int x, int y, int z) Returns the value of thespawnTarget
record component.Returns the value of thetemperature
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theweirdness
record component.
-
Field Details
-
temperature
The field for thetemperature
record component. -
humidity
The field for thehumidity
record component. -
continentalness
The field for thecontinentalness
record component. -
erosion
The field for theerosion
record component. -
depth
The field for thedepth
record component. -
weirdness
The field for theweirdness
record component. -
spawnTarget
The field for thespawnTarget
record component.
-
-
Constructor Details
-
MultiNoiseSampler
public 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
Lcux$f;a(III)Lcux$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
Lcux$f;a()Lhx;
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;
-
toString
Returns 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. -
hashCode
public 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. -
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 thetemperature
record component.- Returns:
- the value of the
temperature
record component
-
humidity
Returns the value of thehumidity
record component.- Returns:
- the value of the
humidity
record component
-
continentalness
Returns the value of thecontinentalness
record component.- Returns:
- the value of the
continentalness
record component
-
erosion
Returns the value of theerosion
record component.- Returns:
- the value of the
erosion
record component
-
depth
Returns the value of thedepth
record component.- Returns:
- the value of the
depth
record component
-
weirdness
Returns the value of theweirdness
record component.- Returns:
- the value of the
weirdness
record component
-
spawnTarget
Returns the value of thespawnTarget
record component.- Returns:
- the value of the
spawnTarget
record component
-