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

Method getBlock

paper-api/src/main/java/org/bukkit/Location.java:129–132  ·  view source on GitHub ↗

Gets the block at the represented location @return Block at the represented location

()

Source from the content-addressed store, hash-verified

127 * @return Block at the represented location
128 */
129 @NotNull
130 public Block getBlock() {
131 return getWorld().getBlockAt(this);
132 }
133
134 /**
135 * Sets the x-coordinate of this location

Callers

nothing calls this directly

Calls 2

getWorldMethod · 0.95
getBlockAtMethod · 0.65

Tested by

no test coverage detected