| Modifier and Type | Method and Description |
|---|---|
Mask |
EditSession.getMask()
Get the mask.
|
Mask |
LocalSession.getMask()
Get the mask.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
EditSession.setMask(Mask mask)
Set a mask.
|
void |
LocalSession.setMask(Mask mask)
Set a mask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClipboardCommands.copy(Player player,
LocalSession session,
EditSession editSession,
Region region,
boolean copyEntities,
Mask mask) |
void |
ClipboardCommands.cut(Player player,
LocalSession session,
EditSession editSession,
Region region,
Pattern leavePattern,
boolean copyEntities,
Mask mask) |
void |
GeneralCommands.gmask(Player player,
LocalSession session,
EditSession editSession,
Mask mask) |
void |
ToolUtilCommands.mask(Player player,
LocalSession session,
EditSession editSession,
Mask mask) |
void |
RegionCommands.replace(Player player,
EditSession editSession,
Region region,
Mask from,
Pattern to) |
| Modifier and Type | Method and Description |
|---|---|
Mask |
BrushTool.getMask()
Get the filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BrushTool.setMask(Mask filter)
Set the block filter used for identifying blocks to replace.
|
| Modifier and Type | Method and Description |
|---|---|
Mask |
MaskingExtent.getMask()
Get the mask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MaskingExtent.setMask(Mask mask)
Set a mask.
|
| Constructor and Description |
|---|
MaskingExtent(Extent extent,
Mask mask)
Create a new instance.
|
| Constructor and Description |
|---|
ForgetfulExtentBuffer(Extent delegate,
Mask mask)
Create a new extent buffer that will buffer changes that meet the criteria
of the given mask.
|
| Modifier and Type | Method and Description |
|---|---|
Mask |
GroundFunction.getMask()
Get the mask that determines what the ground consists of.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GroundFunction.setMask(Mask mask)
Set the mask that determines what the ground consists of.
|
| Constructor and Description |
|---|
GroundFunction(Mask mask,
RegionFunction function)
Create a new ground function.
|
RegionMaskingFilter(Mask mask,
RegionFunction function)
Create a new masking filter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExtentMask
|
class |
AbstractMask
A base class of
Mask that all masks should inherit from. |
class |
BlockMask
A mask that checks whether blocks at the given positions are matched by
a block in a list.
|
class |
BoundedHeightMask
Has the criteria where the Y value of passed positions must be within
a certain range of Y values (inclusive).
|
class |
ExistingBlockMask
A mask that returns true whenever the block at the location is not
an air block (it contains some other block).
|
class |
ExpressionMask
A mask that evaluates an expression.
|
class |
FuzzyBlockMask |
class |
MaskIntersection
Combines several masks and requires that all masks return true
when a certain position is tested.
|
class |
MaskUnion
Combines several masks and requires that one or more masks return true
when a certain position is tested.
|
class |
NoiseFilter
A mask that uses a noise generator and returns true whenever the noise
generator returns a value above the given density.
|
class |
OffsetMask
Checks whether another mask tests true for a position that is offset
a given vector.
|
class |
RegionMask
A mask that tests whether given positions are contained within a region.
|
class |
SolidBlockMask |
| Modifier and Type | Method and Description |
|---|---|
static Mask |
Masks.alwaysTrue()
Return a 3D mask that always returns true;
|
static Mask |
Masks.asMask(Mask2D mask)
Return a 3-dimensional version of a 2D mask.
|
Mask |
OffsetMask.getMask()
Get the mask.
|
static Mask |
Masks.negate(Mask mask)
Negate the given mask.
|
static Mask |
Masks.wrap(Mask mask)
Wrap an old-style mask and convert it to a new mask.
|
static Mask |
Masks.wrap(Mask mask,
EditSession editSession)
Deprecated.
Please avoid if possible
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Mask> |
MaskIntersection.getMasks()
Get the masks that are tested with.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MaskIntersection.add(Mask... mask)
Add some masks to the list.
|
static Mask |
Masks.negate(Mask mask)
Negate the given mask.
|
void |
OffsetMask.setMask(Mask mask)
Set the mask.
|
static Mask |
Masks.wrap(Mask mask)
Convert a new-style mask to an old-style mask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MaskIntersection.add(Collection<Mask> masks)
Add some masks to the list.
|
| Constructor and Description |
|---|
MaskIntersection(Mask... mask)
Create a new intersection.
|
MaskUnion(Mask... mask)
Create a new union.
|
OffsetMask(Mask mask,
Vector offset)
Create a new instance.
|
| Constructor and Description |
|---|
MaskIntersection(Collection<Mask> masks)
Create a new intersection.
|
MaskUnion(Collection<Mask> masks)
Create a new union.
|
| Modifier and Type | Method and Description |
|---|---|
Mask |
ForwardExtentCopy.getSourceMask()
Get the mask that gets applied to the source extent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ForwardExtentCopy.setSourceMask(Mask sourceMask)
Set a mask that gets applied to the source extent.
|
| Constructor and Description |
|---|
DownwardVisitor(Mask mask,
RegionFunction function,
int baseY)
Create a new visitor.
|
NonRisingVisitor(Mask mask,
RegionFunction function)
Create a new recursive visitor.
|
RecursiveVisitor(Mask mask,
RegionFunction function)
Create a new recursive visitor.
|
| Modifier and Type | Method and Description |
|---|---|
Mask |
LocalWorldAdapter.createLiquidMask() |
| Modifier and Type | Method and Description |
|---|---|
Mask |
WorldEditBinding.getMask(ArgumentStack context)
Gets an
Mask from a ArgumentStack. |
| Modifier and Type | Method and Description |
|---|---|
Mask |
AbstractWorld.createLiquidMask() |
Mask |
World.createLiquidMask()
Create a mask that matches all liquids.
|
Copyright © 2010-2014. All Rights Reserved.