HeightMap and the
non-deprecated getHighestBlock methods on World such as World.getHighestBlockAt(Location, HeightMap).@Deprecated public enum HeightmapType extends Enum<HeightmapType>
| Enum Constant and Description |
|---|
ANY
Deprecated.
References the highest block in the world.
|
LIGHT_BLOCKING
Deprecated.
The highest block used for lighting in the world.
|
SOLID
Deprecated.
References the highest solid block in a world.
|
SOLID_OR_LIQUID
Deprecated.
References the highest solid or liquid block in a world.
|
SOLID_OR_LIQUID_NO_LEAVES
Deprecated.
References the highest solid or liquid block in a world, excluding leaves.
|
| Modifier and Type | Method and Description |
|---|---|
static HeightmapType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static HeightmapType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeightmapType LIGHT_BLOCKING
World.getHighestBlockYAt(int, int)}public static final HeightmapType ANY
public static final HeightmapType SOLID
public static final HeightmapType SOLID_OR_LIQUID
public static final HeightmapType SOLID_OR_LIQUID_NO_LEAVES
public static HeightmapType[] values()
for (HeightmapType c : HeightmapType.values()) System.out.println(c);
public static HeightmapType 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 nullCopyright © 2021. All rights reserved.