Package com.yottabyte.crates.api.crate
Interface CrateLocation
-
public interface CrateLocation
Represents the location of a crate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Crate
getCrate()
Gets theCrate
at this location.org.bukkit.Location
getLocation()
Gets theLocation
of the crate.org.bukkit.World
getWorld()
Gets theWorld
of the crate.String
getWorldName()
Gets the name of theWorld
of the crate.int
getX()
Gets the x coordinate of the crate.int
getY()
Gets the y coordinate of the crate.int
getZ()
Gets the z coordinate of the crate.
-
-
-
Method Detail
-
getLocation
org.bukkit.Location getLocation()
Gets theLocation
of the crate.- Returns:
- the
Location
of the crate.
-
getWorld
org.bukkit.World getWorld()
Gets theWorld
of the crate.- Returns:
- the
World
of the crate.
-
getWorldName
String getWorldName()
Gets the name of theWorld
of the crate.- Returns:
- the name of the
World
of the crate.
-
getX
int getX()
Gets the x coordinate of the crate.- Returns:
- the x coordinate of the crate.
-
getY
int getY()
Gets the y coordinate of the crate.- Returns:
- the y coordinate of the crate.
-
getZ
int getZ()
Gets the z coordinate of the crate.- Returns:
- the z coordinate of the crate.
-
-