Package baritone.api.cache
Interface ICachedRegion
- All Superinterfaces:
IBlockTypeAccess
- Since:
- 9/24/2018
- Author:
- Brady
-
Method Summary
Methods inherited from interface baritone.api.cache.IBlockTypeAccess
getBlock, getBlock
-
Method Details
-
isCached
Returns whether or not the block at the specified X and Z coordinates is cached in this world. Similar toICachedWorld.isCached(int, int), however, the block coordinates should in on a scale from 0 to 511 (inclusive) because region sizes are 512x512 blocks.- Parameters:
blockX- The block X coordinateblockZ- The block Z coordinate- Returns:
- Whether or not the specified XZ location is cached
- See Also:
-
getX
int getX()- Returns:
- The X coordinate of this region
-
getZ
int getZ()- Returns:
- The Z coordinate of this region
-