Class GlowChunk.Key

java.lang.Object
net.glowstone.chunk.GlowChunk.Key
Enclosing class:
GlowChunk

public static final class GlowChunk.Key extends Object
A chunk key represents the X and Z coordinates of a chunk in a manner suitable for use as a key in a hash table or set.
  • Method Details

    • of

      public static GlowChunk.Key of(int x, int z)
    • of

      public static GlowChunk.Key of(long id)
    • to

      public static GlowChunk.Key to(org.bukkit.Chunk chunk)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getX

      public int getX()
    • getZ

      public int getZ()
    • getHashCode

      public int getHashCode()
    • toString

      public String toString()
      Overrides:
      toString in class Object