Class ExpressionPattern
java.lang.Object
com.sk89q.worldedit.function.pattern.AbstractPattern
com.fastasyncworldedit.core.function.pattern.ExpressionPattern
A mask that evaluates an expression.
Expressions are evaluated as true
if they return a value
greater than 0
.
-
Constructor Summary
ConstructorDescriptionExpressionPattern
(Expression expression) Create a new instance.ExpressionPattern
(String input) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionapplyBlock
(BlockVector3 vector) Return aBaseBlock
for the given position.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fastasyncworldedit.core.queue.Filter
appliesChunk, appliesLayer, applyChunk, finishChunk, fork, join
Methods inherited from interface com.sk89q.worldedit.function.pattern.Pattern
apply, apply, applyBlock
-
Constructor Details
-
ExpressionPattern
Create a new instance.- Parameters:
input
- the expression- Throws:
ExpressionException
- thrown if there is an error with the expression
-
ExpressionPattern
Create a new instance.- Parameters:
expression
- the expression
-
-
Method Details