Class PlotCluster

java.lang.Object
com.plotsquared.core.plot.PlotCluster

public class PlotCluster extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getP1

      public PlotId getP1()
    • setP1

      public void setP1(PlotId id)
    • getP2

      public PlotId getP2()
    • setP2

      public void setP2(PlotId id)
    • getRegion

      public com.sk89q.worldedit.regions.CuboidRegion getRegion()
    • isOwner

      public boolean isOwner(UUID uuid)
    • isAdded

      public boolean isAdded(UUID uuid)
    • hasHelperRights

      public boolean hasHelperRights(UUID uuid)
    • getName

      public String getName()
    • getArea

      public int getArea()
      Get the area (in plots).
      Returns:
      area of plots
    • setArea

      public void setArea(PlotArea plotArea)
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object
    • getHome

      public void getHome(@NonNull Consumer<Location> result)
    • getCenterPlotId

      public @NonNull PlotId getCenterPlotId()
    • getCenterPlot

      public @Nullable Plot getCenterPlot()
    • getClusterBottom

      public Location getClusterBottom()
    • getClusterTop

      public Location getClusterTop()
    • intersects

      public boolean intersects(PlotId pos1, PlotId pos2)
    • contains

      public boolean contains(PlotId id)