mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
Block instance getLocation() method.
This commit is contained in:
parent
228e150cfa
commit
3306b07b8d
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue