Class NoiseThresholdBlockStateProvider


public class NoiseThresholdBlockStateProvider extends AbstractNoiseBlockStateProvider
Mappings:
Namespace Name
official dbb
intermediary net/minecraft/class_6581
named net/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<NoiseThresholdBlockStateProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Ldbb;b:Lcom/mojang/serialization/Codec;
      intermediary field_34713 Lnet/minecraft/class_6581;field_34713:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;CODEC:Lcom/mojang/serialization/Codec;
    • threshold

      private final float threshold
      Mappings:
      Namespace Name Mixin selector
      official g Ldbb;g:F
      intermediary field_34714 Lnet/minecraft/class_6581;field_34714:F
      named threshold Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;threshold:F
    • highChance

      private final float highChance
      Mappings:
      Namespace Name Mixin selector
      official h Ldbb;h:F
      intermediary field_34715 Lnet/minecraft/class_6581;field_34715:F
      named highChance Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;highChance:F
    • defaultState

      private final BlockState defaultState
      Mappings:
      Namespace Name Mixin selector
      official i Ldbb;i:Lcnv;
      intermediary field_34716 Lnet/minecraft/class_6581;field_34716:Lnet/minecraft/class_2680;
      named defaultState Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;defaultState:Lnet/minecraft/block/BlockState;
    • lowStates

      private final List<BlockState> lowStates
      Mappings:
      Namespace Name Mixin selector
      official j Ldbb;j:Ljava/util/List;
      intermediary field_34717 Lnet/minecraft/class_6581;field_34717:Ljava/util/List;
      named lowStates Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;lowStates:Ljava/util/List;
    • highStates

      private final List<BlockState> highStates
      Mappings:
      Namespace Name Mixin selector
      official k Ldbb;k:Ljava/util/List;
      intermediary field_34718 Lnet/minecraft/class_6581;field_34718:Ljava/util/List;
      named highStates Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;highStates:Ljava/util/List;
  • Constructor Details

    • NoiseThresholdBlockStateProvider

      public NoiseThresholdBlockStateProvider(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, float threshold, float highChance, BlockState defaultState, List<BlockState> lowStates, List<BlockState> highStates)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldbb;<init>(JLdgn$a;FFFLcnv;Ljava/util/List;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6581;<init>(JLnet/minecraft/class_5216$class_5487;FFFLnet/minecraft/class_2680;Ljava/util/List;Ljava/util/List;)V
      named <init> Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;<init>(JLnet/minecraft/util/math/noise/DoublePerlinNoiseSampler$NoiseParameters;FFFLnet/minecraft/block/BlockState;Ljava/util/List;Ljava/util/List;)V
  • Method Details

    • getType

      protected BlockStateProviderType<?> getType()
      Returns the type of this block state provider.
      Specified by:
      getType in class BlockStateProvider
      Returns:
      the type of this block state provider
      Mappings:
      Namespace Name Mixin selector
      official a Ldaw;a()Ldax;
      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.
      Specified by:
      getBlockState in class BlockStateProvider
      Returns:
      a provided block state
      Mappings:
      Namespace Name Mixin selector
      official a Ldaw;a(Ljava/util/Random;Lgh;)Lcnv;
      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;