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 TypeMethodDescriptionboolean
boolean
int
getArea()
Get the area (in plots).@Nullable Plot
@NonNull PlotId
void
getName()
getP1()
getP2()
com.sk89q.worldedit.regions.CuboidRegion
int
hashCode()
boolean
hasHelperRights(UUID uuid)
boolean
intersects(PlotId pos1, PlotId pos2)
boolean
boolean
void
void
void
toString()
-
Field Details
-
area
-
settings
-
owner
-
helpers
-
invited
-
temp
public int temp
-
-
Constructor Details
-
PlotCluster
-
PlotCluster
-
-
Method Details
-
getP1
-
setP1
-
getP2
-
setP2
-
getRegion
public com.sk89q.worldedit.regions.CuboidRegion getRegion() -
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
-