Class ChunkQueueCoordinator


Deprecated, for removal: This API element is subject to removal in a future version.
This class is poorly designed and will no longer be used in PlotSquared
Queue that is limited to a single chunk. It does not allow a delegate queue and should be treated as a cache for changes to be set to. Does not support tile entities or entities.
  • Field Details

    • biomeResult

      public final BiomeType[][][] biomeResult
      Deprecated, for removal: This API element is subject to removal in a future version.
    • result

      public final BlockState[][][] result
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

  • Method Details

    • getBlocks

      public @NonNull BlockState[][][] getBlocks()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setBiome

      public boolean setBiome(int x, int z, @NonNull BiomeType biomeType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: QueueCoordinator
      Set a biome in XZ. This will likely set to the whole column
      Overrides:
      setBiome in class ScopedQueueCoordinator
      Parameters:
      x - x coordinate
      z - z coordinate
      biomeType - biome
      Returns:
      success or not
    • setBiome

      public boolean setBiome(int x, int y, int z, @NonNull BiomeType biomeType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: QueueCoordinator
      Set a biome in XYZ
      Overrides:
      setBiome in class ScopedQueueCoordinator
      Parameters:
      x - x coordinate
      y - y coordinate
      z - z coordinate
      biomeType - biome
      Returns:
      success or not
    • setBlock

      public boolean setBlock(int x, int y, int z, @NonNull BlockState id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: QueueCoordinator
      Sets the block at the coordinates provided to the given id.
      Overrides:
      setBlock in class ScopedQueueCoordinator
      Parameters:
      x - the x coordinate from from 0 to 15 inclusive
      y - the y coordinate from from 0 (inclusive) - maxHeight(exclusive)
      z - the z coordinate from 0 to 15 inclusive
      id - the BlockState to set the block to
      Returns:
      success or not
    • setBlock

      public boolean setBlock(int x, int y, int z, @NonNull Pattern pattern)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: QueueCoordinator
      Sets the block at the coordinates provided to the given id.
      Overrides:
      setBlock in class ScopedQueueCoordinator
      Parameters:
      x - the x coordinate from from 0 to 15 inclusive
      y - the y coordinate from from 0 (inclusive) - maxHeight(exclusive)
      z - the z coordinate from 0 to 15 inclusive
      pattern - the pattern to set the block to
      Returns:
      success or not
    • setBlock

      public boolean setBlock(int x, int y, int z, @NonNull BaseBlock id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: QueueCoordinator
      Sets the block at the coordinates provided to the given id.
      Overrides:
      setBlock in class ScopedQueueCoordinator
      Parameters:
      x - the x coordinate from from 0 to 15 inclusive
      y - the y coordinate from from 0 (inclusive) - maxHeight(exclusive)
      z - the z coordinate from 0 to 15 inclusive
      id - the BaseBlock to set the block to
      Returns:
      success or not
    • getBlock

      public @Nullable BlockState getBlock(int x, int y, int z)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: QueueCoordinator
      Get a block at the given coordinates.
      Overrides:
      getBlock in class DelegateQueueCoordinator
      Parameters:
      x - block x
      y - block y
      z - block z
      Returns:
      WorldEdit BlockState
    • getWorld

      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: QueueCoordinator
      Get the world the queue is writing to
      Overrides:
      getWorld in class DelegateQueueCoordinator
      Returns:
      world of the queue
    • getMax

      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      getMax in class ScopedQueueCoordinator
    • getMin

      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      getMin in class ScopedQueueCoordinator