Class AugmentedUtils


public class AugmentedUtils extends Object
  • Constructor Details

  • Method Details

    • bypass

      public static void bypass(boolean bypass, Runnable run)
    • generateChunk

      public static boolean generateChunk(@NonNull String world, int chunkX, int chunkZ, @Nullable QueueCoordinator queue)
      Generate an augmented world chunk at the given location. If a queue is given, the data will be written to it, else a new queue will be created and written to world. Returns true if generation occurred.
      world - World name to generate data for. Must be a PlotSquared world containing one or more areas else nothing will happen.
      chunkX - Chunk X position
      chunkZ - Chunk Z position
      queue - Queue to write to, if desired.
      true if generation occurred.
    • generate

      @Deprecated(forRemoval=true, since="6.8.0") public static boolean generate(@Nullable Object chunkObject, @NonNull String world, int chunkX, int chunkZ, QueueCoordinator queue)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use generateChunk(String, int, int, QueueCoordinator) as chunkObject is not required in the above method