Package com.plotsquared.core.queue
Class ChunkQueueCoordinator
java.lang.Object
com.plotsquared.core.queue.QueueCoordinator
com.plotsquared.core.queue.DelegateQueueCoordinator
com.plotsquared.core.queue.ScopedQueueCoordinator
com.plotsquared.core.queue.ChunkQueueCoordinator
@Deprecated(forRemoval=true,
since="6.8.0")
public class ChunkQueueCoordinator
extends ScopedQueueCoordinator
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 Summary
FieldsModifier and TypeFieldDescriptionfinal BiomeType[][][]
Deprecated, for removal: This API element is subject to removal in a future version.final BlockState[][][]
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionChunkQueueCoordinator
(@NonNull World weWorld, @NonNull BlockVector3 bot, @NonNull BlockVector3 top, boolean biomes) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetBlock
(int x, int y, int z) Deprecated, for removal: This API element is subject to removal in a future version.Get a block at the given coordinates.@NonNull BlockState[][][]
Deprecated, for removal: This API element is subject to removal in a future version.getMax()
Deprecated, for removal: This API element is subject to removal in a future version.getMin()
Deprecated, for removal: This API element is subject to removal in a future version.getWorld()
Deprecated, for removal: This API element is subject to removal in a future version.Get the world the queue is writing toboolean
Deprecated, for removal: This API element is subject to removal in a future version.Set a biome in XYZboolean
Deprecated, for removal: This API element is subject to removal in a future version.Set a biome in XZ.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Sets the block at the coordinates provided to the given id.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Sets the block at the coordinates provided to the given id.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.Sets the block at the coordinates provided to the given id.Methods inherited from class com.plotsquared.core.queue.ScopedQueueCoordinator
fillBiome, setTile
Methods inherited from class com.plotsquared.core.queue.DelegateQueueCoordinator
addProgressSubscriber, addReadChunk, addReadChunks, cancel, enqueue, getChunkConsumer, getCompleteTask, getLightingMode, getParent, getReadChunks, getRegenRegion, getSideEffectSet, isSettingBiomes, isSettingTiles, isUnloadAfter, regenChunk, setBiomesEnabled, setChunkConsumer, setCompleteTask, setEntity, setLightingMode, setModified, setRegenRegion, setSideEffectSet, setUnloadAfter, size, start
Methods inherited from class com.plotsquared.core.queue.QueueCoordinator
addEntities, getChunkObject, getForChunk, getForChunk, getMaxLayer, getMaxY, getMinLayer, getMinY, isForceSync, setBiomeCuboid, setChunkObject, setCuboid, setCuboid, setForceSync, setModified
-
Field Details
-
biomeResult
Deprecated, for removal: This API element is subject to removal in a future version. -
result
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
ChunkQueueCoordinator
public ChunkQueueCoordinator(@NonNull World weWorld, @NonNull BlockVector3 bot, @NonNull BlockVector3 top, boolean biomes) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getBlocks
Deprecated, for removal: This API element is subject to removal in a future version. -
setBiome
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 classScopedQueueCoordinator
- Parameters:
x
- x coordinatez
- z coordinatebiomeType
- biome- Returns:
- success or not
-
setBiome
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 classScopedQueueCoordinator
- Parameters:
x
- x coordinatey
- y coordinatez
- z coordinatebiomeType
- biome- Returns:
- success or not
-
setBlock
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 classScopedQueueCoordinator
- Parameters:
x
- the x coordinate from from 0 to 15 inclusivey
- the y coordinate from from 0 (inclusive) - maxHeight(exclusive)z
- the z coordinate from 0 to 15 inclusiveid
- the BlockState to set the block to- Returns:
- success or not
-
setBlock
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 classScopedQueueCoordinator
- Parameters:
x
- the x coordinate from from 0 to 15 inclusivey
- the y coordinate from from 0 (inclusive) - maxHeight(exclusive)z
- the z coordinate from 0 to 15 inclusivepattern
- the pattern to set the block to- Returns:
- success or not
-
setBlock
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 classScopedQueueCoordinator
- Parameters:
x
- the x coordinate from from 0 to 15 inclusivey
- the y coordinate from from 0 (inclusive) - maxHeight(exclusive)z
- the z coordinate from 0 to 15 inclusiveid
- the BaseBlock to set the block to- Returns:
- success or not
-
getBlock
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 classDelegateQueueCoordinator
- Parameters:
x
- block xy
- block yz
- 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 classDelegateQueueCoordinator
- Returns:
- world of the queue
-
getMax
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getMax
in classScopedQueueCoordinator
-
getMin
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getMin
in classScopedQueueCoordinator
-