Class CachingChunkBlockSource<T>
java.lang.Object
net.citizensnpcs.api.astar.pathfinder.BlockSource
net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource<T>
- Direct Known Subclasses:
- AsyncChunkSnapshotBlockSource,- ChunkBlockSource,- ChunkSnapshotBlockSource
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCachingChunkBlockSource(Location location, float radius) protectedCachingChunkBlockSource(World world, int x, int z, float radius) protectedCachingChunkBlockSource(World world, int minX, int minZ, int maxX, int maxZ) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract TgetChunkObject(int x, int z) getCollisionBox(int x, int y, int z) protected abstract BoundingBoxgetCollisionBox(T chunk, int x, int y, int z) protected abstract intgetLightLevel(T chunk, int x, int y, int z) getMaterialAt(int x, int y, int z) protected abstract MaterialgetWorld()Methods inherited from class net.citizensnpcs.api.astar.pathfinder.BlockSourcegetBlockAt, getBlockAt, getCollisionBox, getMaterialAt
- 
Field Details- 
world
 
- 
- 
Constructor Details- 
CachingChunkBlockSource
- 
CachingChunkBlockSource
- 
CachingChunkBlockSource
 
- 
- 
Method Details- 
getChunkObject
- 
getCollisionBox- Specified by:
- getCollisionBoxin class- BlockSource
 
- 
getCollisionBox
- 
getLightLevel
- 
getMaterialAt- Specified by:
- getMaterialAtin class- BlockSource
 
- 
getType
- 
getWorld- Specified by:
- getWorldin class- BlockSource
 
 
-