Class DualNoiseBlockStateProvider
java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProvider
net.minecraft.world.gen.stateprovider.AbstractNoiseBlockStateProvider
net.minecraft.world.gen.stateprovider.NoiseBlockStateProvider
net.minecraft.world.gen.stateprovider.DualNoiseBlockStateProvider
- Mappings:
Namespace Name named net/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider
intermediary net/minecraft/class_6578
official efs
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<DualNoiseBlockStateProvider> private final DoublePerlinNoiseSampler.NoiseParameters
private final DoublePerlinNoiseSampler
private final float
Fields inherited from class net.minecraft.world.gen.stateprovider.NoiseBlockStateProvider
CODEC, states
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
ConstructorDescriptionDualNoiseBlockStateProvider
(Range<Integer> variety, DoublePerlinNoiseSampler.NoiseParameters slowNoiseParameters, float slowScale, long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, List<BlockState> states) -
Method Summary
Modifier and TypeMethodDescriptionReturns a provided block state.protected double
protected BlockStateProviderType
<?> getType()
Returns the type of this block state provider.Methods inherited from class net.minecraft.world.gen.stateprovider.NoiseBlockStateProvider
fillNoiseCodecFields, getStateAtValue, getStateFromList
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
-
DUAL_CODEC
- Mappings:
Namespace Name Mixin selector named DUAL_CODEC
Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;DUAL_CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_34702
Lnet/minecraft/class_6578;field_34702:Lcom/mojang/serialization/MapCodec;
official b
Lefs;b:Lcom/mojang/serialization/MapCodec;
-
variety
- Mappings:
Namespace Name Mixin selector named variety
Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;variety:Lnet/minecraft/util/dynamic/Range;
intermediary field_34703
Lnet/minecraft/class_6578;field_34703:Lnet/minecraft/class_6497;
official i
Lefs;i:Laxy;
-
slowNoiseParameters
- Mappings:
Namespace Name Mixin selector named slowNoiseParameters
Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;slowNoiseParameters:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler$NoiseParameters;
intermediary field_34704
Lnet/minecraft/class_6578;field_34704:Lnet/minecraft/class_5216$class_5487;
official j
Lefs;j:Lenm$a;
-
slowScale
private final float slowScale- Mappings:
Namespace Name Mixin selector named slowScale
Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;slowScale:F
intermediary field_34705
Lnet/minecraft/class_6578;field_34705:F
official k
Lefs;k:F
-
slowNoiseSampler
- Mappings:
Namespace Name Mixin selector named slowNoiseSampler
Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;slowNoiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
intermediary field_34706
Lnet/minecraft/class_6578;field_34706:Lnet/minecraft/class_5216;
official l
Lefs;l:Lenm;
-
-
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 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
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
official <init>
Lefs;<init>(Laxy;Lenm$a;FJLenm$a;FLjava/util/List;)V
-
-
Method Details
-
getType
Returns the type of this block state provider.- Overrides:
getType
in classNoiseBlockStateProvider
- 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
Lefq;a()Lefr;
-
get
Returns a provided block state.- Overrides:
get
in classNoiseBlockStateProvider
- 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
Lefq;a(Layo;Lja;)Ldsl;
-
getSlowNoiseValue
- Mappings:
Namespace Name Mixin selector named getSlowNoiseValue
Lnet/minecraft/world/gen/stateprovider/DualNoiseBlockStateProvider;getSlowNoiseValue(Lnet/minecraft/util/math/BlockPos;)D
intermediary method_38435
Lnet/minecraft/class_6578;method_38435(Lnet/minecraft/class_2338;)D
official a
Lefs;a(Lja;)D
-