Class SimplexNoiseSampler

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

public class SimplexNoiseSampler extends Object
Mappings:
Namespace Name
official dif
intermediary net/minecraft/class_3541
named net/minecraft/util/math/noise/SimplexNoiseSampler
  • Field Details

    • GRADIENTS

      protected static final int[][] GRADIENTS
      Mappings:
      Namespace Name Mixin selector
      official a Ldif;a:[[I
      intermediary field_15766 Lnet/minecraft/class_3541;field_15766:[[I
      named GRADIENTS Lnet/minecraft/util/math/noise/SimplexNoiseSampler;GRADIENTS:[[I
    • SQRT_3

      private static final double SQRT_3
      Mappings:
      Namespace Name Mixin selector
      official e Ldif;e:D
      intermediary field_15764 Lnet/minecraft/class_3541;field_15764:D
      named SQRT_3 Lnet/minecraft/util/math/noise/SimplexNoiseSampler;SQRT_3:D
    • SKEW_FACTOR_2D

      private static final double SKEW_FACTOR_2D
      Mappings:
      Namespace Name Mixin selector
      official f Ldif;f:D
      intermediary field_15768 Lnet/minecraft/class_3541;field_15768:D
      named SKEW_FACTOR_2D Lnet/minecraft/util/math/noise/SimplexNoiseSampler;SKEW_FACTOR_2D:D
    • UNSKEW_FACTOR_2D

      private static final double UNSKEW_FACTOR_2D
      Mappings:
      Namespace Name Mixin selector
      official g Ldif;g:D
      intermediary field_15767 Lnet/minecraft/class_3541;field_15767:D
      named UNSKEW_FACTOR_2D Lnet/minecraft/util/math/noise/SimplexNoiseSampler;UNSKEW_FACTOR_2D:D
    • permutations

      private final int[] permutations
      Mappings:
      Namespace Name Mixin selector
      official h Ldif;h:[I
      intermediary field_15765 Lnet/minecraft/class_3541;field_15765:[I
      named permutations Lnet/minecraft/util/math/noise/SimplexNoiseSampler;permutations:[I
    • originX

      public final double originX
      Mappings:
      Namespace Name Mixin selector
      official b Ldif;b:D
      intermediary field_15763 Lnet/minecraft/class_3541;field_15763:D
      named originX Lnet/minecraft/util/math/noise/SimplexNoiseSampler;originX:D
    • originY

      public final double originY
      Mappings:
      Namespace Name Mixin selector
      official c Ldif;c:D
      intermediary field_15762 Lnet/minecraft/class_3541;field_15762:D
      named originY Lnet/minecraft/util/math/noise/SimplexNoiseSampler;originY:D
    • originZ

      public final double originZ
      Mappings:
      Namespace Name Mixin selector
      official d Ldif;d:D
      intermediary field_15761 Lnet/minecraft/class_3541;field_15761:D
      named originZ Lnet/minecraft/util/math/noise/SimplexNoiseSampler;originZ:D
  • Constructor Details

    • SimplexNoiseSampler

      public SimplexNoiseSampler(AbstractRandom random)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldif;<init>(Lcun;)V
      intermediary <init> Lnet/minecraft/class_3541;<init>(Lnet/minecraft/class_5819;)V
      named <init> Lnet/minecraft/util/math/noise/SimplexNoiseSampler;<init>(Lnet/minecraft/world/gen/random/AbstractRandom;)V
  • Method Details

    • getGradient

      private int getGradient(int hash)
      Mappings:
      Namespace Name Mixin selector
      official a Ldif;a(I)I
      intermediary method_16456 Lnet/minecraft/class_3541;method_16456(I)I
      named getGradient Lnet/minecraft/util/math/noise/SimplexNoiseSampler;getGradient(I)I
    • dot

      protected static double dot(int[] gArr, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldif;a([IDDD)D
      intermediary method_15431 Lnet/minecraft/class_3541;method_15431([IDDD)D
      named dot Lnet/minecraft/util/math/noise/SimplexNoiseSampler;dot([IDDD)D
    • grad

      private double grad(int hash, double x, double y, double z, double distance)
      Mappings:
      Namespace Name Mixin selector
      official a Ldif;a(IDDDD)D
      intermediary method_16455 Lnet/minecraft/class_3541;method_16455(IDDDD)D
      named grad Lnet/minecraft/util/math/noise/SimplexNoiseSampler;grad(IDDDD)D
    • sample

      public double sample(double x, double y)
      Mappings:
      Namespace Name Mixin selector
      official a Ldif;a(DD)D
      intermediary method_15433 Lnet/minecraft/class_3541;method_15433(DD)D
      named sample Lnet/minecraft/util/math/noise/SimplexNoiseSampler;sample(DD)D
    • sample

      public double sample(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldif;a(DDD)D
      intermediary method_22416 Lnet/minecraft/class_3541;method_22416(DDD)D
      named sample Lnet/minecraft/util/math/noise/SimplexNoiseSampler;sample(DDD)D