Class AreaBoundDelegateQueueCoordinator


public class AreaBoundDelegateQueueCoordinator extends DelegateQueueCoordinator
Queue Coordinator that only sets blocks with the specified PlotArea
  • Constructor Details

    • AreaBoundDelegateQueueCoordinator

      public AreaBoundDelegateQueueCoordinator(@NonNull PlotArea area, @Nullable QueueCoordinator parent)
  • Method Details

    • getArea

      public PlotArea getArea()
      Gets the plot area block settings is limited to
      Returns:
      PlotArea
    • setBlock

      public boolean setBlock(int x, int y, int z, @NonNull com.sk89q.worldedit.world.block.BlockState id)
      Description copied from class: QueueCoordinator
      Sets the block at the coordinates provided to the given id.
      Overrides:
      setBlock in class DelegateQueueCoordinator
      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 com.sk89q.worldedit.world.block.BaseBlock id)
      Description copied from class: QueueCoordinator
      Sets the block at the coordinates provided to the given id.
      Overrides:
      setBlock in class DelegateQueueCoordinator
      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
    • setBlock

      public boolean setBlock(int x, int y, int z, @NonNull com.sk89q.worldedit.function.pattern.Pattern pattern)
      Description copied from class: QueueCoordinator
      Sets the block at the coordinates provided to the given id.
      Overrides:
      setBlock in class DelegateQueueCoordinator
      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
    • setBiome

      public boolean setBiome(int x, int z, @NonNull com.sk89q.worldedit.world.biome.BiomeType biome)
      Description copied from class: QueueCoordinator
      Set a biome in XZ. This will likely set to the whole column
      Overrides:
      setBiome in class DelegateQueueCoordinator
      Parameters:
      x - x coordinate
      z - z coordinate
      biome - biome
      Returns:
      success or not
    • setBiome

      public boolean setBiome(int x, int y, int z, @NonNull com.sk89q.worldedit.world.biome.BiomeType biome)
      Description copied from class: QueueCoordinator
      Set a biome in XYZ
      Overrides:
      setBiome in class DelegateQueueCoordinator
      Parameters:
      x - x coordinate
      y - y coordinate
      z - z coordinate
      biome - biome
      Returns:
      success or not
    • setTile

      public boolean setTile(int x, int y, int z, @NonNull com.sk89q.jnbt.CompoundTag tag)
      Description copied from class: QueueCoordinator
      Sets a tile entity at the coordinates provided to the given CompoundTag
      Overrides:
      setTile in class DelegateQueueCoordinator
      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
      tag - the CompoundTag to set the tile to
      Returns:
      success or not