Class FaweRegionManager

java.lang.Object
com.plotsquared.core.util.RegionManager
com.plotsquared.bukkit.util.BukkitRegionManager
com.plotsquared.bukkit.util.fawe.FaweRegionManager

public class FaweRegionManager extends BukkitRegionManager
  • Field Summary

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

    manager, worldUtil
  • Constructor Summary

    Constructors
    Constructor
    Description
    FaweRegionManager(@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
    boolean
    copyRegion(@NonNull com.plotsquared.core.location.Location pos1, @NonNull com.plotsquared.core.location.Location pos2, @NonNull com.plotsquared.core.location.Location pos3, @Nullable com.plotsquared.core.player.PlotPlayer<?> player, @NonNull Runnable whenDone)
     
    boolean
    handleClear(@NotNull com.plotsquared.core.plot.Plot plot, @Nullable Runnable whenDone, @NotNull com.plotsquared.core.plot.PlotManager manager, @Nullable com.plotsquared.core.player.PlotPlayer<?> player)
     
    boolean
    notifyClear(com.plotsquared.core.plot.PlotManager manager)
     
    boolean
    regenerateRegion(com.plotsquared.core.location.Location pos1, com.plotsquared.core.location.Location pos2, boolean ignore, Runnable whenDone)
     
    void
    setBiome(CuboidRegion region, int extendBiome, BiomeType biome, String world, Runnable whenDone)
     
    boolean
    setCuboids(@NonNull com.plotsquared.core.plot.PlotArea area, @NonNull Set<CuboidRegion> regions, @NonNull Pattern blocks, int minY, int maxY, @Nullable com.plotsquared.core.player.PlotPlayer<?> actor, @Nullable com.plotsquared.core.queue.QueueCoordinator queue)
     
    void
    swap(com.plotsquared.core.location.Location pos1, com.plotsquared.core.location.Location pos2, com.plotsquared.core.location.Location swapPos, @Nullable com.plotsquared.core.player.PlotPlayer<?> player, Runnable whenDone)
     

    Methods inherited from class com.plotsquared.bukkit.util.BukkitRegionManager

    clearAllEntities, countEntities

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

    deleteRegionFiles, getRegion

    Methods inherited from class java.lang.Object

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

    • FaweRegionManager

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

    • setCuboids

      public boolean setCuboids(@NonNull com.plotsquared.core.plot.PlotArea area, @NonNull Set<CuboidRegion> regions, @NonNull Pattern blocks, int minY, int maxY, @Nullable @Nullable com.plotsquared.core.player.PlotPlayer<?> actor, @Nullable @Nullable com.plotsquared.core.queue.QueueCoordinator queue)
      Overrides:
      setCuboids in class com.plotsquared.core.util.RegionManager
    • notifyClear

      public boolean notifyClear(com.plotsquared.core.plot.PlotManager manager)
      Overrides:
      notifyClear in class com.plotsquared.core.util.RegionManager
    • handleClear

      public boolean handleClear(@NotNull @NotNull com.plotsquared.core.plot.Plot plot, @Nullable @Nullable Runnable whenDone, @NotNull @NotNull com.plotsquared.core.plot.PlotManager manager, @Nullable @Nullable com.plotsquared.core.player.PlotPlayer<?> player)
      Overrides:
      handleClear in class BukkitRegionManager
    • swap

      public void swap(com.plotsquared.core.location.Location pos1, com.plotsquared.core.location.Location pos2, com.plotsquared.core.location.Location swapPos, @Nullable @Nullable com.plotsquared.core.player.PlotPlayer<?> player, Runnable whenDone)
      Overrides:
      swap in class com.plotsquared.core.util.RegionManager
    • setBiome

      public void setBiome(CuboidRegion region, int extendBiome, BiomeType biome, String world, Runnable whenDone)
      Overrides:
      setBiome in class com.plotsquared.core.util.RegionManager
    • copyRegion

      public boolean copyRegion(@NonNull com.plotsquared.core.location.Location pos1, @NonNull com.plotsquared.core.location.Location pos2, @NonNull com.plotsquared.core.location.Location pos3, @Nullable @Nullable com.plotsquared.core.player.PlotPlayer<?> player, @NonNull Runnable whenDone)
      Overrides:
      copyRegion in class com.plotsquared.core.util.RegionManager
    • regenerateRegion

      public boolean regenerateRegion(com.plotsquared.core.location.Location pos1, com.plotsquared.core.location.Location pos2, boolean ignore, Runnable whenDone)
      Overrides:
      regenerateRegion in class BukkitRegionManager