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
ConstructorsConstructorDescriptionSingleRegionExtent(Extent extent, FaweLimit limit, Region region) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(int x, int z) booleancontains(int x, int y, int z) Returns true if the extent contains the given positionvoidpostProcess(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.booleanprocessGet(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, setBlockMethods inherited from class com.fastasyncworldedit.core.extent.ResettableExtent
init, setExtent, setOriginMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, spawnResourceMethods inherited from interface com.fastasyncworldedit.core.queue.IBatchProcessor
flush, join, joinPost, processGet, remove, trimNBT, trimNBT, trimYMethods inherited from interface com.sk89q.worldedit.extent.InputExtent
getBiome, getBrightness, getEmittedLight, getHeightMap, getOpacity, getOpacity, getSkyLightMethods 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:ExtentReturns true if the extent contains the given position- Specified by:
containsin interfaceExtent- Specified by:
containsin classFaweRegionExtent- Parameters:
x- position xy- position yz- position z- Returns:
- if position is contained
-
contains
public boolean contains(int x, int z) - Specified by:
containsin classFaweRegionExtent
-
getRegions
- Specified by:
getRegionsin classFaweRegionExtent
-
processSet
Description copied from interface:IBatchProcessorProcess a chunk that has been set. -
postProcessSet
Description copied from interface:IBatchProcessorPost-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:IBatchProcessorPost-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)
-