Class BlockLocation

java.lang.Object
com.palmergames.bukkit.towny.regen.block.BlockLocation

public class BlockLocation extends Object
A class to hold basic block location data
Author:
ElgarL
  • Field Details Link icon

    • x Link icon

      protected int x
    • z Link icon

      protected int z
    • y Link icon

      protected int y
    • chunk Link icon

      protected org.bukkit.Chunk chunk
    • world Link icon

      protected org.bukkit.World world
  • Constructor Details Link icon

    • BlockLocation Link icon

      public BlockLocation(org.bukkit.Location loc)
  • Method Details Link icon

    • setY Link icon

      public void setY(int y)
    • getChunk Link icon

      public org.bukkit.Chunk getChunk()
    • getX Link icon

      public int getX()
    • getZ Link icon

      public int getZ()
    • getY Link icon

      public int getY()
    • getWorld Link icon

      public org.bukkit.World getWorld()
    • isLocation Link icon

      public boolean isLocation(org.bukkit.Location loc)
    • getLocation Link icon

      public org.bukkit.Location getLocation()
    • getBlock Link icon

      public org.bukkit.block.Block getBlock()
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object