YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.util.ChunkCoordinates Class Reference
Inheritance diagram for net.minecraft.util.ChunkCoordinates:
net.minecraft.world.PortalPosition

Public Member Functions

 ChunkCoordinates ()
 
 ChunkCoordinates (int par1, int par2, int par3)
 
 ChunkCoordinates (ChunkCoordinates par1ChunkCoordinates)
 
boolean equals (Object par1Obj)
 
int hashCode ()
 
int compareChunkCoordinate (ChunkCoordinates par1ChunkCoordinates)
 
void set (int par1, int par2, int par3)
 
float getDistanceSquared (int par1, int par2, int par3)
 
float getDistanceSquaredToChunkCoordinates (ChunkCoordinates par1ChunkCoordinates)
 
int compareTo (Object par1Obj)
 

Public Attributes

int posX
 
int posY
 
int posZ
 

Constructor & Destructor Documentation

net.minecraft.util.ChunkCoordinates.ChunkCoordinates ( )
net.minecraft.util.ChunkCoordinates.ChunkCoordinates ( int  par1,
int  par2,
int  par3 
)
net.minecraft.util.ChunkCoordinates.ChunkCoordinates ( ChunkCoordinates  par1ChunkCoordinates)

Member Function Documentation

int net.minecraft.util.ChunkCoordinates.compareChunkCoordinate ( ChunkCoordinates  par1ChunkCoordinates)

Compare the coordinate with another coordinate

int net.minecraft.util.ChunkCoordinates.compareTo ( Object  par1Obj)
boolean net.minecraft.util.ChunkCoordinates.equals ( Object  par1Obj)
float net.minecraft.util.ChunkCoordinates.getDistanceSquared ( int  par1,
int  par2,
int  par3 
)

Returns the squared distance between this coordinates and the coordinates given as argument.

float net.minecraft.util.ChunkCoordinates.getDistanceSquaredToChunkCoordinates ( ChunkCoordinates  par1ChunkCoordinates)

Return the squared distance between this coordinates and the ChunkCoordinates given as argument.

int net.minecraft.util.ChunkCoordinates.hashCode ( )
void net.minecraft.util.ChunkCoordinates.set ( int  par1,
int  par2,
int  par3 
)

Member Data Documentation

int net.minecraft.util.ChunkCoordinates.posX
int net.minecraft.util.ChunkCoordinates.posY

the y coordinate

int net.minecraft.util.ChunkCoordinates.posZ

the z coordinate


The documentation for this class was generated from the following file: