Class PerlinNoiseSampler

java.lang.Object
net.minecraft.util.math.noise.PerlinNoiseSampler

public final class PerlinNoiseSampler extends Object
Mappings:
Namespace Name
named net/minecraft/util/math/noise/PerlinNoiseSampler
intermediary net/minecraft/class_3756
official esx
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final float
     
    final double
     
    final double
     
    final double
     
    private final byte[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    private static double
    grad(int hash, double x, double y, double z)
     
    private int
    map(int input)
     
    double
    sample(double x, double y, double z)
     
    double
    sample(double x, double y, double z, double yScale, double yMax)
    Deprecated.
    private double
    sample(int sectionX, int sectionY, int sectionZ, double localX, double localY, double localZ, double fadeLocalY)
     
    double
    sampleDerivative(double x, double y, double z, double[] double2)
     
    private double
    sampleDerivative(int sectionX, int sectionY, int sectionZ, double localX, double localY, double localZ, double[] double2)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • field_31701

      private static final float field_31701
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31701 Lnet/minecraft/util/math/noise/PerlinNoiseSampler;field_31701:F
      intermediary field_31701 Lnet/minecraft/class_3756;field_31701:F
      official d Lesx;d:F
    • permutation

      private final byte[] permutation
      Mappings:
      Namespace Name Mixin selector
      named permutation Lnet/minecraft/util/math/noise/PerlinNoiseSampler;permutation:[B
      intermediary field_16590 Lnet/minecraft/class_3756;field_16590:[B
      official e Lesx;e:[B
    • originX

      public final double originX
      Mappings:
      Namespace Name Mixin selector
      named originX Lnet/minecraft/util/math/noise/PerlinNoiseSampler;originX:D
      intermediary field_16591 Lnet/minecraft/class_3756;field_16591:D
      official a Lesx;a:D
    • originY

      public final double originY
      Mappings:
      Namespace Name Mixin selector
      named originY Lnet/minecraft/util/math/noise/PerlinNoiseSampler;originY:D
      intermediary field_16589 Lnet/minecraft/class_3756;field_16589:D
      official b Lesx;b:D
    • originZ

      public final double originZ
      Mappings:
      Namespace Name Mixin selector
      named originZ Lnet/minecraft/util/math/noise/PerlinNoiseSampler;originZ:D
      intermediary field_16588 Lnet/minecraft/class_3756;field_16588:D
      official c Lesx;c:D
  • Constructor Details

    • PerlinNoiseSampler

      public PerlinNoiseSampler(Random random)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/math/noise/PerlinNoiseSampler;<init>(Lnet/minecraft/util/math/random/Random;)V
      intermediary <init> Lnet/minecraft/class_3756;<init>(Lnet/minecraft/class_5819;)V
      official <init> Lesx;<init>(Lbam;)V
  • Method Details

    • sample

      public double sample(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named sample Lnet/minecraft/util/math/noise/PerlinNoiseSampler;sample(DDD)D
      intermediary method_33658 Lnet/minecraft/class_3756;method_33658(DDD)D
      official a Lesx;a(DDD)D
    • sample

      @Deprecated public double sample(double x, double y, double z, double yScale, double yMax)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named sample Lnet/minecraft/util/math/noise/PerlinNoiseSampler;sample(DDDDD)D
      intermediary method_16447 Lnet/minecraft/class_3756;method_16447(DDDDD)D
      official a Lesx;a(DDDDD)D
    • sampleDerivative

      public double sampleDerivative(double x, double y, double z, double[] double2)
      Mappings:
      Namespace Name Mixin selector
      named sampleDerivative Lnet/minecraft/util/math/noise/PerlinNoiseSampler;sampleDerivative(DDD[D)D
      intermediary method_35477 Lnet/minecraft/class_3756;method_35477(DDD[D)D
      official a Lesx;a(DDD[D)D
    • grad

      private static double grad(int hash, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named grad Lnet/minecraft/util/math/noise/PerlinNoiseSampler;grad(IDDD)D
      intermediary method_16448 Lnet/minecraft/class_3756;method_16448(IDDD)D
      official a Lesx;a(IDDD)D
    • map

      private int map(int input)
      Mappings:
      Namespace Name Mixin selector
      named map Lnet/minecraft/util/math/noise/PerlinNoiseSampler;map(I)I
      intermediary method_16449 Lnet/minecraft/class_3756;method_16449(I)I
      official a Lesx;a(I)I
    • sample

      private double sample(int sectionX, int sectionY, int sectionZ, double localX, double localY, double localZ, double fadeLocalY)
      Mappings:
      Namespace Name Mixin selector
      named sample Lnet/minecraft/util/math/noise/PerlinNoiseSampler;sample(IIIDDDD)D
      intermediary method_16450 Lnet/minecraft/class_3756;method_16450(IIIDDDD)D
      official a Lesx;a(IIIDDDD)D
    • sampleDerivative

      private double sampleDerivative(int sectionX, int sectionY, int sectionZ, double localX, double localY, double localZ, double[] double2)
      Mappings:
      Namespace Name Mixin selector
      named sampleDerivative Lnet/minecraft/util/math/noise/PerlinNoiseSampler;sampleDerivative(IIIDDD[D)D
      intermediary method_35478 Lnet/minecraft/class_3756;method_35478(IIIDDD[D)D
      official a Lesx;a(IIIDDD[D)D
    • addDebugInfo

      public void addDebugInfo(StringBuilder info)
      Mappings:
      Namespace Name Mixin selector
      named addDebugInfo Lnet/minecraft/util/math/noise/PerlinNoiseSampler;addDebugInfo(Ljava/lang/StringBuilder;)V
      intermediary method_39118 Lnet/minecraft/class_3756;method_39118(Ljava/lang/StringBuilder;)V
      official a Lesx;a(Ljava/lang/StringBuilder;)V