Class BufferedPattern
java.lang.Object
com.sk89q.worldedit.function.pattern.AbstractPattern
com.fastasyncworldedit.core.function.pattern.BufferedPattern
- All Implemented Interfaces:
ResettablePattern
,Filter
,Resettable
,Pattern
- Direct Known Subclasses:
BufferedPattern2D
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final long[]
protected final Pattern
protected final BlockVector3Set
protected final FaweTimer
-
Constructor Summary
ConstructorsConstructorDescriptionBufferedPattern
(Actor actor, Pattern parent) Create a newPattern
instanceBufferedPattern
(Actor actor, Pattern parent, Region region) Create a newPattern
instance -
Method Summary
Modifier and TypeMethodDescriptionboolean
apply
(Extent extent, BlockVector3 get, BlockVector3 set) applyBlock
(BlockVector3 position) Return aBaseBlock
for the given position.void
reset()
boolean
set
(BlockVector3 pos) 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, applyBlock
-
Field Details
-
set
-
timer
-
actionTime
protected final long[] actionTime -
pattern
-
-
Constructor Details
-
Method Details
-
applyBlock
Description copied from interface:Pattern
Return aBaseBlock
for the given position.- Specified by:
applyBlock
in interfacePattern
- Parameters:
position
- the position- Returns:
- a block
-
apply
- Specified by:
apply
in interfacePattern
- Throws:
WorldEditException
-
set
-
reset
public void reset()- Specified by:
reset
in interfaceResettable
- Specified by:
reset
in interfaceResettablePattern
-