mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 02:19:41 -05:00
Block instance getLocation() method.
By: Adam Tanner <adam@adamtanner.org>
This commit is contained in:
1 parent
74cf5f3f85
commit
5fcc3b626c
1 file changed
+9
@@ -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
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user