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 named net/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler
intermediary net/minecraft/class_6544$class_6552
official dis$f
named temperature
intermediary comp_364
official a
named humidity
intermediary comp_365
official b
named continentalness
intermediary comp_366
official c
named erosion
intermediary comp_367
official d
named depth
intermediary comp_368
official e
named weirdness
intermediary comp_369
official f
named spawnTarget
intermediary comp_370
official g
-
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 named sample
Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;sample(III)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;
intermediary method_40444
Lnet/minecraft/class_6544$class_6552;method_40444(III)Lnet/minecraft/class_6544$class_6553;
official a
Ldis$f;a(III)Ldis$h;
-
findBestSpawnPosition
- Mappings:
Namespace Name Mixin selector named findBestSpawnPosition
Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;findBestSpawnPosition()Lnet/minecraft/util/math/BlockPos;
intermediary method_39165
Lnet/minecraft/class_6544$class_6552;method_39165()Lnet/minecraft/class_2338;
official a
Ldis$f;a()Ljh;
-
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
-