public interface Extent extends InputExtent, OutputExtent
the get____() portion,
the set____() portion| Modifier and Type | Method and Description |
|---|---|
Entity |
createEntity(Location location,
BaseEntity entity)
Create an entity at the given location.
|
List<? extends Entity> |
getEntities()
Get a list of all entities.
|
List<? extends Entity> |
getEntities(Region region)
Get a list of all entities within the given region.
|
Vector |
getMaximumPoint()
Get the maximum point in the extent.
|
Vector |
getMinimumPoint()
Get the minimum point in the extent.
|
getBiome, getBlock, getLazyBlockcommit, setBiome, setBlockVector getMinimumPoint()
If the extent is unbounded, then a large (negative) value may be returned.
Vector getMaximumPoint()
If the extent is unbounded, then a large (positive) value may be returned.
List<? extends Entity> getEntities(Region region)
If the extent is not wholly loaded (i.e. a world being simulated in the game will not have every chunk loaded), then this list may not be incomplete.
region - the region in which entities must be containedList<? extends Entity> getEntities()
If the extent is not wholly loaded (i.e. a world being simulated in the game will not have every chunk loaded), then this list may not be incomplete.
@Nullable Entity createEntity(Location location, BaseEntity entity)
entity - the entitylocation - the locationCopyright © 2010-2014. All Rights Reserved.