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 ddh$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 Details

  • Constructor Details

  • Method Details

    • sample

      public MultiNoiseUtil.NoiseValuePoint sample(int x, int y, int z)
      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 Lddh$f;a(III)Lddh$h;
    • findBestSpawnPosition

      public BlockPos 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 Lddh$f;a()Liz;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • temperature

      public DensityFunction temperature()
      Returns the value of the temperature record component.
      Returns:
      the value of the temperature record component
    • humidity

      public DensityFunction humidity()
      Returns the value of the humidity record component.
      Returns:
      the value of the humidity record component
    • continentalness

      public DensityFunction continentalness()
      Returns the value of the continentalness record component.
      Returns:
      the value of the continentalness record component
    • erosion

      public DensityFunction erosion()
      Returns the value of the erosion record component.
      Returns:
      the value of the erosion record component
    • depth

      public DensityFunction depth()
      Returns the value of the depth record component.
      Returns:
      the value of the depth record component
    • weirdness

      public DensityFunction weirdness()
      Returns the value of the weirdness record component.
      Returns:
      the value of the weirdness record component
    • spawnTarget

      public List<MultiNoiseUtil.NoiseHypercube> spawnTarget()
      Returns the value of the spawnTarget record component.
      Returns:
      the value of the spawnTarget record component