public interface BlockPosition
FactoriesManager
Modifier and Type | Method and Description |
---|---|
org.bukkit.block.Block |
getBlock()
Get the block object of that position.
|
org.bukkit.World |
getWorld()
Get the world of the position.
|
java.lang.String |
getWorldName()
Get the name of the world of the position.
|
int |
getX()
Get the x value of the position.
|
int |
getY()
Get the y value of the position.
|
int |
getZ()
Get the z value of the position.
|
org.bukkit.Location |
parse()
Get the location of that position in the default world.
|
org.bukkit.Location |
parse(org.bukkit.World world)
Get the location of that position in a specific world.
|
java.lang.String getWorldName()
@Nullable org.bukkit.World getWorld()
getWorldName()
is not a valid world.int getX()
int getY()
int getZ()
org.bukkit.block.Block getBlock()
org.bukkit.Location parse(org.bukkit.World world)
org.bukkit.Location parse()