Class SimplexNoise

java.lang.Object
net.minecraft.world.level.levelgen.synth.SimplexNoise

public class SimplexNoise extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static double
     
    private static double
     
    protected static int[][]
     
    private int[]
     
    private static double
     
    double
     
    double
     
    double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SimplexNoise​(RandomSource p_164399_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static double
    dot​(int[] p_75480_, double p_75481_, double p_75482_, double p_75483_)
     
    private double
    getCornerNoise3D​(int p_75474_, double p_75475_, double p_75476_, double p_75477_, double p_75478_)
     
    double
    getValue​(double p_75465_, double p_75466_)
     
    double
    getValue​(double p_75468_, double p_75469_, double p_75470_)
     
    private int
    p​(int p_75472_)
     

    Methods inherited from class java.lang.Object

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

    • GRADIENT

      protected static final int[][] GRADIENT
    • SQRT_3

      private static final double SQRT_3
    • F2

      private static final double F2
    • G2

      private static final double G2
    • p

      private final int[] p
    • xo

      public final double xo
    • yo

      public final double yo
    • zo

      public final double zo
  • Constructor Details

    • SimplexNoise

      public SimplexNoise(RandomSource p_164399_)
  • Method Details

    • p

      private int p(int p_75472_)
    • dot

      protected static double dot(int[] p_75480_, double p_75481_, double p_75482_, double p_75483_)
    • getCornerNoise3D

      private double getCornerNoise3D(int p_75474_, double p_75475_, double p_75476_, double p_75477_, double p_75478_)
    • getValue

      public double getValue(double p_75465_, double p_75466_)
    • getValue

      public double getValue(double p_75468_, double p_75469_, double p_75470_)