Class InterpolatedNoiseSampler

java.lang.Object
net.minecraft.util.math.noise.InterpolatedNoiseSampler
All Implemented Interfaces:
DensityFunction, DensityFunction.class_6913

public class InterpolatedNoiseSampler extends Object implements DensityFunction.class_6913
Mappings:
Namespace Name
official dhz
intermediary net/minecraft/class_5822
named net/minecraft/util/math/noise/InterpolatedNoiseSampler
  • Field Details

    • field_37205

      public static final InterpolatedNoiseSampler field_37205
      Mappings:
      Namespace Name Mixin selector
      official a Ldhz;a:Ldhz;
      intermediary field_37205 Lnet/minecraft/class_5822;field_37205:Lnet/minecraft/class_5822;
      named field_37205 Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;field_37205:Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;
    • CODEC

      public static final com.mojang.serialization.Codec<InterpolatedNoiseSampler> CODEC
      Mappings:
      Namespace Name Mixin selector
      official e Ldhz;e:Lcom/mojang/serialization/Codec;
      intermediary field_37206 Lnet/minecraft/class_5822;field_37206:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;CODEC:Lcom/mojang/serialization/Codec;
    • lowerInterpolatedNoise

      private final OctavePerlinNoiseSampler lowerInterpolatedNoise
      Mappings:
      Namespace Name Mixin selector
      official f Ldhz;f:Ldid;
      intermediary field_28774 Lnet/minecraft/class_5822;field_28774:Lnet/minecraft/class_3537;
      named lowerInterpolatedNoise Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;lowerInterpolatedNoise:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
    • upperInterpolatedNoise

      private final OctavePerlinNoiseSampler upperInterpolatedNoise
      Mappings:
      Namespace Name Mixin selector
      official g Ldhz;g:Ldid;
      intermediary field_28775 Lnet/minecraft/class_5822;field_28775:Lnet/minecraft/class_3537;
      named upperInterpolatedNoise Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;upperInterpolatedNoise:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
    • interpolationNoise

      private final OctavePerlinNoiseSampler interpolationNoise
      Mappings:
      Namespace Name Mixin selector
      official h Ldhz;h:Ldid;
      intermediary field_28776 Lnet/minecraft/class_5822;field_28776:Lnet/minecraft/class_3537;
      named interpolationNoise Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;interpolationNoise:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
    • xzScale

      private final double xzScale
      Mappings:
      Namespace Name Mixin selector
      official i Ldhz;i:D
      intermediary field_34752 Lnet/minecraft/class_5822;field_34752:D
      named xzScale Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;xzScale:D
    • yScale

      private final double yScale
      Mappings:
      Namespace Name Mixin selector
      official j Ldhz;j:D
      intermediary field_34753 Lnet/minecraft/class_5822;field_34753:D
      named yScale Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;yScale:D
    • xzMainScale

      private final double xzMainScale
      Mappings:
      Namespace Name Mixin selector
      official k Ldhz;k:D
      intermediary field_34754 Lnet/minecraft/class_5822;field_34754:D
      named xzMainScale Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;xzMainScale:D
    • yMainScale

      private final double yMainScale
      Mappings:
      Namespace Name Mixin selector
      official l Ldhz;l:D
      intermediary field_34755 Lnet/minecraft/class_5822;field_34755:D
      named yMainScale Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;yMainScale:D
    • cellWidth

      private final int cellWidth
      Mappings:
      Namespace Name Mixin selector
      official m Ldhz;m:I
      intermediary field_34756 Lnet/minecraft/class_5822;field_34756:I
      named cellWidth Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;cellWidth:I
    • cellHeight

      private final int cellHeight
      Mappings:
      Namespace Name Mixin selector
      official n Ldhz;n:I
      intermediary field_34757 Lnet/minecraft/class_5822;field_34757:I
      named cellHeight Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;cellHeight:I
    • field_36630

      private final double field_36630
      Mappings:
      Namespace Name Mixin selector
      official o Ldhz;o:D
      intermediary field_36630 Lnet/minecraft/class_5822;field_36630:D
      named field_36630 Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;field_36630:D
  • Constructor Details

    • InterpolatedNoiseSampler

      private InterpolatedNoiseSampler(OctavePerlinNoiseSampler lowerInterpolatedNoise, OctavePerlinNoiseSampler upperInterpolatedNoise, OctavePerlinNoiseSampler interpolationNoise, NoiseSamplingConfig config, int cellWidth, int cellHeight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldhz;<init>(Ldid;Ldid;Ldid;Lcuf;II)V
      intermediary <init> Lnet/minecraft/class_5822;<init>(Lnet/minecraft/class_3537;Lnet/minecraft/class_3537;Lnet/minecraft/class_3537;Lnet/minecraft/class_5308;II)V
      named <init> Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;<init>(Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;Lnet/minecraft/world/gen/chunk/NoiseSamplingConfig;II)V
    • InterpolatedNoiseSampler

      public InterpolatedNoiseSampler(AbstractRandom random, NoiseSamplingConfig config, int cellWidth, int cellHeight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldhz;<init>(Lcun;Lcuf;II)V
      intermediary <init> Lnet/minecraft/class_5822;<init>(Lnet/minecraft/class_5819;Lnet/minecraft/class_5308;II)V
      named <init> Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;<init>(Lnet/minecraft/world/gen/random/AbstractRandom;Lnet/minecraft/world/gen/chunk/NoiseSamplingConfig;II)V
  • Method Details

    • sample

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

      public double minValue()
      Specified by:
      minValue in interface DensityFunction
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a()D
      intermediary comp_377 Lnet/minecraft/class_6910;comp_377()D
      named minValue Lnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
    • maxValue

      public double maxValue()
      Specified by:
      maxValue in interface DensityFunction
      Mappings:
      Namespace Name Mixin selector
      official b Lctp;b()D
      intermediary comp_378 Lnet/minecraft/class_6910;comp_378()D
      named maxValue Lnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
    • addDebugInfo

      public void addDebugInfo(StringBuilder info)
      Mappings:
      Namespace Name Mixin selector
      official a Ldhz;a(Ljava/lang/StringBuilder;)V
      intermediary method_39117 Lnet/minecraft/class_5822;method_39117(Ljava/lang/StringBuilder;)V
      named addDebugInfo Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;addDebugInfo(Ljava/lang/StringBuilder;)V
    • getCodec

      public com.mojang.serialization.Codec<? extends DensityFunction> getCodec()
      Specified by:
      getCodec in interface DensityFunction
      Mappings:
      Namespace Name Mixin selector
      official c Lctp;c()Lcom/mojang/serialization/Codec;
      intermediary method_41062 Lnet/minecraft/class_6910;method_41062()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/world/gen/densityfunction/DensityFunction;getCodec()Lcom/mojang/serialization/Codec;