Package com.plotsquared.core.generator
Class AugmentedUtils
java.lang.Object
com.plotsquared.core.generator.AugmentedUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
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.static boolean
generateChunk
(@NonNull String world, int chunkX, int chunkZ, @Nullable QueueCoordinator queue) Generate an augmented world chunk at the given location.
-
Constructor Details
-
AugmentedUtils
public AugmentedUtils()
-
-
Method Details
-
bypass
-
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.- Parameters:
world
- World name to generate data for. Must be a PlotSquared world containing one or more areas else nothing will happen.chunkX
- Chunk X positionchunkZ
- Chunk Z positionqueue
- Queue to write to, if desired.- Returns:
- true if generation occurred.
- Since:
- 6.8.0
-
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.UsegenerateChunk(String, int, int, QueueCoordinator)
as chunkObject is not required in the above method
-
generateChunk(String, int, int, QueueCoordinator)
as chunkObject is not required in the above method