MCPcopy Index your code
hub / github.com/PaperMC/Paper / getBlockKey

Method getBlockKey

paper-api/src/main/java/org/bukkit/block/Block.java:167–167  ·  view source on GitHub ↗

Returns this block's coordinates packed into a long value. Computed via: Block.getBlockKey(this.getX(), this.getY(), this.getZ()) @see Block#getBlockKey(int, int, int) @return This block's x, y, and z coordinates packed into a long value @deprecated see #getBlockKey(int, int, int)

()

Source from the content-addressed store, hash-verified

165 * @deprecated see {@link #getBlockKey(int, int, int)}
166 */
167 @Deprecated(since = "1.18.1")
168 public default long getBlockKey() {
169 return Block.getBlockKey(this.getX(), this.getY(), this.getZ());
170 }

Callers 1

toBlockKeyMethod · 0.95

Implementers 1

CraftBlockpaper-server/src/main/java/org/bukkit/

Calls

no outgoing calls

Tested by

no test coverage detected