接口的使用
org.bukkit.generator.structure.GeneratedStructure
-
org.bukkit中GeneratedStructure的使用
修饰符和类型方法说明Chunk.getStructures()
Gets all generated structures that intersect this chunk.Chunk.getStructures
(@NotNull Structure structure) Gets all generated structures of a givenStructure
that 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 givenStructure
that intersect the chunk at the given coordinates.