Package net.athonedevs.krork.saves
Class EntityData.LocationUtils
java.lang.Object
net.athonedevs.krork.saves.EntityData.LocationUtils
- Enclosing class:
- EntityData
public static class EntityData.LocationUtils
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description LocationUtils()
-
Method Summary
Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
int
getDirection()
java.lang.String
getWorld()
float
getX()
float
getY()
int
hashCode()
void
setDirection(int direction)
void
setWorld(java.lang.String world)
void
setX(float x)
void
setY(float y)
java.lang.String
toString()
-
Constructor Details
-
LocationUtils
public LocationUtils()
-
-
Method Details
-
getWorld
public java.lang.String getWorld() -
getX
public float getX() -
getY
public float getY() -
getDirection
public int getDirection() -
setWorld
public void setWorld(java.lang.String world) -
setX
public void setX(float x) -
setY
public void setY(float y) -
setDirection
public void setDirection(int direction) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-