Class SimpleClipboard
java.lang.Object
com.fastasyncworldedit.core.extent.clipboard.SimpleClipboard
- All Implemented Interfaces:
Clipboard
,Extent
,InputExtent
,OutputExtent
,Closeable
,Flushable
,AutoCloseable
,Iterable<BlockVector3>
- Direct Known Subclasses:
LinearClipboard
,ReadOnlyClipboard
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getArea()
final BlockVector3
Get the dimensions of the copy, which is at minimum (1, 1, 1).final int
final int
Get the maximum point in the extent.Get the minimum point in the extent.Get the origin point from which the copy was made from.Get the bounding region of this extent.int
final int
getWidth()
protected void
setOffset
(BlockVector3 offset) void
setOrigin
(BlockVector3 origin) Set the origin point from which the copy was made from.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.extent.clipboard.Clipboard
apply, close, flush, getURI, hasBiomes, iterator, iterator, iterator2d, paste, paste, paste, paste, paste, paste, removeEntity, save, save
Methods inherited from interface com.sk89q.worldedit.extent.Extent
addCaves, addOre, addOres, addPostProcessor, addProcessor, addSchems, apply, cancel, center, commit, contains, contains, countBlocks, countBlocks, createEntity, disableHistory, disableQueue, enableHistory, enableQueue, generate, getBlockDistribution, getBlockDistributionWithData, getEntities, getEntities, getHighestTerrainBlock, getHighestTerrainBlock, getMaxY, getMinY, getNearestSurfaceLayer, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, isQueueEnabled, isWorld, lazyCopy, regenerateChunk, relight, relightBlock, relightSky, removeEntity, replaceBlocks, replaceBlocks, replaceBlocks, setBlocks, setBlocks, setBlocks, spawnResource
Methods inherited from interface com.sk89q.worldedit.extent.InputExtent
getBiome, getBiome, getBiomeType, getBlock, getBlock, getBrightness, getBrightness, getEmittedLight, getEmittedLight, getFullBlock, getFullBlock, getHeightMap, getOpacity, getOpacity, getSkyLight, getSkyLight
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.sk89q.worldedit.extent.OutputExtent
fullySupports3DBiomes, setBiome, setBiome, setBiome, setBlock, setBlock, setBlockLight, setBlockLight, setHeightMap, setSkyLight, setSkyLight, setTile
-
Field Details
-
offset
-
-
Method Details
-
setOffset
-
getOrigin
Description copied from interface:Clipboard
Get the origin point from which the copy was made from. -
setOrigin
Description copied from interface:Clipboard
Set the origin point from which the copy was made from. -
getMinimumPoint
Description copied from interface:Extent
Get the minimum point in the extent.If the extent is unbounded, then a large (negative) value may be returned.
- Specified by:
getMinimumPoint
in interfaceExtent
- Returns:
- the minimum point
-
getMaximumPoint
Description copied from interface:Extent
Get the maximum point in the extent.If the extent is unbounded, then a large (positive) value may be returned.
- Specified by:
getMaximumPoint
in interfaceExtent
- Returns:
- the maximum point
-
getRegion
Description copied from interface:Clipboard
Get the bounding region of this extent.Implementations should return a copy of the region.
-
getDimensions
Description copied from interface:Clipboard
Get the dimensions of the copy, which is at minimum (1, 1, 1).- Specified by:
getDimensions
in interfaceClipboard
- Returns:
- the dimensions
-
getWidth
public final int getWidth() -
getHeight
public final int getHeight() -
getLength
public final int getLength() -
getArea
public int getArea() -
getVolume
public int getVolume()
-