Class AsyncChunkSnapshotBlockSource
java.lang.Object
net.citizensnpcs.api.astar.pathfinder.BlockSource
net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource<ChunkSnapshot>
net.citizensnpcs.api.astar.pathfinder.AsyncChunkSnapshotBlockSource
-
Field Summary
Fields inherited from class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
world
-
Constructor Summary
ConstructorDescriptionAsyncChunkSnapshotBlockSource
(Location location, float radius) AsyncChunkSnapshotBlockSource
(World world, int x, int z, float radius) -
Method Summary
Modifier and TypeMethodDescriptionprotected ChunkSnapshot
getChunkObject
(int x, int z) protected BoundingBox
getCollisionBox
(ChunkSnapshot chunk, int x, int y, int z) protected int
getLightLevel
(ChunkSnapshot chunk, int x, int y, int z) protected Material
getType
(ChunkSnapshot chunk, int x, int y, int z) Methods inherited from class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
getCollisionBox, getMaterialAt, getWorld
Methods inherited from class net.citizensnpcs.api.astar.pathfinder.BlockSource
getBlockAt, getBlockAt, getCollisionBox, getMaterialAt
-
Constructor Details
-
AsyncChunkSnapshotBlockSource
-
AsyncChunkSnapshotBlockSource
-
-
Method Details
-
getChunkObject
- Specified by:
getChunkObject
in classCachingChunkBlockSource<ChunkSnapshot>
-
getCollisionBox
- Specified by:
getCollisionBox
in classCachingChunkBlockSource<ChunkSnapshot>
-
getLightLevel
- Specified by:
getLightLevel
in classCachingChunkBlockSource<ChunkSnapshot>
-
getType
- Specified by:
getType
in classCachingChunkBlockSource<ChunkSnapshot>
-