Package net.minecraft.world.biome.source
Class MultiNoiseBiomeSource
java.lang.Object
net.minecraft.world.biome.source.BiomeSource
net.minecraft.world.biome.source.MultiNoiseBiomeSource
- All Implemented Interfaces:
BiomeAccess.Storage
- Mappings:
Namespace Name official bya
intermediary net/minecraft/class_4766
named net/minecraft/world/biome/source/MultiNoiseBiomeSource
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final class
private static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DoublePerlinNoiseSampler
private final MultiNoiseBiomeSource.NoiseParameters
private final List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,
Supplier<Biome>>> static final com.mojang.serialization.Codec<MultiNoiseBiomeSource>
static final com.mojang.serialization.MapCodec<MultiNoiseBiomeSource>
Used to parse a custom biome source, when a preset hasn't been provided.private static final MultiNoiseBiomeSource.NoiseParameters
private final DoublePerlinNoiseSampler
private final MultiNoiseBiomeSource.NoiseParameters
private final Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,
MultiNoiseBiomeSource.Preset>> private final long
private final DoublePerlinNoiseSampler
private final MultiNoiseBiomeSource.NoiseParameters
private final boolean
private final DoublePerlinNoiseSampler
private final MultiNoiseBiomeSource.NoiseParameters
Fields inherited from class net.minecraft.world.biome.source.BiomeSource
biomes, structureFeatures, topMaterials
-
Constructor Summary
ModifierConstructorDescriptionMultiNoiseBiomeSource
(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint, Supplier<Biome>>> biomePoints) (package private)
MultiNoiseBiomeSource
(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint, Supplier<Biome>>> biomePoints, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>, MultiNoiseBiomeSource.Preset>> instance) private
MultiNoiseBiomeSource
(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint, Supplier<Biome>>> biomePoints, MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters, MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters, MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters, MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters) private
MultiNoiseBiomeSource
(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint, Supplier<Biome>>> biomePoints, MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters, MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters, MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters, MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>, MultiNoiseBiomeSource.Preset>> instance) -
Method Summary
Modifier and TypeMethodDescriptiongetBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) protected com.mojang.serialization.Codec<? extends BiomeSource>
getCodec()
private Optional<MultiNoiseBiomeSource.Instance>
boolean
matchesInstance
(long seed) static ImmutableList<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,
Supplier<Biome>>> method_35241
(Registry<Biome> registry) static MultiNoiseBiomeSource
method_35242
(Registry<Biome> registry, long long2) withSeed
(long seed) Methods inherited from class net.minecraft.world.biome.source.BiomeSource
getBiomes, getBiomesInArea, getTopMaterials, hasStructureFeature, locateBiome, locateBiome
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen
-
Field Details
-
DEFAULT_NOISE_PARAMETERS
- Mappings:
Namespace Name Mixin selector official g
Lbya;g:Lbya$a;
intermediary field_26433
Lnet/minecraft/class_4766;field_26433:Lnet/minecraft/class_4766$class_5487;
named DEFAULT_NOISE_PARAMETERS
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;DEFAULT_NOISE_PARAMETERS:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;
-
CUSTOM_CODEC
Used to parse a custom biome source, when a preset hasn't been provided.- Mappings:
Namespace Name Mixin selector official e
Lbya;e:Lcom/mojang/serialization/MapCodec;
intermediary field_24718
Lnet/minecraft/class_4766;field_24718:Lcom/mojang/serialization/MapCodec;
named CUSTOM_CODEC
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;CUSTOM_CODEC:Lcom/mojang/serialization/MapCodec;
-
CODEC
- Mappings:
Namespace Name Mixin selector official f
Lbya;f:Lcom/mojang/serialization/Codec;
intermediary field_24719
Lnet/minecraft/class_4766;field_24719:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;CODEC:Lcom/mojang/serialization/Codec;
-
temperatureNoiseParameters
- Mappings:
Namespace Name Mixin selector official h
Lbya;h:Lbya$a;
intermediary field_26434
Lnet/minecraft/class_4766;field_26434:Lnet/minecraft/class_4766$class_5487;
named temperatureNoiseParameters
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;temperatureNoiseParameters:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;
-
humidityNoiseParameters
- Mappings:
Namespace Name Mixin selector official i
Lbya;i:Lbya$a;
intermediary field_26435
Lnet/minecraft/class_4766;field_26435:Lnet/minecraft/class_4766$class_5487;
named humidityNoiseParameters
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;humidityNoiseParameters:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;
-
altitudeNoiseParameters
- Mappings:
Namespace Name Mixin selector official j
Lbya;j:Lbya$a;
intermediary field_26436
Lnet/minecraft/class_4766;field_26436:Lnet/minecraft/class_4766$class_5487;
named altitudeNoiseParameters
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;altitudeNoiseParameters:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;
-
weirdnessNoiseParameters
- Mappings:
Namespace Name Mixin selector official k
Lbya;k:Lbya$a;
intermediary field_26437
Lnet/minecraft/class_4766;field_26437:Lnet/minecraft/class_4766$class_5487;
named weirdnessNoiseParameters
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;weirdnessNoiseParameters:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;
-
temperatureNoise
- Mappings:
Namespace Name Mixin selector official l
Lbya;l:Lddv;
intermediary field_22078
Lnet/minecraft/class_4766;field_22078:Lnet/minecraft/class_5216;
named temperatureNoise
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;temperatureNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
humidityNoise
- Mappings:
Namespace Name Mixin selector official m
Lbya;m:Lddv;
intermediary field_22079
Lnet/minecraft/class_4766;field_22079:Lnet/minecraft/class_5216;
named humidityNoise
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;humidityNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
altitudeNoise
- Mappings:
Namespace Name Mixin selector official n
Lbya;n:Lddv;
intermediary field_22080
Lnet/minecraft/class_4766;field_22080:Lnet/minecraft/class_5216;
named altitudeNoise
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;altitudeNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
weirdnessNoise
- Mappings:
Namespace Name Mixin selector official o
Lbya;o:Lddv;
intermediary field_22081
Lnet/minecraft/class_4766;field_22081:Lnet/minecraft/class_5216;
named weirdnessNoise
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;weirdnessNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
biomePoints
private final List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> biomePoints- Mappings:
Namespace Name Mixin selector official p
Lbya;p:Ljava/util/List;
intermediary field_24115
Lnet/minecraft/class_4766;field_24115:Ljava/util/List;
named biomePoints
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;biomePoints:Ljava/util/List;
-
threeDimensionalSampling
private final boolean threeDimensionalSampling- Mappings:
Namespace Name Mixin selector official q
Lbya;q:Z
intermediary field_24116
Lnet/minecraft/class_4766;field_24116:Z
named threeDimensionalSampling
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;threeDimensionalSampling:Z
-
seed
private final long seed- Mappings:
Namespace Name Mixin selector official r
Lbya;r:J
intermediary field_24720
Lnet/minecraft/class_4766;field_24720:J
named seed
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;seed:J
-
instance
private final Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> instance- Mappings:
Namespace Name Mixin selector official s
Lbya;s:Ljava/util/Optional;
intermediary field_24721
Lnet/minecraft/class_4766;field_24721:Ljava/util/Optional;
named instance
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;instance:Ljava/util/Optional;
-
-
Constructor Details
-
MultiNoiseBiomeSource
public MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint, Supplier<Biome>>> biomePoints) - Mappings:
Namespace Name Mixin selector official <init>
Lbya;<init>(JLjava/util/List;)V
intermediary <init>
Lnet/minecraft/class_4766;<init>(JLjava/util/List;)V
named <init>
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(JLjava/util/List;)V
-
MultiNoiseBiomeSource
MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint, Supplier<Biome>>> biomePoints, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>, MultiNoiseBiomeSource.Preset>> instance) - Mappings:
Namespace Name Mixin selector official <init>
Lbya;<init>(JLjava/util/List;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_4766;<init>(JLjava/util/List;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(JLjava/util/List;Ljava/util/Optional;)V
-
MultiNoiseBiomeSource
private MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint, Supplier<Biome>>> biomePoints, MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters, MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters, MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters, MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters) - Mappings:
Namespace Name Mixin selector official <init>
Lbya;<init>(JLjava/util/List;Lbya$a;Lbya$a;Lbya$a;Lbya$a;)V
intermediary <init>
Lnet/minecraft/class_4766;<init>(JLjava/util/List;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;)V
named <init>
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(JLjava/util/List;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;)V
-
MultiNoiseBiomeSource
private MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint, Supplier<Biome>>> biomePoints, MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters, MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters, MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters, MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>, MultiNoiseBiomeSource.Preset>> instance) - Mappings:
Namespace Name Mixin selector official <init>
Lbya;<init>(JLjava/util/List;Lbya$a;Lbya$a;Lbya$a;Lbya$a;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_4766;<init>(JLjava/util/List;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(JLjava/util/List;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Ljava/util/Optional;)V
-
-
Method Details
-
method_35242
- Mappings:
Namespace Name Mixin selector official a
Lbya;a(Lgw;J)Lbya;
intermediary method_35242
Lnet/minecraft/class_4766;method_35242(Lnet/minecraft/class_2378;J)Lnet/minecraft/class_4766;
named method_35242
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;method_35242(Lnet/minecraft/util/registry/Registry;J)Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;
-
getCodec
- Specified by:
getCodec
in classBiomeSource
- Mappings:
Namespace Name Mixin selector official a
Lbxr;a()Lcom/mojang/serialization/Codec;
intermediary method_28442
Lnet/minecraft/class_1966;method_28442()Lcom/mojang/serialization/Codec;
named getCodec
Lnet/minecraft/world/biome/source/BiomeSource;getCodec()Lcom/mojang/serialization/Codec;
-
withSeed
- Specified by:
withSeed
in classBiomeSource
- Mappings:
Namespace Name Mixin selector official a
Lbxr;a(J)Lbxr;
intermediary method_27985
Lnet/minecraft/class_1966;method_27985(J)Lnet/minecraft/class_1966;
named withSeed
Lnet/minecraft/world/biome/source/BiomeSource;withSeed(J)Lnet/minecraft/world/biome/source/BiomeSource;
-
getInstance
- Mappings:
Namespace Name Mixin selector official d
Lbya;d()Ljava/util/Optional;
intermediary method_31085
Lnet/minecraft/class_4766;method_31085()Ljava/util/Optional;
named getInstance
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;getInstance()Ljava/util/Optional;
-
getBiomeForNoiseGen
- Mappings:
Namespace Name Mixin selector official b
Lbxq$a;b(III)Lbxo;
intermediary method_16359
Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_1959;
named getBiomeForNoiseGen
Lnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/world/biome/Biome;
-
method_35241
public static ImmutableList<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> method_35241(Registry<Biome> registry) - Mappings:
Namespace Name Mixin selector official a
Lbya;a(Lgw;)Lcom/google/common/collect/ImmutableList;
intermediary method_35241
Lnet/minecraft/class_4766;method_35241(Lnet/minecraft/class_2378;)Lcom/google/common/collect/ImmutableList;
named method_35241
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;method_35241(Lnet/minecraft/util/registry/Registry;)Lcom/google/common/collect/ImmutableList;
-
matchesInstance
public boolean matchesInstance(long seed) - Mappings:
Namespace Name Mixin selector official b
Lbya;b(J)Z
intermediary method_28462
Lnet/minecraft/class_4766;method_28462(J)Z
named matchesInstance
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;matchesInstance(J)Z
-