Class NoiseBlockStateProvider
java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProvider
net.minecraft.world.gen.stateprovider.AbstractNoiseBlockStateProvider
net.minecraft.world.gen.stateprovider.NoiseBlockStateProvider
- Direct Known Subclasses:
DualNoiseBlockStateProvider
- Mappings:
Namespace Name named net/minecraft/world/gen/stateprovider/NoiseBlockStateProvider
intermediary net/minecraft/class_6580
official efj
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<NoiseBlockStateProvider> protected final List
<BlockState> Fields inherited from class net.minecraft.world.gen.stateprovider.AbstractNoiseBlockStateProvider
noiseParameters, noiseSampler, scale, seed
Fields inherited from class net.minecraft.world.gen.stateprovider.BlockStateProvider
TYPE_CODEC
-
Constructor Summary
ConstructorDescriptionNoiseBlockStateProvider
(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, List<BlockState> states) -
Method Summary
Modifier and TypeMethodDescriptionprotected static <P extends NoiseBlockStateProvider>
com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, Long, DoublePerlinNoiseSampler.NoiseParameters, Float, List<BlockState>> fillNoiseCodecFields
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) Returns a provided block state.protected BlockState
getStateAtValue
(List<BlockState> states, double value) protected BlockState
getStateFromList
(List<BlockState> states, BlockPos pos, double scale) protected BlockStateProviderType
<?> getType()
Returns the type of this block state provider.Methods inherited from class net.minecraft.world.gen.stateprovider.AbstractNoiseBlockStateProvider
fillCodecFields, getNoiseValue
Methods inherited from class net.minecraft.world.gen.stateprovider.BlockStateProvider
of, of
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/gen/stateprovider/NoiseBlockStateProvider;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_34711
Lnet/minecraft/class_6580;field_34711:Lcom/mojang/serialization/MapCodec;
official g
Lefj;g:Lcom/mojang/serialization/MapCodec;
-
states
- Mappings:
Namespace Name Mixin selector named states
Lnet/minecraft/world/gen/stateprovider/NoiseBlockStateProvider;states:Ljava/util/List;
intermediary field_34712
Lnet/minecraft/class_6580;field_34712:Ljava/util/List;
official h
Lefj;h:Ljava/util/List;
-
-
Constructor Details
-
NoiseBlockStateProvider
public NoiseBlockStateProvider(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, List<BlockState> states) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/stateprovider/NoiseBlockStateProvider;<init>(JLnet/minecraft/util/math/noise/DoublePerlinNoiseSampler$NoiseParameters;FLjava/util/List;)V
intermediary <init>
Lnet/minecraft/class_6580;<init>(JLnet/minecraft/class_5216$class_5487;FLjava/util/List;)V
official <init>
Lefj;<init>(JLena$a;FLjava/util/List;)V
-
-
Method Details
-
fillNoiseCodecFields
protected static <P extends NoiseBlockStateProvider> com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>,Long, fillNoiseCodecFieldsDoublePerlinNoiseSampler.NoiseParameters, Float, List<BlockState>> (com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) - Mappings:
Namespace Name Mixin selector named fillNoiseCodecFields
Lnet/minecraft/world/gen/stateprovider/NoiseBlockStateProvider;fillNoiseCodecFields(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P4;
intermediary method_38447
Lnet/minecraft/class_6580;method_38447(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P4;
official b
Lefj;b(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P4;
-
getType
Returns the type of this block state provider.- Specified by:
getType
in classBlockStateProvider
- Returns:
- the type of this block state provider
- Implementation Note:
- The returned block state provider type should be registered so that the
type
field 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
Leff;a()Lefg;
-
get
Returns a provided block state.- Specified by:
get
in classBlockStateProvider
- 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
Leff;a(Lazh;Liz;)Ldse;
-
getStateFromList
- Mappings:
Namespace Name Mixin selector named getStateFromList
Lnet/minecraft/world/gen/stateprovider/NoiseBlockStateProvider;getStateFromList(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;D)Lnet/minecraft/block/BlockState;
intermediary method_38446
Lnet/minecraft/class_6580;method_38446(Ljava/util/List;Lnet/minecraft/class_2338;D)Lnet/minecraft/class_2680;
official a
Lefj;a(Ljava/util/List;Liz;D)Ldse;
-
getStateAtValue
- Mappings:
Namespace Name Mixin selector named getStateAtValue
Lnet/minecraft/world/gen/stateprovider/NoiseBlockStateProvider;getStateAtValue(Ljava/util/List;D)Lnet/minecraft/block/BlockState;
intermediary method_38445
Lnet/minecraft/class_6580;method_38445(Ljava/util/List;D)Lnet/minecraft/class_2680;
official a
Lefj;a(Ljava/util/List;D)Ldse;
-