Class AutoService.AutoQuery
java.lang.Object
com.plotsquared.core.services.plots.AutoService.AutoQuery
- Enclosing interface:
- AutoService
-
Constructor Details
-
AutoQuery
public AutoQuery(@NonNull PlotPlayer<?> player, @Nullable PlotId startId, int sizeX, int sizeZ, @NonNull PlotArea plotArea) Crate a new auto query- Parameters:
player
- Player to claim forstartId
- Plot ID to start searching fromsizeX
- Number of plots along the X axissizeZ
- Number of plots along the Z axisplotArea
- Plot area to search in
-
-
Method Details
-
getPlayer
Get the player that the plots are meant for- Returns:
- Player
-
getStartId
Get the plot ID to start searching from- Returns:
- Start ID
-
getSizeX
Get the number of plots along the X axis- Returns:
- Number of plots along the X axis
-
getSizeZ
Get the number of plots along the Z axis- Returns:
- Number of plots along the Z axis
-
getPlotArea
Get the plot area to search in- Returns:
- Plot area
-