Package com.destroystokyo.paper
Enum Class HeightmapType
- All Implemented Interfaces:
Serializable
,Comparable<HeightmapType>
,Constable
Deprecated.
Enumeration of different heightmap types maintained by the server. Generally using these maps is much faster
than using an iterative search for a block in a given x, z coordinate.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.References the highest block in the world.Deprecated.The highest block used for lighting in the world.Deprecated.References the highest solid block in a world.Deprecated.References the highest solid or liquid block in a world.Deprecated.References the highest solid or liquid block in a world, excluding leaves. -
Method Summary
Modifier and TypeMethodDescriptionstatic HeightmapType
Deprecated.Returns the enum constant of this class with the specified name.static HeightmapType[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIGHT_BLOCKING
Deprecated.The highest block used for lighting in the world. Also the block returned byWorld.getHighestBlockYAt(int, int)
} -
ANY
Deprecated.References the highest block 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.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
HeightMap
and the non-deprecated getHighestBlock methods on World such asWorld.getHighestBlockAt(Location, HeightMap)
.