Package com.plotsquared.bukkit.util
Class BukkitRegionManager
java.lang.Object
com.plotsquared.core.util.RegionManager
com.plotsquared.bukkit.util.BukkitRegionManager
- Direct Known Subclasses:
FaweRegionManager
-
Field Summary
Fields inherited from class com.plotsquared.core.util.RegionManager
manager, worldUtil -
Constructor Summary
ConstructorsConstructorDescriptionBukkitRegionManager(@NonNull WorldUtil worldUtil, @NonNull GlobalBlockQueue blockQueue, @NonNull ProgressSubscriberFactory subscriberFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidclearAllEntities(@NonNull Location pos1, @NonNull Location pos2) int[]countEntities(@NonNull Plot plot) booleanhandleClear(@NonNull Plot plot, @Nullable Runnable whenDone, @NonNull PlotManager manager, @Nullable PlotPlayer<?> player) booleanregenerateRegion(@NonNull Location pos1, @NonNull Location pos2, boolean ignoreAugment, @Nullable Runnable whenDone) Methods inherited from class com.plotsquared.core.util.RegionManager
copyRegion, deleteRegionFiles, getRegion, notifyClear, setBiome, setBiome, setCuboids, swap
-
Constructor Details
-
BukkitRegionManager
@Inject public BukkitRegionManager(@NonNull WorldUtil worldUtil, @NonNull GlobalBlockQueue blockQueue, @NonNull ProgressSubscriberFactory subscriberFactory)
-
-
Method Details
-
handleClear
public boolean handleClear(@NonNull Plot plot, @Nullable Runnable whenDone, @NonNull PlotManager manager, @Nullable PlotPlayer<?> player) - Specified by:
handleClearin classRegionManager
-
countEntities
- Specified by:
countEntitiesin classRegionManager
-
regenerateRegion
public boolean regenerateRegion(@NonNull Location pos1, @NonNull Location pos2, boolean ignoreAugment, @Nullable Runnable whenDone) - Specified by:
regenerateRegionin classRegionManager
-
clearAllEntities
- Specified by:
clearAllEntitiesin classRegionManager
-