| Package | Description |
|---|---|
| com.sk89q.worldedit.function | |
| com.sk89q.worldedit.function.mask | |
| com.sk89q.worldedit.function.visitor |
| Constructor and Description |
|---|
FlatRegionMaskingFilter(Mask2D mask,
FlatRegionFunction function)
Create a new masking filter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMask2D
A base class of
Mask2D that all masks should inherit from. |
class |
BiomeMask2D
Tests true if the biome at applied points is the same as the one given.
|
class |
ExpressionMask2D |
class |
MaskIntersection2D
Tests true if all contained masks test true.
|
class |
MaskUnion2D
Tests true if any contained mask is true, even if it just one.
|
class |
NoiseFilter2D
A mask that uses a noise generator and returns true whenever the noise
generator returns a value above the given density.
|
class |
OffsetMask2D
Checks whether another mask tests true for a position that is offset
a given vector.
|
| Modifier and Type | Method and Description |
|---|---|
static Mask2D |
Masks.alwaysTrue2D()
Return a 2D mask that always returns true;
|
Mask2D |
OffsetMask2D.getMask()
Get the mask.
|
static Mask2D |
Masks.negate(Mask2D mask)
Negate the given mask.
|
Mask2D |
MaskUnion.toMask2D() |
Mask2D |
NoiseFilter.toMask2D() |
Mask2D |
BoundedHeightMask.toMask2D() |
Mask2D |
SolidBlockMask.toMask2D() |
Mask2D |
BlockMask.toMask2D() |
Mask2D |
ExpressionMask.toMask2D() |
Mask2D |
ExistingBlockMask.toMask2D() |
Mask2D |
OffsetMask.toMask2D() |
Mask2D |
RegionMask.toMask2D() |
Mask2D |
MaskIntersection.toMask2D() |
Mask2D |
Mask.toMask2D()
Get the 2D version of this mask if one exists.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Mask2D> |
MaskIntersection2D.getMasks()
Get the masks that are tested with.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MaskIntersection2D.add(Mask2D... mask)
Add some masks to the list.
|
static Mask |
Masks.asMask(Mask2D mask)
Return a 3-dimensional version of a 2D mask.
|
static Mask2D |
Masks.negate(Mask2D mask)
Negate the given mask.
|
void |
OffsetMask2D.setMask(Mask2D mask)
Set the mask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MaskIntersection2D.add(Collection<Mask2D> masks)
Add some masks to the list.
|
| Constructor and Description |
|---|
MaskIntersection2D(Mask2D... mask)
Create a new intersection.
|
MaskUnion2D(Mask2D... mask)
Create a new union.
|
OffsetMask2D(Mask2D mask,
Vector2D offset)
Create a new instance.
|
| Constructor and Description |
|---|
MaskIntersection2D(Collection<Mask2D> masks)
Create a new intersection.
|
MaskUnion2D(Collection<Mask2D> masks)
Create a new union.
|
| Modifier and Type | Method and Description |
|---|---|
Mask2D |
LayerVisitor.getMask()
Get the mask that determines which columns within the flat region
will be visited.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LayerVisitor.setMask(Mask2D mask)
Set the mask that determines which columns within the flat region
will be visited.
|
Copyright © 2010-2014. All Rights Reserved.