public class NetherDensitySource extends AbstractGenerationPass implements DensitySource
NoiseSource that provides noise similar to that of vanilla's nether terrain.| Modifier and Type | Field and Description |
|---|---|
static Identifier |
ID |
| Constructor and Description |
|---|
NetherDensitySource() |
| Modifier and Type | Method and Description |
|---|---|
double |
get(@NonNull BiomeMap biomes,
int x,
int y,
int z)
Gets the density at the given coordinates.
|
Identifier |
getId() |
protected void |
init0(long levelSeed,
long localSeed,
StandardGenerator generator) |
init, setSeedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetinitpublic static final Identifier ID
protected void init0(long levelSeed,
long localSeed,
StandardGenerator generator)
init0 in class AbstractGenerationPasspublic double get(@NonNull
@NonNull BiomeMap biomes,
int x,
int y,
int z)
DensitySourceget in interface DensitySourcebiomes - a BiomeMap containing the biomes to be used in the worldx - the X coordinatey - the Y coordinatez - the Z coordinatepublic Identifier getId()
getId in interface DensitySourcegetId in interface GenerationPassCopyright © 2020. All rights reserved.