Class FaweQueueCoordinator

java.lang.Object
com.plotsquared.core.queue.QueueCoordinator
com.fastasyncworldedit.bukkit.regions.plotsquared.FaweQueueCoordinator

public class FaweQueueCoordinator extends com.plotsquared.core.queue.QueueCoordinator
  • Field Details

  • Constructor Details

    • FaweQueueCoordinator

      public FaweQueueCoordinator(World world)
  • Method Details

    • size

      public int size()
      Specified by:
      size in class com.plotsquared.core.queue.QueueCoordinator
    • setModified

      public void setModified(long l)
      Specified by:
      setModified in class com.plotsquared.core.queue.QueueCoordinator
    • setBlock

      public boolean setBlock(int x, int y, int z, BlockState id)
      Specified by:
      setBlock in class com.plotsquared.core.queue.QueueCoordinator
    • setBlock

      public boolean setBlock(int x, int y, int z, Pattern pattern)
      Overrides:
      setBlock in class com.plotsquared.core.queue.QueueCoordinator
    • setBlock

      public boolean setBlock(int x, int y, int z, BaseBlock id)
      Specified by:
      setBlock in class com.plotsquared.core.queue.QueueCoordinator
    • getBlock

      public BlockState getBlock(int x, int y, int z)
      Specified by:
      getBlock in class com.plotsquared.core.queue.QueueCoordinator
    • setBiome

      public boolean setBiome(int x, int z, BiomeType biomeType)
      Specified by:
      setBiome in class com.plotsquared.core.queue.QueueCoordinator
    • setBiome

      public boolean setBiome(int x, int y, int z, @Nonnull BiomeType biome)
      Specified by:
      setBiome in class com.plotsquared.core.queue.QueueCoordinator
    • isSettingBiomes

      public boolean isSettingBiomes()
      Specified by:
      isSettingBiomes in class com.plotsquared.core.queue.QueueCoordinator
    • setBiomesEnabled

      public void setBiomesEnabled(boolean enabled)
      Specified by:
      setBiomesEnabled in class com.plotsquared.core.queue.QueueCoordinator
    • setEntity

      public boolean setEntity(@Nonnull Entity entity)
      Specified by:
      setEntity in class com.plotsquared.core.queue.QueueCoordinator
    • getReadChunks

      @Nonnull public List<BlockVector2> getReadChunks()
      Specified by:
      getReadChunks in class com.plotsquared.core.queue.QueueCoordinator
    • addReadChunks

      public void addReadChunks(@Nonnull Set<BlockVector2> readChunks)
      Specified by:
      addReadChunks in class com.plotsquared.core.queue.QueueCoordinator
    • addReadChunk

      public void addReadChunk(@Nonnull BlockVector2 chunk)
      Specified by:
      addReadChunk in class com.plotsquared.core.queue.QueueCoordinator
    • isUnloadAfter

      public boolean isUnloadAfter()
      Specified by:
      isUnloadAfter in class com.plotsquared.core.queue.QueueCoordinator
    • setUnloadAfter

      public void setUnloadAfter(boolean unloadAfter)
      Specified by:
      setUnloadAfter in class com.plotsquared.core.queue.QueueCoordinator
    • getRegenRegion

      @Nullable public CuboidRegion getRegenRegion()
      Specified by:
      getRegenRegion in class com.plotsquared.core.queue.QueueCoordinator
    • setRegenRegion

      public void setRegenRegion(@Nonnull CuboidRegion regenRegion)
      Specified by:
      setRegenRegion in class com.plotsquared.core.queue.QueueCoordinator
    • enqueue

      public boolean enqueue()
      Overrides:
      enqueue in class com.plotsquared.core.queue.QueueCoordinator
    • start

      public void start()
      Specified by:
      start in class com.plotsquared.core.queue.QueueCoordinator
    • cancel

      public void cancel()
      Specified by:
      cancel in class com.plotsquared.core.queue.QueueCoordinator
    • getCompleteTask

      public Runnable getCompleteTask()
      Specified by:
      getCompleteTask in class com.plotsquared.core.queue.QueueCoordinator
    • setCompleteTask

      public void setCompleteTask(@Nullable Runnable whenDone)
      Specified by:
      setCompleteTask in class com.plotsquared.core.queue.QueueCoordinator
    • getChunkConsumer

      @Nullable public Consumer<BlockVector2> getChunkConsumer()
      Specified by:
      getChunkConsumer in class com.plotsquared.core.queue.QueueCoordinator
    • setChunkConsumer

      public void setChunkConsumer(@Nonnull Consumer<BlockVector2> consumer)
      Specified by:
      setChunkConsumer in class com.plotsquared.core.queue.QueueCoordinator
    • addProgressSubscriber

      public void addProgressSubscriber(@Nonnull com.plotsquared.core.queue.subscriber.ProgressSubscriber progressSubscriber)
      Specified by:
      addProgressSubscriber in class com.plotsquared.core.queue.QueueCoordinator
    • getLightingMode

      @Nonnull public com.plotsquared.core.queue.LightingMode getLightingMode()
      Specified by:
      getLightingMode in class com.plotsquared.core.queue.QueueCoordinator
    • setLightingMode

      public void setLightingMode(@Nullable com.plotsquared.core.queue.LightingMode mode)
      Specified by:
      setLightingMode in class com.plotsquared.core.queue.QueueCoordinator
    • getSideEffectSet

      @Nullable public SideEffectSet getSideEffectSet()
      Specified by:
      getSideEffectSet in class com.plotsquared.core.queue.QueueCoordinator
    • setSideEffectSet

      public void setSideEffectSet(@Nullable SideEffectSet sideEffectSet)
      Specified by:
      setSideEffectSet in class com.plotsquared.core.queue.QueueCoordinator
    • regenChunk

      public void regenChunk(int x, int z)
      Specified by:
      regenChunk in class com.plotsquared.core.queue.QueueCoordinator
    • getWorld

      @Nullable public World getWorld()
      Specified by:
      getWorld in class com.plotsquared.core.queue.QueueCoordinator
    • setTile

      public boolean setTile(int x, int y, int z, CompoundTag tag)
      Specified by:
      setTile in class com.plotsquared.core.queue.QueueCoordinator
    • isSettingTiles

      public boolean isSettingTiles()
      Specified by:
      isSettingTiles in class com.plotsquared.core.queue.QueueCoordinator