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/NoiseThresholdBlockStateProvider- intermediary - net/minecraft/class_6581- official - ekj
- 
Field SummaryFieldsModifier 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.AbstractNoiseBlockStateProvidernoiseParameters, noiseSampler, scale, seedFields inherited from class net.minecraft.world.gen.stateprovider.BlockStateProviderTYPE_CODEC
- 
Constructor SummaryConstructorsConstructorDescriptionNoiseThresholdBlockStateProvider(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, float threshold, float highChance, BlockState defaultState, List<BlockState> lowStates, List<BlockState> highStates) 
- 
Method SummaryModifier 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.AbstractNoiseBlockStateProviderfillCodecFields, getNoiseValueMethods inherited from class net.minecraft.world.gen.stateprovider.BlockStateProviderof, of
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_34713- Lnet/minecraft/class_6581;field_34713:Lcom/mojang/serialization/MapCodec;- official - b- Lekj;b:Lcom/mojang/serialization/MapCodec;
 
- 
thresholdprivate final float threshold- Mappings:
- Namespace - Name - Mixin selector - named - threshold- Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;threshold:F- intermediary - field_34714- Lnet/minecraft/class_6581;field_34714:F- official - g- Lekj;g:F
 
- 
highChanceprivate final float highChance- Mappings:
- Namespace - Name - Mixin selector - named - highChance- Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;highChance:F- intermediary - field_34715- Lnet/minecraft/class_6581;field_34715:F- official - h- Lekj;h:F
 
- 
defaultState- Mappings:
- Namespace - Name - Mixin selector - named - defaultState- Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;defaultState:Lnet/minecraft/block/BlockState;- intermediary - field_34716- Lnet/minecraft/class_6581;field_34716:Lnet/minecraft/class_2680;- official - i- Lekj;i:Ldwy;
 
- 
lowStates- Mappings:
- Namespace - Name - Mixin selector - named - lowStates- Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;lowStates:Ljava/util/List;- intermediary - field_34717- Lnet/minecraft/class_6581;field_34717:Ljava/util/List;- official - j- Lekj;j:Ljava/util/List;
 
- 
highStates- Mappings:
- Namespace - Name - Mixin selector - named - highStates- Lnet/minecraft/world/gen/stateprovider/NoiseThresholdBlockStateProvider;highStates:Ljava/util/List;- intermediary - field_34718- Lnet/minecraft/class_6581;field_34718:Ljava/util/List;- official - k- Lekj;k:Ljava/util/List;
 
 
- 
- 
Constructor Details- 
NoiseThresholdBlockStateProviderpublic 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;)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- official - <init>- Lekj;<init>(JLesd$a;FFFLdwy;Ljava/util/List;Ljava/util/List;)V
 
 
- 
- 
Method Details- 
getTypeReturns the type of this block state provider.- Specified by:
- getTypein class- BlockStateProvider
- 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 - getType- Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;getType()Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;- intermediary - method_28862- Lnet/minecraft/class_4651;method_28862()Lnet/minecraft/class_4652;- official - a- Leke;a()Lekf;
 
- 
getReturns a provided block state.- Specified by:
- getin class- BlockStateProvider
- Returns:
- a provided block state
- Mappings:
- Namespace - Name - Mixin selector - named - get- Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;get(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;- intermediary - method_23455- Lnet/minecraft/class_4651;method_23455(Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;- official - a- Leke;a(Lazh;Lji;)Ldwy;
 
 
-