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:ChunkNumberGetting a chunk position.- Specified by:
chunkPositionin interfaceChunkNumber
-
getX
public int getX()- Specified by:
getXin interfaceChunkNumber
-
getZ
public int getZ()- Specified by:
getZin interfaceChunkNumber
-
equalsTo
public boolean equalsTo(org.spongepowered.math.vector.Vector3i vector3i) - Specified by:
equalsToin interfaceChunkNumber
-
equals
-
hashCode
public int hashCode() -
toString
-
contentVersion
public int contentVersion()- Specified by:
contentVersionin interfaceorg.spongepowered.api.data.persistence.DataSerializable
-
toContainer
public org.spongepowered.api.data.persistence.DataContainer toContainer()- Specified by:
toContainerin interfaceorg.spongepowered.api.data.persistence.DataSerializable
-