public class FixedBiomeSource extends BiomeSource
Modifier and Type | Field and Description |
---|---|
private Supplier<Biome> |
biome |
static com.mojang.serialization.Codec<FixedBiomeSource> |
CODEC |
biomes, structureFeatures, topMaterials
Constructor and Description |
---|
FixedBiomeSource(Biome biome) |
FixedBiomeSource(Supplier<Biome> biome) |
Modifier and Type | Method and 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) |
getBiomes, getTopMaterials, hasStructureFeature, locateBiome
public static final com.mojang.serialization.Codec<FixedBiomeSource> CODEC
public FixedBiomeSource(Biome biome)
protected com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
getCodec
in class BiomeSource
@Environment(value=CLIENT) public BiomeSource withSeed(long seed)
withSeed
in class BiomeSource
public Biome getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
@Nullable public BlockPos locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)
locateBiome
in class BiomeSource
public Set<Biome> getBiomesInArea(int x, int y, int z, int radius)
getBiomesInArea
in class BiomeSource