diff --git a/paper-api/src/main/java/org/bukkit/block/Block.java b/paper-api/src/main/java/org/bukkit/block/Block.java index 3eba796ce7..cb4ba7dce9 100644 --- a/paper-api/src/main/java/org/bukkit/block/Block.java +++ b/paper-api/src/main/java/org/bukkit/block/Block.java @@ -3,6 +3,7 @@ package org.bukkit.block; import org.bukkit.Chunk; import org.bukkit.Material; import org.bukkit.World; +import org.bukkit.Location; import org.bukkit.block.BlockState; /** @@ -114,6 +115,14 @@ public interface Block { */ int getZ(); + /** + * Gets the Location of the block + * + * @return Location of block + */ + + Location getLocation(); + /** * Gets the chunk which contains this block *