Package com.plotsquared.bukkit.queue
Class GenChunk
java.lang.Object
com.plotsquared.core.queue.QueueCoordinator
com.plotsquared.core.queue.DelegateQueueCoordinator
com.plotsquared.core.queue.ZeroedDelegateScopedQueueCoordinator
com.plotsquared.bukkit.queue.GenChunk
Internal use only. Subject to changes at any time.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()void@Nullable com.sk89q.worldedit.world.block.BlockStategetBlock(int x, int y, int z) getChunk()getMax()getMin()@NonNull com.sk89q.worldedit.world.WorldgetWorld()intgetX()intgetZ()booleanbooleanbooleanSet the in the whole column of XZbooleanbooleanbooleanvoidsetChunk(@NonNull ChunkWrapper wrap) Set the world and XZ of the chunk being represented viaChunkWrappervoidSet the chunk being representedvoidsetChunkData(@NonNull ChunkGenerator.ChunkData chunkData) Set the internal Bukkit chunk datavoidsetCuboid(@NonNull Location pos1, @NonNull Location pos2, @NonNull com.sk89q.worldedit.world.block.BlockState block) Methods inherited from class com.plotsquared.core.queue.ZeroedDelegateScopedQueueCoordinator
setBiome, setTileMethods 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, startMethods inherited from class com.plotsquared.core.queue.QueueCoordinator
addEntities, getChunkObject, getForChunk, getMaxLayer, getMaxY, getMinLayer, getMinY, isForceSync, setBiomeCuboid, setChunkObject, setCuboid, setForceSync, setModified
-
Field Details
-
biomes
-
result
-
biomeGrid
-
chunk
-
world
-
chunkX
-
chunkZ
-
-
Constructor Details
-
GenChunk
- Parameters:
minY- minimum world Y, inclusivemaxY- maximum world Y, inclusive- Since:
- 6.6.0
-
-
Method Details
-
getChunkData
-
setChunkData
Set the internal Bukkit chunk data- Parameters:
chunkData- Bukkit ChunkData
-
getChunk
-
setChunk
Set the chunk being represented- Parameters:
chunk- Bukkit Chunk
-
setChunk
Set the world and XZ of the chunk being represented viaChunkWrapper- Parameters:
wrap- PlotSquared ChunkWrapper
-
fillBiome
- Overrides:
fillBiomein classZeroedDelegateScopedQueueCoordinator
-
setCuboid
public void setCuboid(@NonNull Location pos1, @NonNull Location pos2, @NonNull com.sk89q.worldedit.world.block.BlockState block) - Overrides:
setCuboidin classQueueCoordinator
-
setBiome
- Overrides:
setBiomein classZeroedDelegateScopedQueueCoordinator
-
setBiome
Set the in the whole column of XZ- Parameters:
x- Relative x location within the chunk (0 - 15)z- Relative z location within the chunk (0 - 15)biome- Bukkit biome to set- Returns:
- if successful
-
setBiome
-
setBlock
public boolean setBlock(int x, int y, int z, @NonNull com.sk89q.worldedit.function.pattern.Pattern pattern) - Overrides:
setBlockin classZeroedDelegateScopedQueueCoordinator
-
setBlock
public boolean setBlock(int x, int y, int z, @NonNull com.sk89q.worldedit.world.block.BlockState id) - Overrides:
setBlockin classZeroedDelegateScopedQueueCoordinator
-
setBlock
- Overrides:
setBlockin classZeroedDelegateScopedQueueCoordinator
-
getBlock
- Overrides:
getBlockin classDelegateQueueCoordinator
-
getX
-
getZ
-
getWorld
- Overrides:
getWorldin classDelegateQueueCoordinator
-
getMax
- Overrides:
getMaxin classZeroedDelegateScopedQueueCoordinator
-
getMin
- Overrides:
getMinin classZeroedDelegateScopedQueueCoordinator
-
clone
-