public abstract class Generator extends Object
Constructor and Description |
---|
Generator() |
Modifier and Type | Method and Description |
---|---|
abstract double |
getNoise(FastNoiseLite gen,
org.bukkit.World w,
int x,
int z)
Gets the 2D noise at a pair of coordinates using the provided FastNoiseLite instance.
|
abstract double |
getNoise(FastNoiseLite gen,
org.bukkit.World w,
int x,
int y,
int z)
Gets the 3D noise at a pair of coordinates using the provided FastNoiseLite instance.
|
abstract Palette<org.bukkit.block.data.BlockData> |
getPalette(int y)
Gets the BlocPalette to generate the biome with.
|
abstract boolean |
useMinimalInterpolation()
Returns true if the biome should be interpolated just once, false to use advanced interpolation + blending.
|
public abstract double getNoise(FastNoiseLite gen, org.bukkit.World w, int x, int z)
gen
- - The FastNoiseLite instance to use.x
- - The x coordinate.z
- - The z coordinate.public abstract double getNoise(FastNoiseLite gen, org.bukkit.World w, int x, int y, int z)
gen
- - The FastNoiseLite instance to use.x
- - The x coordinate.y
- - The y coordinate.z
- - The z coordinate.public abstract Palette<org.bukkit.block.data.BlockData> getPalette(int y)
public abstract boolean useMinimalInterpolation()
Copyright © 2020. All rights reserved.