| Modifier and Type | Method and Description |
|---|---|
Region |
LocalSession.getRegion()
Deprecated.
|
Region |
LocalSession.getSelection(LocalWorld world)
Deprecated.
|
Region |
LocalSession.getSelection(World world)
Get the selection region.
|
| Modifier and Type | Method and Description |
|---|---|
int |
EditSession.center(Region region,
Pattern pattern)
Sets the blocks at the center of the given region to the given pattern.
|
void |
CuboidClipboard.copy(EditSession editSession,
Region region)
Deprecated.
Copies blocks to the clipboard.
|
int |
EditSession.countBlock(Region region,
Set<Integer> searchIDs)
Count the number of blocks of a given list of types in a region.
|
int |
EditSession.countBlocks(Region region,
Set<BaseBlock> searchBlocks)
Count the number of blocks of a list of types in a region.
|
int |
EditSession.deformRegion(Region region,
Vector zero,
Vector unit,
String expressionString) |
List<Countable<Integer>> |
EditSession.getBlockDistribution(Region region)
Get the block distribution inside a region.
|
List<Countable<BaseBlock>> |
EditSession.getBlockDistributionWithData(Region region)
Get the block distribution (with data values) inside a region.
|
List<? extends Entity> |
EditSession.getEntities(Region region) |
int |
EditSession.hollowOutRegion(Region region,
int thickness,
Pattern pattern)
Hollows out the region (Semi-well-defined for non-cuboid selections).
|
int |
EditSession.makeBiomeShape(Region region,
Vector zero,
Vector unit,
BaseBiome biomeType,
String expressionString,
boolean hollow) |
int |
EditSession.makeCuboidFaces(Region region,
BaseBlock block)
Make the faces of the given region as if it was a
CuboidRegion. |
int |
EditSession.makeCuboidFaces(Region region,
Pattern pattern)
Make the faces of the given region as if it was a
CuboidRegion. |
int |
EditSession.makeCuboidWalls(Region region,
BaseBlock block)
Make the walls (all faces but those parallel to the X-Z plane) of the given region
as if it was a
CuboidRegion. |
int |
EditSession.makeCuboidWalls(Region region,
Pattern pattern)
Make the walls (all faces but those parallel to the X-Z plane) of the given region
as if it was a
CuboidRegion. |
int |
EditSession.makeFaces(Region region,
Pattern pattern)
Make the faces of the given region.
|
int |
EditSession.makeShape(Region region,
Vector zero,
Vector unit,
Pattern pattern,
String expressionString,
boolean hollow) |
int |
EditSession.makeWalls(Region region,
Pattern pattern)
Make the walls of the given region.
|
int |
EditSession.moveCuboidRegion(Region region,
Vector dir,
int distance,
boolean copyAir,
BaseBlock replacement)
Move the blocks in a region a certain direction.
|
int |
EditSession.moveRegion(Region region,
Vector dir,
int distance,
boolean copyAir,
BaseBlock replacement)
Move the blocks in a region a certain direction.
|
int |
EditSession.naturalizeCuboidBlocks(Region region)
Turns the first 3 layers into dirt/grass and the bottom layers
into rock, like a natural Minecraft mountain.
|
int |
EditSession.overlayCuboidBlocks(Region region,
BaseBlock block)
Places a layer of blocks on top of ground blocks in the given region
(as if it were a cuboid).
|
int |
EditSession.overlayCuboidBlocks(Region region,
Pattern pattern)
Places a layer of blocks on top of ground blocks in the given region
(as if it were a cuboid).
|
int |
EditSession.replaceBlocks(Region region,
Mask mask,
Pattern pattern)
Replaces all the blocks matching a given mask, within a given region, to a block
returned by a given pattern.
|
int |
EditSession.replaceBlocks(Region region,
Set<BaseBlock> filter,
BaseBlock replacement)
Replaces all the blocks matching a given filter, within a given region, to a block
returned by a given pattern.
|
int |
EditSession.replaceBlocks(Region region,
Set<BaseBlock> filter,
Pattern pattern)
Replaces all the blocks matching a given filter, within a given region, to a block
returned by a given pattern.
|
int |
EditSession.setBlocks(Region region,
BaseBlock block)
Sets all the blocks inside a region to a given block type.
|
int |
EditSession.setBlocks(Region region,
Pattern pattern)
Sets all the blocks inside a region to a given pattern.
|
int |
EditSession.stackCuboidRegion(Region region,
Vector dir,
int count,
boolean copyAir)
Stack a cuboid region.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RegionCommands.center(Player player,
EditSession editSession,
Region region,
Pattern pattern) |
void |
ClipboardCommands.copy(Player player,
LocalSession session,
EditSession editSession,
Region region,
boolean copyEntities,
Mask mask) |
void |
RegionCommands.curve(Player player,
EditSession editSession,
Region region,
Pattern pattern,
int thickness,
boolean shell) |
void |
ClipboardCommands.cut(Player player,
LocalSession session,
EditSession editSession,
Region region,
Pattern leavePattern,
boolean copyEntities,
Mask mask) |
void |
RegionCommands.deform(Player player,
LocalSession session,
EditSession editSession,
Region region,
String expression,
boolean useRawCoords,
boolean offset) |
void |
RegionCommands.faces(Player player,
EditSession editSession,
Region region,
Pattern pattern) |
void |
RegionCommands.flora(Player player,
EditSession editSession,
Region region,
double density) |
void |
RegionCommands.forest(Player player,
EditSession editSession,
Region region,
TreeGenerator.TreeType type,
double density) |
void |
GenerationCommands.generate(Player player,
LocalSession session,
EditSession editSession,
Region region,
Pattern pattern,
String expression,
boolean hollow,
boolean useRawCoords,
boolean offset,
boolean offsetCenter) |
void |
GenerationCommands.generateBiome(Player player,
LocalSession session,
EditSession editSession,
Region region,
BaseBiome target,
String expression,
boolean hollow,
boolean useRawCoords,
boolean offset,
boolean offsetCenter) |
void |
RegionCommands.hollow(Player player,
EditSession editSession,
Region region,
int thickness,
Pattern pattern) |
void |
RegionCommands.line(Player player,
EditSession editSession,
Region region,
Pattern pattern,
int thickness,
boolean shell) |
void |
RegionCommands.move(Player player,
EditSession editSession,
LocalSession session,
Region region,
int count,
Vector direction,
BaseBlock replace,
boolean moveSelection) |
void |
RegionCommands.naturalize(Player player,
EditSession editSession,
Region region) |
void |
RegionCommands.overlay(Player player,
EditSession editSession,
Region region,
Pattern pattern) |
void |
RegionCommands.regenerateChunk(Player player,
LocalSession session,
EditSession editSession,
Region region) |
void |
RegionCommands.replace(Player player,
EditSession editSession,
Region region,
Mask from,
Pattern to) |
void |
RegionCommands.smooth(Player player,
EditSession editSession,
Region region,
int iterations,
boolean affectNatural) |
void |
RegionCommands.stack(Player player,
EditSession editSession,
LocalSession session,
Region region,
int count,
Vector direction,
boolean moveSelection,
boolean ignoreAirBlocks) |
void |
RegionCommands.walls(Player player,
EditSession editSession,
Region region,
Pattern pattern) |
| Modifier and Type | Method and Description |
|---|---|
List<Entity> |
NullExtent.getEntities(Region region) |
List<? extends Entity> |
Extent.getEntities(Region region)
Get a list of all entities within the given region.
|
List<? extends Entity> |
AbstractDelegateExtent.getEntities(Region region) |
List<? extends Entity> |
ChangeSetExtent.getEntities(Region region) |
| Modifier and Type | Method and Description |
|---|---|
Region |
ForgetfulExtentBuffer.asRegion()
Return a region representation of this buffer.
|
| Modifier and Type | Method and Description |
|---|---|
Region |
BlockArrayClipboard.getRegion() |
Region |
Clipboard.getRegion()
Get the bounding region of this extent.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends Entity> |
BlockArrayClipboard.getEntities(Region region) |
| Constructor and Description |
|---|
BlockArrayClipboard(Region region)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Region |
RegionMask.getRegion()
Get the region.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RegionMask.setRegion(Region region)
Set the region that positions must be contained within.
|
| Constructor and Description |
|---|
RegionMask(Region region)
Create a new region mask.
|
| Constructor and Description |
|---|
ForwardExtentCopy(Extent source,
Region region,
Extent destination,
Vector to)
Create a new copy using the region's lowest minimum point as the
"from" position.
|
ForwardExtentCopy(Extent source,
Region region,
Vector from,
Extent destination,
Vector to)
Create a new copy.
|
| Constructor and Description |
|---|
RegionVisitor(Region region,
RegionFunction function) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Entity> |
LocalWorldAdapter.getEntities(Region region) |
boolean |
LocalWorldAdapter.regenerate(Region region,
EditSession editSession) |
| Constructor and Description |
|---|
RegionMask(Region region)
Deprecated.
|
| Constructor and Description |
|---|
HeightMap(EditSession session,
Region region)
Constructs the HeightMap
|
HeightMap(EditSession session,
Region region,
boolean naturalOnly)
Constructs the HeightMap
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
FlatRegion |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRegion |
class |
ConvexPolyhedralRegion |
class |
CuboidRegion
An axis-aligned cuboid.
|
class |
CylinderRegion
Represents a cylindrical region.
|
class |
EllipsoidRegion
Represents an ellipsoid region.
|
class |
NullRegion
A region that contains no points.
|
class |
Polygonal2DRegion
Represents a 2D polygonal region.
|
class |
RegionIntersection
An intersection of several other regions.
|
class |
TransformRegion
Transforms another region according to a provided vector
Transform. |
| Modifier and Type | Method and Description |
|---|---|
Region |
Region.clone()
Make a clone of the region.
|
Region |
CuboidRegion.getFaces()
Get a region that contains the faces of this cuboid.
|
Region |
RegionSelector.getIncompleteRegion()
Get the region even if it's not fully defined.
|
Region |
TransformRegion.getRegion()
Get the untransformed, base region.
|
Region |
RegionSelector.getRegion()
Get the selection.
|
Region |
CuboidRegion.getWalls()
Get a region that contains the walls (all faces but the ones parallel to
the X-Z plane) of this cuboid.
|
| Modifier and Type | Method and Description |
|---|---|
static FlatRegion |
Regions.asFlatRegion(Region region)
Attempt to get a
FlatRegion from the given region. |
static CuboidRegion |
CuboidRegion.makeCuboid(Region region)
Make a cuboid region out of the given region using the minimum and maximum
bounds of the provided region.
|
static int |
Regions.maximumBlockY(Region region)
Get the maximum Y coordinate of the given region using the region's
getMaximumPoint() method. |
static double |
Regions.maximumY(Region region)
Get the maximum Y coordinate of the given region using the region's
getMaximumPoint() method. |
static int |
Regions.minimumBlockY(Region region)
Get the minimum Y coordinate of the given region using the region's
getMinimumPoint() method. |
static double |
Regions.minimumY(Region region)
Get the minimum Y coordinate of the given region using the region's
getMinimumPoint() method. |
| Constructor and Description |
|---|
RegionIntersection(LocalWorld world,
Region... regions)
Create a new instance with the included list of regions.
|
RegionIntersection(Region... regions)
Create a new instance with the included list of regions.
|
TransformRegion(Region region,
Transform transform)
Create a new instance.
|
TransformRegion(World world,
Region region,
Transform transform)
Create a new instance.
|
| Constructor and Description |
|---|
RegionIntersection(List<Region> regions)
Create a new instance with the included list of regions.
|
RegionIntersection(LocalWorld world,
List<Region> regions)
Create a new instance with the included list of regions.
|
| Constructor and Description |
|---|
FlatRegionIterator(Region region) |
RegionIterator(Region region) |
| Modifier and Type | Method and Description |
|---|---|
Region |
ConvexPolyhedralRegionSelector.getIncompleteRegion() |
Region |
ConvexPolyhedralRegionSelector.getRegion() |
| Modifier and Type | Field and Description |
|---|---|
protected Region |
ArbitraryShape.extent |
| Modifier and Type | Method and Description |
|---|---|
protected Region |
ArbitraryShape.getExtent() |
| Constructor and Description |
|---|
ArbitraryBiomeShape(Region extent) |
ArbitraryShape(Region extent) |
RegionShape(Region extent) |
| Modifier and Type | Class and Description |
|---|---|
class |
RequestSelection
A region that mirrors the current selection according to the current
LocalSession and LocalWorld set on the current
Request. |
| Modifier and Type | Method and Description |
|---|---|
Region |
RequestSelection.clone() |
protected Region |
RequestSelection.getRegion()
Get the delegate region.
|
| Modifier and Type | Method and Description |
|---|---|
List<Entity> |
NullWorld.getEntities(Region region) |
boolean |
NullWorld.regenerate(Region region,
EditSession editSession) |
boolean |
World.regenerate(Region region,
EditSession editSession)
Regenerate an area.
|
| Constructor and Description |
|---|
SnapshotRestore(ChunkStore chunkStore,
EditSession editSession,
Region region)
Construct the snapshot restore operation.
|
Copyright © 2010-2014. All Rights Reserved.