Package net.minecraft.world.biome.source
Class FixedBiomeSource
java.lang.Object
net.minecraft.world.biome.source.BiomeSource
net.minecraft.world.biome.source.FixedBiomeSource
- All Implemented Interfaces:
BiomeAccess.Storage
public class FixedBiomeSource extends BiomeSource
-
Field Summary
Fields Modifier and Type Field Description private Supplier<Biome>
biome
static com.mojang.serialization.Codec<FixedBiomeSource>
CODEC
Fields inherited from class net.minecraft.world.biome.source.BiomeSource
biomes, structureFeatures, topMaterials
-
Constructor Summary
Constructors Constructor Description FixedBiomeSource(Supplier<Biome> biome)
FixedBiomeSource(Biome biome)
-
Method Summary
Modifier and Type Method Description Biome
getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
Set<Biome>
getBiomesInArea(int x, int y, int z, int radius)
protected com.mojang.serialization.Codec<? extends BiomeSource>
getCodec()
BlockPos
locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)
BiomeSource
withSeed(long seed)
Methods inherited from class net.minecraft.world.biome.source.BiomeSource
getBiomes, getTopMaterials, hasStructureFeature, 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
method_31609
-
Field Details
-
CODEC
-
biome
-
-
Constructor Details
-
FixedBiomeSource
-
FixedBiomeSource
-
-
Method Details
-
getCodec
- Specified by:
getCodec
in classBiomeSource
-
withSeed
- Specified by:
withSeed
in classBiomeSource
-
getBiomeForNoiseGen
-
locateBiome
@Nullable public BlockPos locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)- Overrides:
locateBiome
in classBiomeSource
-
getBiomesInArea
- Overrides:
getBiomesInArea
in classBiomeSource
-