Class StargateChunk

java.lang.Object
org.sgrewritten.stargate.api.network.portal.StargateChunk

public class StargateChunk extends Object
  • Constructor Details

    • StargateChunk

      public StargateChunk(org.bukkit.Chunk chunk)
      Parameters:
      chunk -

      The chunk to represent

    • StargateChunk

      public StargateChunk(int x, int z, org.bukkit.World world)
      Parameters:
      x -

      X coordinate of chunk to represent

      z -

      Z coordinate of chunk to represent

      world -

      World of the chunk to represent

    • StargateChunk

      public StargateChunk(int x, int z, String worldName)
      Parameters:
      x -

      X coordinate of chunk to represent

      z -

      Z coordinate of chunk to represent

      worldName -

      The name of the world for the chunk to represent

    • StargateChunk

      public StargateChunk(com.bergerkiller.bukkit.common.bases.IntVector2 coordinate, org.bukkit.World world)
      Parameters:
      coordinate -

      Coordinate of chunk to represent

      world -

      World of chunk to represent

  • Method Details

    • getChunk

      public org.bukkit.Chunk getChunk()
      Returns:

      The chunk this represents

    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object