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 |
---|---|
@NotNull Biome |
World.getBiome(int x,
int z)
Deprecated.
biomes are now 3-dimensional
|
@NotNull Biome |
ChunkSnapshot.getBiome(int x,
int z)
Deprecated.
biomes are now 3-dimensional
|
@NotNull Biome |
World.getBiome(int x,
int y,
int z)
Gets the biome for the given block coordinates.
|
@NotNull Biome |
ChunkSnapshot.getBiome(int x,
int y,
int z)
Get biome at given coordinates
|
Modifier and Type | Method and Description |
---|---|
@Nullable Location |
World.locateNearestBiome(@NotNull Location origin,
@NotNull Biome biome,
int radius)
Locates the nearest biome based on an origin, biome type, and radius to search.
|
@Nullable Location |
World.locateNearestBiome(@NotNull Location origin,
@NotNull Biome biome,
int radius,
int step)
Locates the nearest biome based on an origin, biome type, and radius to search
and step
|
void |
World.setBiome(int x,
int z,
@NotNull Biome bio)
Deprecated.
biomes are now 3-dimensional
|
void |
World.setBiome(int x,
int y,
int z,
@NotNull Biome bio)
Sets the biome for the given block coordinates
|
Modifier and Type | Method and Description |
---|---|
@NotNull 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(@NotNull Biome bio)
Sets the biome that this block resides in
|
Modifier and Type | Method and Description |
---|---|
@NotNull Biome |
ChunkGenerator.BiomeGrid.getBiome(int x,
int z)
Deprecated.
biomes are now 3-dimensional
|
@NotNull Biome |
ChunkGenerator.BiomeGrid.getBiome(int x,
int y,
int z)
Get biome at x, z within chunk being generated
|
Modifier and Type | Method and Description |
---|---|
void |
ChunkGenerator.BiomeGrid.setBiome(int x,
int z,
@NotNull Biome bio)
Deprecated.
biomes are now 3-dimensional
|
void |
ChunkGenerator.BiomeGrid.setBiome(int x,
int y,
int z,
@NotNull Biome bio)
Set biome at x, z within chunk being generated
|
Copyright © 2021. All rights reserved.