Class RepeatingExtentPattern
java.lang.Object
com.sk89q.worldedit.function.pattern.AbstractPattern
com.sk89q.worldedit.function.pattern.AbstractExtentPattern
com.sk89q.worldedit.function.pattern.RepeatingExtentPattern
- All Implemented Interfaces:
Filter, ExtentPattern, Pattern
- Direct Known Subclasses:
ClipboardPattern
Returns the blocks from
Extent, repeating when out of bounds.-
Constructor Summary
ConstructorsConstructorDescriptionRepeatingExtentPattern(Extent extent, BlockVector3 origin, BlockVector3 offset) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionapplyBlock(BlockVector3 position) Return aBaseBlockfor the given position.Get the offset.Get the origin.voidsetOffset(BlockVector3 offset) Set the offset.voidsetOrigin(BlockVector3 origin) Set the origin.Methods inherited from class AbstractExtentPattern
getExtentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Filter
applyChunk, finish, finishChunk, join
-
Constructor Details
-
RepeatingExtentPattern
Create a new instance.- Parameters:
extent- the extentoffset- the offset
-
-
Method Details