Class BukkitRegionManager

java.lang.Object
com.plotsquared.core.util.RegionManager
com.plotsquared.bukkit.util.BukkitRegionManager
Direct Known Subclasses:
FaweRegionManager

public class BukkitRegionManager extends com.plotsquared.core.util.RegionManager
  • Field Summary

    Fields inherited from class com.plotsquared.core.util.RegionManager

    manager, worldUtil
  • Constructor Summary

    Constructors
    Constructor
    Description
    BukkitRegionManager(@NonNull com.plotsquared.core.util.WorldUtil worldUtil, @NonNull com.plotsquared.core.queue.GlobalBlockQueue blockQueue, @NonNull com.plotsquared.core.inject.factory.ProgressSubscriberFactory subscriberFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearAllEntities(@NonNull com.plotsquared.core.location.Location pos1, @NonNull com.plotsquared.core.location.Location pos2)
     
    int[]
    countEntities(@NonNull com.plotsquared.core.plot.Plot plot)
     
    boolean
    handleClear(@NonNull com.plotsquared.core.plot.Plot plot, @Nullable Runnable whenDone, @NonNull com.plotsquared.core.plot.PlotManager manager, @Nullable com.plotsquared.core.player.PlotPlayer<?> player)
     
    boolean
    regenerateRegion(@NonNull com.plotsquared.core.location.Location pos1, @NonNull com.plotsquared.core.location.Location pos2, boolean ignoreAugment, @Nullable Runnable whenDone)
     

    Methods inherited from class com.plotsquared.core.util.RegionManager

    copyRegion, deleteRegionFiles, getRegion, notifyClear, setBiome, setCuboids, swap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BukkitRegionManager

      @Inject public BukkitRegionManager(@NonNull com.plotsquared.core.util.WorldUtil worldUtil, @NonNull com.plotsquared.core.queue.GlobalBlockQueue blockQueue, @NonNull com.plotsquared.core.inject.factory.ProgressSubscriberFactory subscriberFactory)
  • Method Details

    • handleClear

      public boolean handleClear(@NonNull com.plotsquared.core.plot.Plot plot, @Nullable Runnable whenDone, @NonNull com.plotsquared.core.plot.PlotManager manager, @Nullable com.plotsquared.core.player.PlotPlayer<?> player)
      Specified by:
      handleClear in class com.plotsquared.core.util.RegionManager
    • countEntities

      public int[] countEntities(@NonNull com.plotsquared.core.plot.Plot plot)
      Specified by:
      countEntities in class com.plotsquared.core.util.RegionManager
    • regenerateRegion

      public boolean regenerateRegion(@NonNull com.plotsquared.core.location.Location pos1, @NonNull com.plotsquared.core.location.Location pos2, boolean ignoreAugment, @Nullable Runnable whenDone)
      Specified by:
      regenerateRegion in class com.plotsquared.core.util.RegionManager
    • clearAllEntities

      public void clearAllEntities(@NonNull com.plotsquared.core.location.Location pos1, @NonNull com.plotsquared.core.location.Location pos2)
      Specified by:
      clearAllEntities in class com.plotsquared.core.util.RegionManager