|
@@ -1,4 +1,7 @@
|
|
-package com.gmail.nossr50.core.mcmmo;
|
|
|
|
|
|
+package com.gmail.nossr50.core.mcmmo.world;
|
|
|
|
+
|
|
|
|
+import com.flowpowered.math.vector.Vector3d;
|
|
|
|
+import com.gmail.nossr50.core.mcmmo.world.World;
|
|
|
|
|
|
/**
|
|
/**
|
|
* This class represents a Location in MC
|
|
* This class represents a Location in MC
|
|
@@ -6,26 +9,32 @@ package com.gmail.nossr50.core.mcmmo;
|
|
*/
|
|
*/
|
|
public interface Location {
|
|
public interface Location {
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * The Vector3d of this location
|
|
|
|
+ * @return this vector
|
|
|
|
+ */
|
|
|
|
+ Vector3d getVector();
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Returns the position of this location on the x-axis
|
|
* Returns the position of this location on the x-axis
|
|
*
|
|
*
|
|
* @return x-axis position
|
|
* @return x-axis position
|
|
*/
|
|
*/
|
|
- double getX();
|
|
|
|
|
|
+ //double getX();
|
|
|
|
|
|
/**
|
|
/**
|
|
* Returns the position of this location on the y-axis
|
|
* Returns the position of this location on the y-axis
|
|
*
|
|
*
|
|
* @return y-axis position
|
|
* @return y-axis position
|
|
*/
|
|
*/
|
|
- double getY();
|
|
|
|
|
|
+ //double getY();
|
|
|
|
|
|
/**
|
|
/**
|
|
* Returns the position of this location on the z-axis
|
|
* Returns the position of this location on the z-axis
|
|
*
|
|
*
|
|
* @return z-axis position
|
|
* @return z-axis position
|
|
*/
|
|
*/
|
|
- double getZ();
|
|
|
|
|
|
+ //double getZ();
|
|
|
|
|
|
/**
|
|
/**
|
|
* The world for this Location
|
|
* The world for this Location
|