Package | Description |
---|---|
com.destroystokyo.paper | |
org.bukkit |
More generalized classes in the API.
|
Modifier and Type | Method | Description |
---|---|---|
static HeightmapType |
HeightmapType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static HeightmapType[] |
HeightmapType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
default Block |
World.getHighestBlockAt(int x,
int z,
HeightmapType heightmap) |
Returns the highest
Block at the specified block coordinates that match the specified heightmap's conditions. |
default Block |
World.getHighestBlockAt(Location location,
HeightmapType heightmap) |
Returns the highest
Block at the specified block coordinates that match the specified heightmap's conditions. |
int |
World.getHighestBlockYAt(int x,
int z,
HeightmapType heightmap) |
Returns the highest block's y-coordinate at the specified block coordinates that match the specified heightmap's conditions.
|
default int |
World.getHighestBlockYAt(Location location,
HeightmapType heightmap) |
Returns the highest block's y-coordinate at the specified block coordinates that match the specified heightmap's conditions.
|
Location |
Location.toHighestLocation(HeightmapType heightmap) |
Returns a copy of this location except with y = getWorld().getHighestBlockYAt(this.getBlockX(), this.getBlockZ(), heightmap)
|
Copyright © 2020. All rights reserved.