Package org.bukkit
Enum HeightMap
- All Implemented Interfaces:
Serializable
,Comparable<HeightMap>
,java.lang.constant.Constable
Further information regarding heightmaps.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe highest block that blocks motion or contains a fluid.The highest block that blocks motion or contains a fluid or is in theTag.LEAVES
.The highest non-air block, solid block.The highest block that is neither air nor contains a fluid, for worldgen.The highest non-air block.The highest non-air block, for worldgen. -
Method Summary
-
Enum Constant Details
-
MOTION_BLOCKING
The highest block that blocks motion or contains a fluid. -
MOTION_BLOCKING_NO_LEAVES
The highest block that blocks motion or contains a fluid or is in theTag.LEAVES
. -
OCEAN_FLOOR
The highest non-air block, solid block. -
OCEAN_FLOOR_WG
The highest block that is neither air nor contains a fluid, for worldgen. -
WORLD_SURFACE
The highest non-air block. -
WORLD_SURFACE_WG
The highest non-air block, for worldgen.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-