Package net.minecraft.world.level.biome
Class MultiNoiseBiomeSource
java.lang.Object
net.minecraft.world.level.biome.BiomeSource
net.minecraft.world.level.biome.MultiNoiseBiomeSource
- All Implemented Interfaces:
BiomeResolver
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MultiNoiseBiomeSource>
static final com.mojang.serialization.MapCodec<Climate.ParameterList<Holder<Biome>>>
private final com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>,
Holder<MultiNoiseBiomeSourceParameterList>> private static final com.mojang.serialization.MapCodec<Holder<MultiNoiseBiomeSourceParameterList>>
-
Constructor Summary
ModifierConstructorDescriptionprivate
MultiNoiseBiomeSource
(com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> p_275370_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugInfo
(List<String> p_207895_, BlockPos p_207896_, Climate.Sampler p_207897_) protected com.mojang.serialization.Codec<? extends BiomeSource>
codec()
static MultiNoiseBiomeSource
createFromList
(Climate.ParameterList<Holder<Biome>> p_275223_) static MultiNoiseBiomeSource
createFromPreset
(Holder<MultiNoiseBiomeSourceParameterList> p_275250_) getNoiseBiome
(int p_204272_, int p_204273_, int p_204274_, Climate.Sampler p_204275_) getNoiseBiome
(Climate.TargetPoint p_204270_) private Climate.ParameterList<Holder<Biome>>
boolean
stable
(ResourceKey<MultiNoiseBiomeSourceParameterList> p_275637_) Methods inherited from class net.minecraft.world.level.biome.BiomeSource
findBiomeHorizontal, findBiomeHorizontal, findClosestBiome3d, getBiomesWithin, possibleBiomes
-
Field Details
-
ENTRY_CODEC
-
DIRECT_CODEC
public static final com.mojang.serialization.MapCodec<Climate.ParameterList<Holder<Biome>>> DIRECT_CODEC -
PRESET_CODEC
private static final com.mojang.serialization.MapCodec<Holder<MultiNoiseBiomeSourceParameterList>> PRESET_CODEC -
CODEC
-
parameters
private final com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>,Holder<MultiNoiseBiomeSourceParameterList>> parameters
-
-
Constructor Details
-
MultiNoiseBiomeSource
private MultiNoiseBiomeSource(com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> p_275370_)
-
-
Method Details
-
createFromList
-
createFromPreset
public static MultiNoiseBiomeSource createFromPreset(Holder<MultiNoiseBiomeSourceParameterList> p_275250_) -
parameters
-
collectPossibleBiomes
- Specified by:
collectPossibleBiomes
in classBiomeSource
-
codec
- Specified by:
codec
in classBiomeSource
-
stable
-
getNoiseBiome
public Holder<Biome> getNoiseBiome(int p_204272_, int p_204273_, int p_204274_, Climate.Sampler p_204275_) - Specified by:
getNoiseBiome
in interfaceBiomeResolver
- Specified by:
getNoiseBiome
in classBiomeSource
-
getNoiseBiome
-
addDebugInfo
- Overrides:
addDebugInfo
in classBiomeSource
-