Class AbstractNoiseBlockStateProvider

java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProvider
net.minecraft.world.gen.stateprovider.AbstractNoiseBlockStateProvider
Direct Known Subclasses:
NoiseBlockStateProvider, NoiseThresholdBlockStateProvider

public abstract class AbstractNoiseBlockStateProvider extends BlockStateProvider
Mappings:
Namespace Name
official dhc
intermediary net/minecraft/class_6579
named net/minecraft/world/gen/stateprovider/AbstractNoiseBlockStateProvider
  • Field Details

    • seed

      protected final long seed
      Mappings:
      Namespace Name Mixin selector
      official c Ldhc;c:J
      intermediary field_34707 Lnet/minecraft/class_6579;field_34707:J
      named seed Lnet/minecraft/world/gen/stateprovider/AbstractNoiseBlockStateProvider;seed:J
    • noiseParameters

      protected final DoublePerlinNoiseSampler.NoiseParameters noiseParameters
      Mappings:
      Namespace Name Mixin selector
      official d Ldhc;d:Ldod$a;
      intermediary field_34708 Lnet/minecraft/class_6579;field_34708:Lnet/minecraft/class_5216$class_5487;
      named noiseParameters Lnet/minecraft/world/gen/stateprovider/AbstractNoiseBlockStateProvider;noiseParameters:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler$NoiseParameters;
    • scale

      protected final float scale
      Mappings:
      Namespace Name Mixin selector
      official e Ldhc;e:F
      intermediary field_34709 Lnet/minecraft/class_6579;field_34709:F
      named scale Lnet/minecraft/world/gen/stateprovider/AbstractNoiseBlockStateProvider;scale:F
    • noiseSampler

      protected final DoublePerlinNoiseSampler noiseSampler
      Mappings:
      Namespace Name Mixin selector
      official f Ldhc;f:Ldod;
      intermediary field_34710 Lnet/minecraft/class_6579;field_34710:Lnet/minecraft/class_5216;
      named noiseSampler Lnet/minecraft/world/gen/stateprovider/AbstractNoiseBlockStateProvider;noiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
  • Constructor Details

    • AbstractNoiseBlockStateProvider

      protected AbstractNoiseBlockStateProvider(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldhc;<init>(JLdod$a;F)V
      intermediary <init> Lnet/minecraft/class_6579;<init>(JLnet/minecraft/class_5216$class_5487;F)V
      named <init> Lnet/minecraft/world/gen/stateprovider/AbstractNoiseBlockStateProvider;<init>(JLnet/minecraft/util/math/noise/DoublePerlinNoiseSampler$NoiseParameters;F)V
  • Method Details

    • fillCodecFields

      protected static <P extends AbstractNoiseBlockStateProvider> com.mojang.datafixers.Products.P3<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>,Long,DoublePerlinNoiseSampler.NoiseParameters,Float> fillCodecFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance)
      Mappings:
      Namespace Name Mixin selector
      official a Ldhc;a(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P3;
      intermediary method_38439 Lnet/minecraft/class_6579;method_38439(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P3;
      named fillCodecFields Lnet/minecraft/world/gen/stateprovider/AbstractNoiseBlockStateProvider;fillCodecFields(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P3;
    • getNoiseValue

      protected double getNoiseValue(BlockPos pos, double scale)
      Mappings:
      Namespace Name Mixin selector
      official a Ldhc;a(Lgt;D)D
      intermediary method_38441 Lnet/minecraft/class_6579;method_38441(Lnet/minecraft/class_2338;D)D
      named getNoiseValue Lnet/minecraft/world/gen/stateprovider/AbstractNoiseBlockStateProvider;getNoiseValue(Lnet/minecraft/util/math/BlockPos;D)D