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

Method getBlock

src/redempt/redlib/blockdata/DataBlock.java:52–54  ·  view source on GitHub ↗

@return The Block the data is attached to

()

Source from the content-addressed store, hash-verified

50 * @return The Block the data is attached to
51 */
52 public Block getBlock() {
53 return Bukkit.getWorld(world).getBlockAt(block.getX(), block.getY(), block.getZ());
54 }
55
56 protected ChunkPosition getChunkPosition() {
57 return new ChunkPosition(block, world);

Callers 10

handlePistonMethod · 0.95
onBreakMethod · 0.45
onCombustMethod · 0.45
onEntityChangeBlockMethod · 0.45
iterMethod · 0.45
streamMethod · 0.45
RegionStateMethod · 0.45
getSurfaceMethod · 0.45
recalculateMethod · 0.45
findFreePointMethod · 0.45

Calls 4

getYMethod · 0.80
getWorldMethod · 0.45
getXMethod · 0.45
getZMethod · 0.45

Tested by

no test coverage detected