Class ChunkCoordinates

  • All Implemented Interfaces:
    java.lang.Comparable

    public class ChunkCoordinates
    extends java.lang.Object
    implements java.lang.Comparable
    • Field Detail

      • posX

        public int posX
      • posY

        public int posY
      • posZ

        public int posZ
    • Constructor Detail

      • ChunkCoordinates

        public ChunkCoordinates()
      • ChunkCoordinates

        public ChunkCoordinates​(int var1,
                                int var2,
                                int var3)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object var1)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareChunkCoordinate

        public int compareChunkCoordinate​(ChunkCoordinates var1)
      • set

        public void set​(int var1,
                        int var2,
                        int var3)
      • getEuclideanDistanceTo

        public double getEuclideanDistanceTo​(int var1,
                                             int var2,
                                             int var3)
      • getDistanceSquared

        public float getDistanceSquared​(int var1,
                                        int var2,
                                        int var3)
      • compareTo

        public int compareTo​(java.lang.Object var1)
        Specified by:
        compareTo in interface java.lang.Comparable