枚举的使用
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) 获取给定坐标处对应于指定高度映射的最高方块.World.getHighestBlockAt(@NotNull Location location, @NotNull HeightMap heightMap) intRegionAccessor.getHighestBlockYAt(int x, int z, @NotNull HeightMap heightMap) 获取指定坐标处对应于高度图的最高坐标.intRegionAccessor.getHighestBlockYAt(@NotNull Location location, @NotNull HeightMap heightMap) -
org.bukkit.generator中HeightMap的使用
参数类型为HeightMap的org.bukkit.generator中的方法