MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / getHeightValue

Method getHeightValue

src/main/java/net/minecraft/world/chunk/Chunk.java:178–181  ·  view source on GitHub ↗

Returns the value in the height map at this x, z coordinate in the chunk

(int x, int z)

Source from the content-addressed store, hash-verified

176 * Returns the value in the height map at this x, z coordinate in the chunk
177 */
178 public int getHeightValue(int x, int z)
179 {
180 return this.heightMap[z << 4 | x];
181 }
182
183 /**
184 * Returns the topmost ExtendedBlockStorage instance for this Chunk that actually contains a block.

Callers 5

updateMapDataMethod · 0.95
getHeightMethod · 0.95
recheckGapsMethod · 0.95
getHeightMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected