public abstract class GenLayerBiomeReplacer
extends net.minecraft.world.gen.layer.GenLayer
Modifier and Type | Field and Description |
---|---|
protected int |
newBiomeId |
protected double |
noiseScale |
protected double |
noiseThreshold |
static int |
OFFSET_RANGE |
protected double |
xOffset |
protected double |
zOffset |
Constructor and Description |
---|
GenLayerBiomeReplacer(long worldSeed,
long seed,
net.minecraft.world.gen.layer.GenLayer parent,
double noiseScale,
double noiseThreshold,
int newBiomeId) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
canReplaceBiome(int biomeId) |
int[] |
getInts(int x,
int z,
int width,
int length) |
public static final int OFFSET_RANGE
protected final double xOffset
protected final double zOffset
protected final double noiseScale
protected final double noiseThreshold
protected final int newBiomeId
public GenLayerBiomeReplacer(long worldSeed, long seed, net.minecraft.world.gen.layer.GenLayer parent, double noiseScale, double noiseThreshold, int newBiomeId)
worldSeed
- seed
- parent
- noiseScale
- The scale of the noise field, smaller numbers zoom in the noise field.noiseThreshold
- The strength the field must reach to replace the biome. Larger numbers result in smaller
patches.newBiomeId
-