Class ChunkBlockSource
java.lang.Object
net.citizensnpcs.api.astar.pathfinder.BlockSource
net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource<Chunk>
net.citizensnpcs.api.astar.pathfinder.ChunkBlockSource
- Direct Known Subclasses:
NMSChunkBlockSource
-
Field Summary
Fields inherited from class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
world
-
Constructor Summary
ConstructorDescriptionChunkBlockSource
(Location location, float radius) ChunkBlockSource
(World world, int x, int z, float radius) -
Method Summary
Modifier and TypeMethodDescriptionprotected Chunk
getChunkObject
(int x, int z) protected BoundingBox
getCollisionBox
(Chunk chunk, int x, int y, int z) protected int
getLightLevel
(Chunk chunk, int x, int y, int z) protected Material
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
-
ChunkBlockSource
-
ChunkBlockSource
-
-
Method Details
-
getChunkObject
- Specified by:
getChunkObject
in classCachingChunkBlockSource<Chunk>
-
getCollisionBox
- Specified by:
getCollisionBox
in classCachingChunkBlockSource<Chunk>
-
getLightLevel
- Specified by:
getLightLevel
in classCachingChunkBlockSource<Chunk>
-
getType
- Specified by:
getType
in classCachingChunkBlockSource<Chunk>
-