Class SingleBiomeProvider
java.lang.Object
net.minecraft.world.biome.provider.BiomeProvider
net.minecraft.world.biome.provider.SingleBiomeProvider
- All Implemented Interfaces:
BiomeManager.IBiomeReader
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SingleBiomeProvider>
Fields inherited from class net.minecraft.world.biome.provider.BiomeProvider
possibleBiomes, supportedStructures, surfaceBlocks
-
Constructor Summary
ConstructorDescriptionSingleBiomeProvider
(Supplier<Biome> p_i241945_1_) SingleBiomeProvider
(Biome p_i46709_1_) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.mojang.serialization.Codec<? extends BiomeProvider>
codec()
findBiomeHorizontal
(int p_230321_1_, int p_230321_2_, int p_230321_3_, int p_230321_4_, int p_230321_5_, Predicate<Biome> p_230321_6_, Random p_230321_7_, boolean p_230321_8_) getBiomesWithin
(int p_225530_1_, int p_225530_2_, int p_225530_3_, int p_225530_4_) getNoiseBiome
(int p_225526_1_, int p_225526_2_, int p_225526_3_) withSeed
(long p_230320_1_) Methods inherited from class net.minecraft.world.biome.provider.BiomeProvider
canGenerateStructure, findBiomeHorizontal, getSurfaceBlocks, possibleBiomes
-
Field Details
-
CODEC
-
biome
-
-
Constructor Details
-
SingleBiomeProvider
-
SingleBiomeProvider
-
-
Method Details
-
codec
- Specified by:
codec
in classBiomeProvider
-
withSeed
- Specified by:
withSeed
in classBiomeProvider
-
getNoiseBiome
-
findBiomeHorizontal
@Nullable public BlockPos findBiomeHorizontal(int p_230321_1_, int p_230321_2_, int p_230321_3_, int p_230321_4_, int p_230321_5_, Predicate<Biome> p_230321_6_, Random p_230321_7_, boolean p_230321_8_) - Overrides:
findBiomeHorizontal
in classBiomeProvider
-
getBiomesWithin
public Set<Biome> getBiomesWithin(int p_225530_1_, int p_225530_2_, int p_225530_3_, int p_225530_4_) - Overrides:
getBiomesWithin
in classBiomeProvider
-