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
ConstructorsConstructorDescriptionChunkSnapshotBlockSource(Location location, float radius) ChunkSnapshotBlockSource(World world, int x, int z, float radius) -
Method Summary
Modifier and TypeMethodDescriptionprotected BlockDatagetBlockData(ChunkSnapshot chunk, int x, int y, int z) protected ChunkSnapshotgetChunkObject(int x, int z) protected BoundingBoxgetCollisionBox(ChunkSnapshot chunk, int x, int y, int z) protected intgetLightLevel(ChunkSnapshot chunk, int x, int y, int z) protected MaterialgetType(ChunkSnapshot chunk, int x, int y, int z) Methods inherited from class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
getBlockDataAt, getCollisionBox, getMaterialAt, isYWithinBoundsMethods inherited from class net.citizensnpcs.api.astar.pathfinder.BlockSource
getBlockDataAt, getCollisionBox, getMaterialAt
-
Constructor Details
-
ChunkSnapshotBlockSource
-
ChunkSnapshotBlockSource
-
-
Method Details
-
getBlockData
- Specified by:
getBlockDatain classCachingChunkBlockSource<ChunkSnapshot>
-
getChunkObject
- Specified by:
getChunkObjectin classCachingChunkBlockSource<ChunkSnapshot>
-
getCollisionBox
- Specified by:
getCollisionBoxin classCachingChunkBlockSource<ChunkSnapshot>
-
getLightLevel
- Specified by:
getLightLevelin classCachingChunkBlockSource<ChunkSnapshot>
-
getType
- Specified by:
getTypein classCachingChunkBlockSource<ChunkSnapshot>
-