Class OverworldBiomeProvider
- java.lang.Object
-
- net.minecraft.world.biome.provider.BiomeProvider
-
- net.minecraft.world.biome.provider.OverworldBiomeProvider
-
- All Implemented Interfaces:
BiomeManager.IBiomeReader
public class OverworldBiomeProvider extends BiomeProvider
-
-
Field Summary
Fields Modifier and Type Field Description private Registry<Biome>
biomes
static com.mojang.serialization.Codec<OverworldBiomeProvider>
CODEC
private boolean
largeBiomes
private boolean
legacyBiomeInitLayer
private Layer
noiseBiomeLayer
private static java.util.List<RegistryKey<Biome>>
POSSIBLE_BIOMES
private long
seed
-
Fields inherited from class net.minecraft.world.biome.provider.BiomeProvider
possibleBiomes, supportedStructures, surfaceBlocks
-
-
Constructor Summary
Constructors Constructor Description OverworldBiomeProvider(long p_i241958_1_, boolean p_i241958_3_, boolean p_i241958_4_, Registry<Biome> p_i241958_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.mojang.serialization.Codec<? extends BiomeProvider>
codec()
Biome
getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
BiomeProvider
withSeed(long p_230320_1_)
-
Methods inherited from class net.minecraft.world.biome.provider.BiomeProvider
canGenerateStructure, findBiomeHorizontal, findBiomeHorizontal, getBiomesWithin, getSurfaceBlocks, possibleBiomes
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<OverworldBiomeProvider> CODEC
-
noiseBiomeLayer
private final Layer noiseBiomeLayer
-
POSSIBLE_BIOMES
private static final java.util.List<RegistryKey<Biome>> POSSIBLE_BIOMES
-
seed
private final long seed
-
legacyBiomeInitLayer
private final boolean legacyBiomeInitLayer
-
largeBiomes
private final boolean largeBiomes
-
-
Method Detail
-
codec
protected com.mojang.serialization.Codec<? extends BiomeProvider> codec()
- Specified by:
codec
in classBiomeProvider
-
withSeed
public BiomeProvider withSeed(long p_230320_1_)
- Specified by:
withSeed
in classBiomeProvider
-
getNoiseBiome
public Biome getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
-
-