接口的使用
org.bukkit.generator.structure.GeneratedStructure
使用GeneratedStructure的程序包
-
org.bukkit中GeneratedStructure的使用
返回变量类型为GeneratedStructure的类型的org.bukkit中的方法修饰符和类型方法说明Chunk.getStructures()Gets all generated structures that intersect this chunk.Chunk.getStructures(@NotNull Structure structure) Gets all generated structures of a givenStructurethat intersect this chunk.World.getStructures(int x, int z) Gets all generated structures that intersect the chunk at the given coordinates.World.getStructures(int x, int z, @NotNull Structure structure) Gets all generated structures of a givenStructurethat intersect the chunk at the given coordinates.