Class ChunkSnapshotBlockSource
java.lang.Object
net.citizensnpcs.api.astar.pathfinder.BlockSource
net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource<ChunkSnapshot>
net.citizensnpcs.api.astar.pathfinder.ChunkSnapshotBlockSource
-
Field Summary
Fields inherited from class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
world
-
Constructor Summary
ConstructorDescriptionChunkSnapshotBlockSource
(Location location, float radius) ChunkSnapshotBlockSource
(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
-
ChunkSnapshotBlockSource
-
ChunkSnapshotBlockSource
-
-
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>
-