接口的使用
org.bukkit.Chunk
-
org.bukkit中Chunk的使用
修饰符和类型方法说明Location.getChunk()
获取此位置位于哪一区块.World.getChunkAt
(int x, int z) 获取给定坐标所在的区块
.World.getChunkAt
(int x, int z, boolean generate) Gets theChunk
at the given coordinatesWorld.getChunkAt
(@NotNull Block block) World.getChunkAt
(@NotNull Location location) World.getLoadedChunks()
获取一个所有被加载的区块
的数组.修饰符和类型方法说明World.getForceLoadedChunks()
Returns all force loaded chunks in this world.World.getPluginChunkTickets()
Returns a map of which plugins have tickets for what chunks. -
org.bukkit.block中Chunk的使用
-
org.bukkit.event.world中Chunk的使用
限定符构造器说明protected
ChunkEvent
(@NotNull Chunk chunk) ChunkLoadEvent
(@NotNull Chunk chunk, boolean newChunk) ChunkPopulateEvent
(@NotNull Chunk chunk) ChunkUnloadEvent
(@NotNull Chunk chunk) ChunkUnloadEvent
(@NotNull Chunk chunk, boolean save) -
org.bukkit.generator中Chunk的使用
BlockPopulator.populate(WorldInfo, Random, int, int, LimitedRegion)