Class NoiseCaveSampler

java.lang.Object
net.minecraft.world.gen.NoiseCaveSampler
All Implemented Interfaces:
WeightSampler

public class NoiseCaveSampler extends Object implements WeightSampler
Mappings:
Namespace Name
official cpi
intermediary net/minecraft/class_5833
named net/minecraft/world/gen/NoiseCaveSampler
  • Field Details

    • field_31463

      private static final int field_31463
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official s Lcpi;s:I
      intermediary field_31463 Lnet/minecraft/class_5833;field_31463:I
      named field_31463 Lnet/minecraft/world/gen/NoiseCaveSampler;field_31463:I
    • field_31464

      private static final int field_31464
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official t Lcpi;t:I
      intermediary field_31464 Lnet/minecraft/class_5833;field_31464:I
      named field_31464 Lnet/minecraft/world/gen/NoiseCaveSampler;field_31464:I
    • minY

      private final int minY
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi;a:I
      intermediary field_28827 Lnet/minecraft/class_5833;field_28827:I
      named minY Lnet/minecraft/world/gen/NoiseCaveSampler;minY:I
    • terrainAdditionNoise

      private final DoublePerlinNoiseSampler terrainAdditionNoise
      Mappings:
      Namespace Name Mixin selector
      official c Lcpi;c:Lddv;
      intermediary field_28828 Lnet/minecraft/class_5833;field_28828:Lnet/minecraft/class_5216;
      named terrainAdditionNoise Lnet/minecraft/world/gen/NoiseCaveSampler;terrainAdditionNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • pillarNoise

      private final DoublePerlinNoiseSampler pillarNoise
      Mappings:
      Namespace Name Mixin selector
      official d Lcpi;d:Lddv;
      intermediary field_28829 Lnet/minecraft/class_5833;field_28829:Lnet/minecraft/class_5216;
      named pillarNoise Lnet/minecraft/world/gen/NoiseCaveSampler;pillarNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • pillarFalloffNoise

      private final DoublePerlinNoiseSampler pillarFalloffNoise
      Mappings:
      Namespace Name Mixin selector
      official e Lcpi;e:Lddv;
      intermediary field_28830 Lnet/minecraft/class_5833;field_28830:Lnet/minecraft/class_5216;
      named pillarFalloffNoise Lnet/minecraft/world/gen/NoiseCaveSampler;pillarFalloffNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • pillarScaleNoise

      private final DoublePerlinNoiseSampler pillarScaleNoise
      Mappings:
      Namespace Name Mixin selector
      official f Lcpi;f:Lddv;
      intermediary field_28831 Lnet/minecraft/class_5833;field_28831:Lnet/minecraft/class_5216;
      named pillarScaleNoise Lnet/minecraft/world/gen/NoiseCaveSampler;pillarScaleNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • scaledCaveScaleNoise

      private final DoublePerlinNoiseSampler scaledCaveScaleNoise
      Mappings:
      Namespace Name Mixin selector
      official g Lcpi;g:Lddv;
      intermediary field_28832 Lnet/minecraft/class_5833;field_28832:Lnet/minecraft/class_5216;
      named scaledCaveScaleNoise Lnet/minecraft/world/gen/NoiseCaveSampler;scaledCaveScaleNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • horizontalCaveNoise

      private final DoublePerlinNoiseSampler horizontalCaveNoise
      Mappings:
      Namespace Name Mixin selector
      official h Lcpi;h:Lddv;
      intermediary field_28833 Lnet/minecraft/class_5833;field_28833:Lnet/minecraft/class_5216;
      named horizontalCaveNoise Lnet/minecraft/world/gen/NoiseCaveSampler;horizontalCaveNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • caveScaleNoise

      private final DoublePerlinNoiseSampler caveScaleNoise
      Mappings:
      Namespace Name Mixin selector
      official i Lcpi;i:Lddv;
      intermediary field_28834 Lnet/minecraft/class_5833;field_28834:Lnet/minecraft/class_5216;
      named caveScaleNoise Lnet/minecraft/world/gen/NoiseCaveSampler;caveScaleNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • caveFalloffNoise

      private final DoublePerlinNoiseSampler caveFalloffNoise
      Mappings:
      Namespace Name Mixin selector
      official j Lcpi;j:Lddv;
      intermediary field_28835 Lnet/minecraft/class_5833;field_28835:Lnet/minecraft/class_5216;
      named caveFalloffNoise Lnet/minecraft/world/gen/NoiseCaveSampler;caveFalloffNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • tunnelNoise1

      private final DoublePerlinNoiseSampler tunnelNoise1
      Mappings:
      Namespace Name Mixin selector
      official k Lcpi;k:Lddv;
      intermediary field_28836 Lnet/minecraft/class_5833;field_28836:Lnet/minecraft/class_5216;
      named tunnelNoise1 Lnet/minecraft/world/gen/NoiseCaveSampler;tunnelNoise1:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • tunnelNoise2

      private final DoublePerlinNoiseSampler tunnelNoise2
      Mappings:
      Namespace Name Mixin selector
      official l Lcpi;l:Lddv;
      intermediary field_28837 Lnet/minecraft/class_5833;field_28837:Lnet/minecraft/class_5216;
      named tunnelNoise2 Lnet/minecraft/world/gen/NoiseCaveSampler;tunnelNoise2:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • tunnelScaleNoise

      private final DoublePerlinNoiseSampler tunnelScaleNoise
      Mappings:
      Namespace Name Mixin selector
      official m Lcpi;m:Lddv;
      intermediary field_28838 Lnet/minecraft/class_5833;field_28838:Lnet/minecraft/class_5216;
      named tunnelScaleNoise Lnet/minecraft/world/gen/NoiseCaveSampler;tunnelScaleNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • tunnelFalloffNoise

      private final DoublePerlinNoiseSampler tunnelFalloffNoise
      Mappings:
      Namespace Name Mixin selector
      official n Lcpi;n:Lddv;
      intermediary field_28839 Lnet/minecraft/class_5833;field_28839:Lnet/minecraft/class_5216;
      named tunnelFalloffNoise Lnet/minecraft/world/gen/NoiseCaveSampler;tunnelFalloffNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • offsetNoise

      private final DoublePerlinNoiseSampler offsetNoise
      Mappings:
      Namespace Name Mixin selector
      official o Lcpi;o:Lddv;
      intermediary field_28840 Lnet/minecraft/class_5833;field_28840:Lnet/minecraft/class_5216;
      named offsetNoise Lnet/minecraft/world/gen/NoiseCaveSampler;offsetNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • offsetScaleNoise

      private final DoublePerlinNoiseSampler offsetScaleNoise
      Mappings:
      Namespace Name Mixin selector
      official p Lcpi;p:Lddv;
      intermediary field_28841 Lnet/minecraft/class_5833;field_28841:Lnet/minecraft/class_5216;
      named offsetScaleNoise Lnet/minecraft/world/gen/NoiseCaveSampler;offsetScaleNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • field_28842

      private final DoublePerlinNoiseSampler field_28842
      Mappings:
      Namespace Name Mixin selector
      official q Lcpi;q:Lddv;
      intermediary field_28842 Lnet/minecraft/class_5833;field_28842:Lnet/minecraft/class_5216;
      named field_28842 Lnet/minecraft/world/gen/NoiseCaveSampler;field_28842:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • caveDensityNoise

      private final DoublePerlinNoiseSampler caveDensityNoise
      Mappings:
      Namespace Name Mixin selector
      official r Lcpi;r:Lddv;
      intermediary field_29226 Lnet/minecraft/class_5833;field_29226:Lnet/minecraft/class_5216;
      named caveDensityNoise Lnet/minecraft/world/gen/NoiseCaveSampler;caveDensityNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
  • Constructor Details

    • NoiseCaveSampler

      public NoiseCaveSampler(WorldGenRandom random, int minY)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcpi;<init>(Lcqf;I)V
      intermediary <init> Lnet/minecraft/class_5833;<init>(Lnet/minecraft/class_5819;I)V
      named <init> Lnet/minecraft/world/gen/NoiseCaveSampler;<init>(Lnet/minecraft/world/gen/WorldGenRandom;I)V
  • Method Details

    • sample

      public double sample(double weight, int x, int y, int z)
      Specified by:
      sample in interface WeightSampler
      Mappings:
      Namespace Name Mixin selector
      official modifyNoise Lcpw;modifyNoise(DIII)D
      intermediary method_33747 Lnet/minecraft/class_6357;method_33747(DIII)D
      named sample Lnet/minecraft/world/gen/chunk/WeightSampler;sample(DIII)D
    • method_35325

      private double method_35325(double double2, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi;a(DIII)D
      intermediary method_35325 Lnet/minecraft/class_5833;method_35325(DIII)D
      named method_35325 Lnet/minecraft/world/gen/NoiseCaveSampler;method_35325(DIII)D
    • getPillarNoise

      private double getPillarNoise(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi;a(III)D
      intermediary method_33746 Lnet/minecraft/class_5833;method_33746(III)D
      named getPillarNoise Lnet/minecraft/world/gen/NoiseCaveSampler;getPillarNoise(III)D
    • getTerrainAdditionNoise

      private double getTerrainAdditionNoise(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Lcpi;b(III)D
      intermediary method_33750 Lnet/minecraft/class_5833;method_33750(III)D
      named getTerrainAdditionNoise Lnet/minecraft/world/gen/NoiseCaveSampler;getTerrainAdditionNoise(III)D
    • getTunnelNoise

      private double getTunnelNoise(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official c Lcpi;c(III)D
      intermediary method_33751 Lnet/minecraft/class_5833;method_33751(III)D
      named getTunnelNoise Lnet/minecraft/world/gen/NoiseCaveSampler;getTunnelNoise(III)D
    • getCaveNoise

      private double getCaveNoise(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official d Lcpi;d(III)D
      intermediary method_33752 Lnet/minecraft/class_5833;method_33752(III)D
      named getCaveNoise Lnet/minecraft/world/gen/NoiseCaveSampler;getCaveNoise(III)D
    • getTunnelOffsetNoise

      private double getTunnelOffsetNoise(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official e Lcpi;e(III)D
      intermediary method_33753 Lnet/minecraft/class_5833;method_33753(III)D
      named getTunnelOffsetNoise Lnet/minecraft/world/gen/NoiseCaveSampler;getTunnelOffsetNoise(III)D
    • clamp

      private static double clamp(double value)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi;a(D)D
      intermediary method_33749 Lnet/minecraft/class_5833;method_33749(D)D
      named clamp Lnet/minecraft/world/gen/NoiseCaveSampler;clamp(D)D
    • sample

      private static double sample(DoublePerlinNoiseSampler sampler, double x, double y, double z, double scale)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi;a(Lddv;DDDD)D
      intermediary method_33748 Lnet/minecraft/class_5833;method_33748(Lnet/minecraft/class_5216;DDDD)D
      named sample Lnet/minecraft/world/gen/NoiseCaveSampler;sample(Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;DDDD)D