Package net.minecraft

Record Class class_6916.class_6934

java.lang.Object
java.lang.Record
net.minecraft.class_6916.class_6934
Record Components:
noiseData -
offsetNoise -
All Implemented Interfaces:
class_6916.class_6939, NoiseType, NoiseType.class_6913
Enclosing class:
class_6916

private static record class_6916.class_6934(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseData, @Nullable DoublePerlinNoiseSampler offsetNoise) extends Record implements class_6916.class_6939
Mappings:
Namespace Name
official ctp$r
intermediary net/minecraft/class_6916$class_6934
named net/minecraft/class_6916$class_6934
official a
intermediary comp_471
named noiseData
official e
intermediary comp_395
named offsetNoise
  • Field Details

  • Constructor Details

  • Method Details

    • sample

      public double sample(NoiseType.NoisePos pos)
      Specified by:
      sample in interface NoiseType
      Mappings:
      Namespace Name Mixin selector
      official a Lcto;a(Lcto$b;)D
      intermediary method_40464 Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)D
      named sample Lnet/minecraft/world/gen/noise/NoiseType;sample(Lnet/minecraft/world/gen/noise/NoiseType$NoisePos;)D
    • method_41086

      public class_6916.class_6939 method_41086(DoublePerlinNoiseSampler doublePerlinNoiseSampler)
      Specified by:
      method_41086 in interface class_6916.class_6939
      Mappings:
      Namespace Name Mixin selector
      official a Lctp$u;a(Ldib;)Lctp$u;
      intermediary method_41086 Lnet/minecraft/class_6916$class_6939;method_41086(Lnet/minecraft/class_5216;)Lnet/minecraft/class_6916$class_6939;
      named method_41086 Lnet/minecraft/class_6916$class_6939;method_41086(Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;)Lnet/minecraft/class_6916$class_6939;
    • method_41062

      public com.mojang.serialization.Codec<? extends NoiseType> method_41062()
      Specified by:
      method_41062 in interface NoiseType
      Mappings:
      Namespace Name Mixin selector
      official c Lcto;c()Lcom/mojang/serialization/Codec;
      intermediary method_41062 Lnet/minecraft/class_6910;method_41062()Lcom/mojang/serialization/Codec;
      named method_41062 Lnet/minecraft/world/gen/noise/NoiseType;method_41062()Lcom/mojang/serialization/Codec;
    • 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.
    • noiseData

      Specified by:
      noiseData in interface class_6916.class_6939
      Mappings:
      Namespace Name Mixin selector
      official j Lctp$u;j()Lgr;
      intermediary comp_471 Lnet/minecraft/class_6916$class_6939;comp_471()Lnet/minecraft/class_6880;
      named noiseData Lnet/minecraft/class_6916$class_6939;noiseData()Lnet/minecraft/util/registry/RegistryEntry;
    • offsetNoise

      Specified by:
      offsetNoise in interface class_6916.class_6939
      Mappings:
      Namespace Name Mixin selector
      official k Lctp$u;k()Ldib;
      intermediary comp_395 Lnet/minecraft/class_6916$class_6939;comp_395()Lnet/minecraft/class_5216;
      named offsetNoise Lnet/minecraft/class_6916$class_6939;offsetNoise()Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;