Class SimplexNoiseSampler

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

public class SimplexNoiseSampler extends Object
Mappings:
Namespace Name
official dog
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 Ldog;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 Ldog;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 Ldog;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 Ldog;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
    • permutation

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

      public final double originX
      Mappings:
      Namespace Name Mixin selector
      official b Ldog;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 Ldog;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 Ldog;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(Random random)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldog;<init>(Lalu;)V
      intermediary <init> Lnet/minecraft/class_3541;<init>(Lnet/minecraft/class_5819;)V
      named <init> Lnet/minecraft/util/math/noise/SimplexNoiseSampler;<init>(Lnet/minecraft/util/math/random/Random;)V
  • Method Details

    • map

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

      protected static double dot(int[] gradient, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldog;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 Ldog;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 Ldog;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 Ldog;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