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

  • Constructor Details

  • Method Details

    • sample

      public MultiNoiseUtil.NoiseValuePoint sample(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lclc$f;a(III)Lclc$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

      public BlockPos findBestSpawnPosition()
      Mappings:
      Namespace Name Mixin selector
      official a Lclc$f;a()Lgp;
      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

      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