public interface Clipboard extends Extent
Modifier and Type | Method and Description |
---|---|
BlockVector3 |
getDimensions()
Get the dimensions of the copy, which is at minimum (1, 1, 1).
|
BlockVector3 |
getOrigin()
Get the origin point from which the copy was made from.
|
Region |
getRegion()
Get the bounding region of this extent.
|
default boolean |
hasBiomes()
Returns true if the clipboard has biome data.
|
void |
setOrigin(BlockVector3 origin)
Set the origin point from which the copy was made from.
|
createEntity, getEntities, getEntities, getMaximumPoint, getMinimumPoint
getBiome, getBiome, getBlock, getFullBlock
commit, fullySupports3DBiomes, setBiome, setBiome, setBlock
Region getRegion()
Implementations should return a copy of the region.
BlockVector3 getDimensions()
BlockVector3 getOrigin()
void setOrigin(BlockVector3 origin)
origin
- the origindefault boolean hasBiomes()
InputExtent.getBiome(BlockVector3)
strongly suggests returning BiomeTypes.OCEAN
instead of null
if biomes aren't present.