MCPcopy Create free account
hub / github.com/cabaletta/baritone / isCached

Method isCached

src/main/java/baritone/cache/CachedWorld.java:111–118  ·  view source on GitHub ↗
(int blockX, int blockZ)

Source from the content-addressed store, hash-verified

109 }
110
111 @Override
112 public final boolean isCached(int blockX, int blockZ) {
113 CachedRegion region = getRegion(blockX >> 9, blockZ >> 9);
114 if (region == null) {
115 return false;
116 }
117 return region.isCached(blockX & 511, blockZ & 511);
118 }
119
120 public final boolean regionLoaded(int blockX, int blockZ) {
121 return getRegion(blockX >> 9, blockZ >> 9) != null;

Callers

nothing calls this directly

Calls 2

getRegionMethod · 0.95
isCachedMethod · 0.95

Tested by

no test coverage detected