Class SingleRegionExtent
java.lang.Object
com.sk89q.worldedit.extent.AbstractDelegateExtent
com.fastasyncworldedit.core.extent.ResettableExtent
com.fastasyncworldedit.core.extent.FaweRegionExtent
com.fastasyncworldedit.core.extent.SingleRegionExtent
- All Implemented Interfaces:
IBatchProcessor
,Extent
,InputExtent
,OutputExtent
,Serializable
- See Also:
-
Field Summary
Fields inherited from class com.sk89q.worldedit.extent.AbstractDelegateExtent
extent
-
Constructor Summary
ConstructorDescriptionSingleRegionExtent
(Extent extent, FaweLimit limit, Region region) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(int x, int z) boolean
contains
(int x, int y, int z) Returns true if the extent contains the given positionvoid
postProcess
(IChunk chunk, IChunkGet get, IChunkSet set) Post-process a chunk that has been edited.Future
<?> postProcessSet
(IChunk chunk, IChunkGet get, IChunkSet set) Post-process a chunk that has been edited.boolean
processGet
(int chunkX, int chunkZ) processSet
(IChunk chunk, IChunkGet get, IChunkSet set) Process a chunk that has been set.Methods inherited from class com.fastasyncworldedit.core.extent.FaweRegionExtent
construct, contains, contains, createEntity, createEntity, getBiome, getBiomeType, getBlock, getBlock, getFullBlock, getFullBlock, getScope, isGlobal, setBiome, setBlock
Methods inherited from class com.fastasyncworldedit.core.extent.ResettableExtent
init, setExtent, setOrigin
Methods inherited from class com.sk89q.worldedit.extent.AbstractDelegateExtent
addPostProcessor, addProcessor, apply, cancel, commit, commitBefore, countBlocks, countBlocks, disableHistory, disableQueue, enableQueue, fullySupports3DBiomes, getBlockDistribution, getBlockDistributionWithData, getBrightness, getEmittedLight, getEntities, getEntities, getExtent, getMaximumPoint, getMaxY, getMinimumPoint, getMinY, getSkyLight, isQueueEnabled, isWorld, relight, relightBlock, relightSky, removeEntity, replaceBlocks, replaceBlocks, replaceBlocks, setBiome, setBlock, setBlockLight, setBlocks, setBlocks, setBlocks, setChangeSet, setSkyLight, tile, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.extent.Extent
addCaves, addOre, addOres, addSchems, apply, center, enableHistory, generate, getHighestTerrainBlock, getHighestTerrainBlock, getNearestSurfaceLayer, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, lazyCopy, regenerateChunk, spawnResource
Methods inherited from interface com.fastasyncworldedit.core.queue.IBatchProcessor
flush, join, joinPost, remove, trimNBT, trimNBT, trimY
Methods inherited from interface com.sk89q.worldedit.extent.InputExtent
getBiome, getBrightness, getEmittedLight, getHeightMap, getOpacity, getOpacity, getSkyLight
Methods inherited from interface com.sk89q.worldedit.extent.OutputExtent
setBiome, setBlockLight, setHeightMap, setSkyLight, setTile
-
Constructor Details
-
SingleRegionExtent
Create a new instance.- Parameters:
extent
- the extent
-
-
Method Details
-
contains
public boolean contains(int x, int y, int z) Description copied from interface:Extent
Returns true if the extent contains the given position- Specified by:
contains
in interfaceExtent
- Specified by:
contains
in classFaweRegionExtent
- Parameters:
x
- position xy
- position yz
- position z- Returns:
- if position is contained
-
contains
public boolean contains(int x, int z) - Specified by:
contains
in classFaweRegionExtent
-
getRegions
- Specified by:
getRegions
in classFaweRegionExtent
-
processSet
Description copied from interface:IBatchProcessor
Process a chunk that has been set. -
postProcessSet
Description copied from interface:IBatchProcessor
Post-process a chunk that has been edited. Set should NOT be modified here, changes will NOT be flushed to the world, but MAY be flushed to history. Defaults to nothing as most Processors will not use it. Post-processors that are not technically blocking should override this method to allow post-processors to become blocking if required. -
postProcess
Description copied from interface:IBatchProcessor
Post-process a chunk that has been edited. Set should NOT be modified here, changes will NOT be flushed to the world, but MAY be flushed to history. Defaults to nothing as most Processors will not use it. If the post-processor will run tasks asynchronously/not be blocking, useIBatchProcessor.postProcessSet(com.fastasyncworldedit.core.queue.IChunk, com.fastasyncworldedit.core.queue.IChunkGet, com.fastasyncworldedit.core.queue.IChunkSet)
to return a Future. -
processGet
public boolean processGet(int chunkX, int chunkZ)
-