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

    • x

      protected int x
    • z

      protected int z
    • y

      protected int y
    • chunk

      protected org.bukkit.Chunk chunk
    • world

      protected org.bukkit.World world
  • Constructor Details

    • BlockLocation

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

    • setY

      public void setY(int y)
    • getChunk

      public org.bukkit.Chunk getChunk()
    • getX

      public int getX()
    • getZ

      public int getZ()
    • getY

      public int getY()
    • getWorld

      public org.bukkit.World getWorld()
    • isLocation

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

      public org.bukkit.Location getLocation()
    • getBlock

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object