Package com.destroystokyo.paper
Enum Class HeightmapType
- All Implemented Interfaces:
Serializable
,Comparable<HeightmapType>
,Constable
@Deprecated(forRemoval=true)
@ScheduledForRemoval(inVersion="1.21")
public enum HeightmapType
extends Enum<HeightmapType>
Deprecated, for removal: This API element is subject to removal in a future version.
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, for removal: This API element is subject to removal in a future version.References the highest block in the world.Deprecated, for removal: This API element is subject to removal in a future version.The highest block used for lighting in the world.Deprecated, for removal: This API element is subject to removal in a future version.References the highest solid block in a world.Deprecated, for removal: This API element is subject to removal in a future version.References the highest solid or liquid block in a world.Deprecated, for removal: This API element is subject to removal in a future version.References the highest solid or liquid block in a world, excluding leaves. -
Method Summary
Modifier and TypeMethodDescriptionstatic HeightmapType
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.static HeightmapType[]
values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIGHT_BLOCKING
Deprecated, for removal: This API element is subject to removal in a future version.The highest block used for lighting in the world. Also the block returned byRegionAccessor.getHighestBlockYAt(int, int)
} -
ANY
Deprecated, for removal: This API element is subject to removal in a future version.References the highest block in the world. -
SOLID
Deprecated, for removal: This API element is subject to removal in a future version.References the highest solid block in a world. -
SOLID_OR_LIQUID
Deprecated, for removal: This API element is subject to removal in a future version.References the highest solid or liquid block in a world. -
SOLID_OR_LIQUID_NO_LEAVES
Deprecated, for removal: This API element is subject to removal in a future version.References the highest solid or liquid block in a world, excluding leaves.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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(org.bukkit.Location, org.bukkit.HeightMap)
.