Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.generator |
Classes to facilitate
world generation
implementation. |
Modifier and Type | Field and Description |
---|---|
static Registry<Biome> |
Registry.BIOME
Server biomes.
|
Modifier and Type | Method and Description |
---|---|
Biome |
World.getBiome(int x,
int z)
Deprecated.
biomes are now 3-dimensional
|
Biome |
ChunkSnapshot.getBiome(int x,
int z)
Deprecated.
biomes are now 3-dimensional
|
Biome |
RegionAccessor.getBiome(int x,
int y,
int z)
Gets the
Biome at the given coordinates. |
Biome |
ChunkSnapshot.getBiome(int x,
int y,
int z)
Get biome at given coordinates
|
Biome |
RegionAccessor.getBiome(Location location)
|
Modifier and Type | Method and Description |
---|---|
void |
World.setBiome(int x,
int z,
Biome bio)
Deprecated.
biomes are now 3-dimensional
|
void |
RegionAccessor.setBiome(int x,
int y,
int z,
Biome biome)
Sets the
Biome for the given block coordinates |
void |
RegionAccessor.setBiome(Location location,
Biome biome)
|
Modifier and Type | Method and Description |
---|---|
Biome |
Block.getBiome()
Returns the biome that this block resides in
|
static Biome |
Biome.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Biome[] |
Biome.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Block.setBiome(Biome bio)
Sets the biome that this block resides in
|
Modifier and Type | Method and Description |
---|---|
Biome |
ChunkGenerator.BiomeGrid.getBiome(int x,
int z)
Deprecated.
biomes are now 3-dimensional
|
Biome |
ChunkGenerator.BiomeGrid.getBiome(int x,
int y,
int z)
Deprecated.
Get biome at x, z within chunk being generated
|
Biome |
ChunkGenerator.ChunkData.getBiome(int x,
int y,
int z)
Get the biome at x, y, z within chunk being generated
|
abstract Biome |
BiomeProvider.getBiome(WorldInfo worldInfo,
int x,
int y,
int z)
Return the Biome which should be present at the provided location.
|
Modifier and Type | Method and Description |
---|---|
abstract List<Biome> |
BiomeProvider.getBiomes(WorldInfo worldInfo)
Returns a list with every biome the
BiomeProvider will use for
the given world. |
Modifier and Type | Method and Description |
---|---|
void |
ChunkGenerator.BiomeGrid.setBiome(int x,
int z,
Biome bio)
Deprecated.
biomes are now 3-dimensional
|
void |
ChunkGenerator.BiomeGrid.setBiome(int x,
int y,
int z,
Biome bio)
Deprecated.
Set biome at x, z within chunk being generated
|
Copyright © 2022. All rights reserved.