Package com.plotsquared.core.plot
Class PlotCluster
java.lang.Object
com.plotsquared.core.plot.PlotCluster
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlotCluster(PlotArea area, PlotId pos1, PlotId pos2, UUID owner) PlotCluster(PlotArea area, PlotId pos1, PlotId pos2, UUID owner, int temp) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanintgetArea()Get the area (in plots).voidgetName()getP1()getP2()Deprecated.- returns region of IDs, not of actual blocks.inthashCode()booleanhasHelperRights(UUID uuid) booleanintersects(PlotId pos1, PlotId pos2) booleanbooleanvoidvoidvoidtoString()
-
Field Details
-
area
-
settings
-
owner
-
helpers
-
invited
-
temp
public int temp
-
-
Constructor Details
-
PlotCluster
-
PlotCluster
-
-
Method Details
-
getP1
-
setP1
-
getP2
-
setP2
-
getRegion
Deprecated.- returns region of IDs, not of actual blocks.Returns a region of PlotIDs -
isOwner
-
isAdded
-
hasHelperRights
-
getName
-
getArea
public int getArea()Get the area (in plots).- Returns:
- area of plots
-
setArea
-
hashCode
public int hashCode() -
equals
-
toString
-
getHome
-
getCenterPlotId
-
getCenterPlot
-
getClusterBottom
-
getClusterTop
-
intersects
-
contains
-