Class NoiseThresholdBlockStateProvider
java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProvider
net.minecraft.world.gen.stateprovider.AbstractNoiseBlockStateProvider
net.minecraft.world.gen.stateprovider.NoiseThresholdBlockStateProvider
- Mappings:
 Namespace Name named net/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProviderintermediary net/minecraft/class_6581official ers
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<NoiseThresholdBlockStateProvider> private final BlockStateprivate final floatprivate final List<BlockState> private final List<BlockState> private final floatFields inherited from class net.minecraft.world.gen.stateprovider.AbstractNoiseBlockStateProvider
noiseParameters, noiseSampler, scale, seedFields inherited from class net.minecraft.world.gen.stateprovider.BlockStateProvider
TYPE_CODEC - 
Constructor Summary
ConstructorsConstructorDescriptionNoiseThresholdBlockStateProvider(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, float threshold, float highChance, BlockState defaultState, List<BlockState> lowStates, List<BlockState> highStates)  - 
Method Summary
Modifier and TypeMethodDescriptionReturns a provided block state.protected BlockStateProviderType<?> getType()Returns the type of this block state provider.Methods inherited from class net.minecraft.world.gen.stateprovider.AbstractNoiseBlockStateProvider
fillCodecFields, getNoiseValueMethods inherited from class net.minecraft.world.gen.stateprovider.BlockStateProvider
of, of 
- 
Field Details
- 
CODEC
- Mappings:
 Namespace Name Mixin selector named CODECLnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_34713Lnet/minecraft/class_6581;field_34713:Lcom/mojang/serialization/MapCodec;official bLers;b:Lcom/mojang/serialization/MapCodec;
 - 
threshold
private final float threshold- Mappings:
 Namespace Name Mixin selector named thresholdLnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;threshold:Fintermediary field_34714Lnet/minecraft/class_6581;field_34714:Fofficial gLers;g:F
 - 
highChance
private final float highChance- Mappings:
 Namespace Name Mixin selector named highChanceLnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;highChance:Fintermediary field_34715Lnet/minecraft/class_6581;field_34715:Fofficial hLers;h:F
 - 
defaultState
- Mappings:
 Namespace Name Mixin selector named defaultStateLnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;defaultState:Lnet/minecraft/block/BlockState;intermediary field_34716Lnet/minecraft/class_6581;field_34716:Lnet/minecraft/class_2680;official iLers;i:Leeb;
 - 
lowStates
- Mappings:
 Namespace Name Mixin selector named lowStatesLnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;lowStates:Ljava/util/List;intermediary field_34717Lnet/minecraft/class_6581;field_34717:Ljava/util/List;official jLers;j:Ljava/util/List;
 - 
highStates
- Mappings:
 Namespace Name Mixin selector named highStatesLnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;highStates:Ljava/util/List;intermediary field_34718Lnet/minecraft/class_6581;field_34718:Ljava/util/List;official kLers;k: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 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;)Vintermediary <init>Lnet/minecraft/class_6581;<init>(JLnet/minecraft/class_5216$class_5487;FFFLnet/minecraft/class_2680;Ljava/util/List;Ljava/util/List;)Vofficial <init>Lers;<init>(JLezo$a;FFFLeeb;Ljava/util/List;Ljava/util/List;)V
 
 - 
 - 
Method Details
- 
getType
Returns the type of this block state provider.- Specified by:
 getTypein classBlockStateProvider- Returns:
 - the type of this block state provider
 - Implementation Note:
 - The returned block state provider type should be registered so that the 
typefield is properly serialized. - Mappings:
 Namespace Name Mixin selector named getTypeLnet/minecraft/world/gen/stateprovider/BlockStateProvider;getType()Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;intermediary method_28862Lnet/minecraft/class_4651;method_28862()Lnet/minecraft/class_4652;official aLern;a()Lero;
 - 
get
Returns a provided block state.- Specified by:
 getin classBlockStateProvider- Returns:
 - a provided block state
 - Mappings:
 Namespace Name Mixin selector named getLnet/minecraft/world/gen/stateprovider/BlockStateProvider;get(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;intermediary method_23455Lnet/minecraft/class_4651;method_23455(Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;official aLern;a(Lbck;Ljb;)Leeb;
 
 -