Serializable, Comparable<HeightMap>public enum HeightMap extends Enum<HeightMap>
| Enum Constant | Description | 
|---|---|
| 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 the
  Tag.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. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static HeightMap | valueOf(String name) | Returns the enum constant of this type with the specified name. | 
| static HeightMap[] | values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final HeightMap MOTION_BLOCKING
public static final HeightMap MOTION_BLOCKING_NO_LEAVES
Tag.LEAVES.public static final HeightMap OCEAN_FLOOR
public static final HeightMap OCEAN_FLOOR_WG
public static final HeightMap WORLD_SURFACE
public static final HeightMap WORLD_SURFACE_WG
public static HeightMap[] values()
for (HeightMap c : HeightMap.values()) System.out.println(c);
public static HeightMap 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.