public static enum ChunkInterpolator.InterpolationType extends Enum<ChunkInterpolator.InterpolationType>
Enum Constant and Description |
---|
BILINEAR
2D (Bilinear) interpolation
|
TRILINEAR
3D (Trilinear) interpolation
|
Modifier and Type | Method and Description |
---|---|
abstract ChunkInterpolator |
getInstance(org.bukkit.World w,
int chunkX,
int chunkZ,
BiomeGrid grid,
FastNoiseLite noise) |
static ChunkInterpolator.InterpolationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkInterpolator.InterpolationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkInterpolator.InterpolationType BILINEAR
public static final ChunkInterpolator.InterpolationType TRILINEAR
public static ChunkInterpolator.InterpolationType[] values()
for (ChunkInterpolator.InterpolationType c : ChunkInterpolator.InterpolationType.values()) System.out.println(c);
public static ChunkInterpolator.InterpolationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract ChunkInterpolator getInstance(org.bukkit.World w, int chunkX, int chunkZ, BiomeGrid grid, FastNoiseLite noise)
Copyright © 2020. All rights reserved.