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 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 FaweRegionExtent
construct, contains, contains, createEntity, createEntity, getBiome, getBiomeType, getBlock, getBlock, getFullBlock, getFullBlock, getScope, isGlobal, setBiome, setBlockMethods inherited from class ResettableExtent
init, setExtent, setOriginMethods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Extent
addCaves, addOre, addOre, addOres, addOres, addSchems, apply, center, enableHistory, generate, getHighestTerrainBlock, getHighestTerrainBlock, getNearestSurfaceLayer, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, lazyCopy, regenerateChunk, removeEntities, spawnResourceMethods inherited from interface IBatchProcessor
flush, join, joinPost, processGet, remove, trimNBT, trimNBT, trimYMethods inherited from interface InputExtent
getBiome, getBrightness, getEmittedLight, getHeightMap, getOpacity, getOpacity, getSkyLightMethods inherited from interface OutputExtent
setBiome, setBlockLight, setHeightMap, setSkyLight, setTile
-
Constructor Details
-
SingleRegionExtent
-
-
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(IChunk, IChunkGet, IChunkSet)to return a Future. -
processGet
public boolean processGet(int chunkX, int chunkZ)
-