MCPcopy Create free account
hub / github.com/boxbeam/RedLib / getChunk

Method getChunk

src/redempt/redlib/blockdata/ChunkPosition.java:90–96  ·  view source on GitHub ↗

Gets the chunk @return The chunk at this position @throws IllegalStateException if the world is not loaded

()

Source from the content-addressed store, hash-verified

88 * @throws IllegalStateException if the world is not loaded
89 */
90 public Chunk getChunk() {
91 World world = this.getWorld();
92 if (world == null) {
93 throw new IllegalStateException("World " + this.world + " is not loaded");
94 }
95 return world.getChunkAt(x, z);
96 }
97
98 @Override
99 public int hashCode() {

Callers 4

getDataBlockAsyncMethod · 0.80
BlockDataManagerMethod · 0.80
getAtMethod · 0.80
getMethod · 0.80

Calls 1

getWorldMethod · 0.95

Tested by

no test coverage detected