public class BigChunkLocation
extends java.lang.Object
Constructor and Description |
---|
BigChunkLocation(ChunkLocation location)
Construct a BigChunkLocation from a
ChunkLocation . |
BigChunkLocation(org.bukkit.Location location)
Construct a BigChunkLocation from a Location.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
org.bukkit.World |
getWorld()
Get the world.
|
int |
getX()
Get the x coordinate.
|
int |
getZ()
Get the z coordinate.
|
int |
hashCode() |
void |
setWorld(org.bukkit.World world)
Set the world.
|
BigChunkLocation |
setX(int x)
Set the x coordinate
|
BigChunkLocation |
setZ(int z)
Set the z coordinate
|
java.lang.String |
toString() |
public BigChunkLocation(org.bukkit.Location location)
location
- Cannot be null.public BigChunkLocation(ChunkLocation location)
ChunkLocation
.location
- Cannot be null.public int getX()
public BigChunkLocation setX(int x)
x
- A BigChunk x coordinate.public int getZ()
public BigChunkLocation setZ(int z)
z
- A BigChunk z coordinate.public org.bukkit.World getWorld()
public void setWorld(org.bukkit.World world)
world
- Cannot be null.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object