Class DualNoiseBlockStateProvider


public class DualNoiseBlockStateProvider extends NoiseBlockStateProvider
Mappings:
Namespace Name
official dbi
intermediary net/minecraft/class_6578
named net/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider
  • Field Details

    • DUAL_CODEC

      public static final com.mojang.serialization.Codec<DualNoiseBlockStateProvider> DUAL_CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Ldbi;b:Lcom/mojang/serialization/Codec;
      intermediary field_34702 Lnet/minecraft/class_6578;field_34702:Lcom/mojang/serialization/Codec;
      named DUAL_CODEC Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;DUAL_CODEC:Lcom/mojang/serialization/Codec;
    • variety

      private final Range<Integer> variety
      Mappings:
      Namespace Name Mixin selector
      official i Ldbi;i:Lais;
      intermediary field_34703 Lnet/minecraft/class_6578;field_34703:Lnet/minecraft/class_6497;
      named variety Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;variety:Lnet/minecraft/util/dynamic/Range;
    • slowNoiseParameters

      private final DoublePerlinNoiseSampler.NoiseParameters slowNoiseParameters
      Mappings:
      Namespace Name Mixin selector
      official j Ldbi;j:Ldha$a;
      intermediary field_34704 Lnet/minecraft/class_6578;field_34704:Lnet/minecraft/class_5216$class_5487;
      named slowNoiseParameters Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;slowNoiseParameters:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler$NoiseParameters;
    • slowScale

      private final float slowScale
      Mappings:
      Namespace Name Mixin selector
      official k Ldbi;k:F
      intermediary field_34705 Lnet/minecraft/class_6578;field_34705:F
      named slowScale Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;slowScale:F
    • slowNoiseSampler

      private final DoublePerlinNoiseSampler slowNoiseSampler
      Mappings:
      Namespace Name Mixin selector
      official l Ldbi;l:Ldha;
      intermediary field_34706 Lnet/minecraft/class_6578;field_34706:Lnet/minecraft/class_5216;
      named slowNoiseSampler Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;slowNoiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
  • Constructor Details

    • DualNoiseBlockStateProvider

      public DualNoiseBlockStateProvider(Range<Integer> variety, DoublePerlinNoiseSampler.NoiseParameters slowNoiseParameters, float slowScale, long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, List<BlockState> states)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldbi;<init>(Lais;Ldha$a;FJLdha$a;FLjava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6578;<init>(Lnet/minecraft/class_6497;Lnet/minecraft/class_5216$class_5487;FJLnet/minecraft/class_5216$class_5487;FLjava/util/List;)V
      named <init> Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;<init>(Lnet/minecraft/util/dynamic/Range;Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler$NoiseParameters;FJLnet/minecraft/util/math/noise/DoublePerlinNoiseSampler$NoiseParameters;FLjava/util/List;)V
  • Method Details

    • getType

      protected BlockStateProviderType<?> getType()
      Returns the type of this block state provider.
      Overrides:
      getType in class NoiseBlockStateProvider
      Returns:
      the type of this block state provider
      Mappings:
      Namespace Name Mixin selector
      official a Ldbg;a()Ldbh;
      intermediary method_28862 Lnet/minecraft/class_4651;method_28862()Lnet/minecraft/class_4652;
      named getType Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;getType()Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
    • getBlockState

      public BlockState getBlockState(Random random, BlockPos pos)
      Returns a provided block state.
      Overrides:
      getBlockState in class NoiseBlockStateProvider
      Returns:
      a provided block state
      Mappings:
      Namespace Name Mixin selector
      official a Ldbg;a(Ljava/util/Random;Lgh;)Lcoc;
      intermediary method_23455 Lnet/minecraft/class_4651;method_23455(Ljava/util/Random;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getBlockState Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;getBlockState(Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getSlowNoiseValue

      protected double getSlowNoiseValue(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbi;a(Lgh;)D
      intermediary method_38435 Lnet/minecraft/class_6578;method_38435(Lnet/minecraft/class_2338;)D
      named getSlowNoiseValue Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;getSlowNoiseValue(Lnet/minecraft/util/math/BlockPos;)D