Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
Modifier and Type | Method and Description |
---|---|
static HeightMap |
HeightMap.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeightMap[] |
HeightMap.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Block |
World.getHighestBlockAt(int x,
int z,
@NotNull HeightMap heightMap)
Gets the highest block corresponding to the
HeightMap at the
given coordinates. |
@NotNull Block |
World.getHighestBlockAt(@NotNull Location location,
@NotNull HeightMap heightMap)
Gets the highest block corresponding to the
HeightMap at the
given coordinates. |
int |
World.getHighestBlockYAt(int x,
int z,
@NotNull HeightMap heightMap)
Gets the highest coordinate corresponding to the
HeightMap at the
given coordinates. |
int |
World.getHighestBlockYAt(@NotNull Location location,
@NotNull HeightMap heightMap)
|
@NotNull Location |
Location.toHighestLocation(@NotNull HeightMap heightMap)
Returns a copy of this location except with y = getWorld().getHighestBlockYAt(this.getBlockX(), this.getBlockZ(), heightMap)
|
Copyright © 2021. All rights reserved.