枚举的使用
org.bukkit.HeightMap
使用HeightMap的程序包
- 
org.bukkit中HeightMap的使用返回HeightMap的org.bukkit中的方法修饰符和类型方法说明static HeightMap返回带有指定名称的该类型的枚举常量。static HeightMap[]HeightMap.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为HeightMap的org.bukkit中的方法修饰符和类型方法说明World.getHighestBlockAt(int x, int z, @NotNull HeightMap heightMap) Gets the highest block corresponding to theHeightMapat the given coordinates.World.getHighestBlockAt(@NotNull Location location, @NotNull HeightMap heightMap) Gets the highest block corresponding to theHeightMapat the given coordinates.intRegionAccessor.getHighestBlockYAt(int x, int z, @NotNull HeightMap heightMap) Gets the highest coordinate corresponding to theHeightMapat the given coordinates.intRegionAccessor.getHighestBlockYAt(@NotNull Location location, @NotNull HeightMap heightMap) 
- 
org.bukkit.generator中HeightMap的使用参数类型为HeightMap的org.bukkit.generator中的方法修饰符和类型方法说明intChunkGenerator.getBaseHeight(@NotNull WorldInfo worldInfo, @NotNull Random random, int x, int z, @NotNull HeightMap heightMap) This method is similar toWorld.getHighestBlockAt(int, int, HeightMap).