public abstract class BiomeSource extends Object implements BiomeAccess.Storage
| Modifier and Type | Field and Description |
|---|---|
protected List<Biome> |
biomes |
static com.mojang.serialization.Codec<BiomeSource> |
field_24713 |
private static List<Biome> |
SPAWN_BIOMES |
protected Map<StructureFeature<?>,Boolean> |
structureFeatures |
protected Set<BlockState> |
topMaterials |
| Modifier | Constructor and Description |
|---|---|
protected |
BiomeSource(List<Biome> biomes) |
| Modifier and Type | Method and Description |
|---|---|
Set<Biome> |
getBiomesInArea(int x,
int y,
int z,
int radius) |
List<Biome> |
getSpawnBiomes() |
Set<BlockState> |
getTopMaterials() |
boolean |
hasStructureFeature(StructureFeature<?> feature) |
BlockPos |
locateBiome(int x,
int y,
int z,
int radius,
int int2,
List<Biome> biomes,
Random random,
boolean bool) |
BlockPos |
locateBiome(int x,
int y,
int z,
int radius,
List<Biome> biomes,
Random random) |
protected abstract com.mojang.serialization.Codec<? extends BiomeSource> |
method_28442() |
List<Biome> |
method_28443() |
abstract BiomeSource |
withSeed(long seed) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBiomeForNoiseGenpublic static final com.mojang.serialization.Codec<BiomeSource> field_24713
protected final Map<StructureFeature<?>,Boolean> structureFeatures
protected final Set<BlockState> topMaterials
protected abstract com.mojang.serialization.Codec<? extends BiomeSource> method_28442()
@Environment(value=CLIENT) public abstract BiomeSource withSeed(long seed)
@Nullable public BlockPos locateBiome(int x, int y, int z, int radius, List<Biome> biomes, Random random)
@Nullable public BlockPos locateBiome(int x, int y, int z, int radius, int int2, List<Biome> biomes, Random random, boolean bool)
public boolean hasStructureFeature(StructureFeature<?> feature)
public Set<BlockState> getTopMaterials()