Class ChunkNumberImpl
java.lang.Object
sawfowl.regionguard.implementsapi.data.ChunkNumberImpl
- All Implemented Interfaces:
org.spongepowered.api.data.persistence.DataSerializable
,ChunkNumber
-
Nested Class Summary
Nested classes/interfaces inherited from interface sawfowl.regionguard.api.data.ChunkNumber
ChunkNumber.Builder
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChunkNumberImpl
public ChunkNumberImpl() -
ChunkNumberImpl
public ChunkNumberImpl(int x, int z)
-
-
Method Details
-
builder
-
chunkPosition
public org.spongepowered.math.vector.Vector3i chunkPosition()Description copied from interface:ChunkNumber
Getting a chunk position.- Specified by:
chunkPosition
in interfaceChunkNumber
-
getX
public int getX()- Specified by:
getX
in interfaceChunkNumber
-
getZ
public int getZ()- Specified by:
getZ
in interfaceChunkNumber
-
equalsTo
public boolean equalsTo(org.spongepowered.math.vector.Vector3i vector3i) - Specified by:
equalsTo
in interfaceChunkNumber
-
equals
-
hashCode
public int hashCode() -
toString
-
contentVersion
public int contentVersion()- Specified by:
contentVersion
in interfaceorg.spongepowered.api.data.persistence.DataSerializable
-
toContainer
public org.spongepowered.api.data.persistence.DataContainer toContainer()- Specified by:
toContainer
in interfaceorg.spongepowered.api.data.persistence.DataSerializable
-