Class BlockPattern
java.lang.Object
com.sk89q.worldedit.function.pattern.AbstractPattern
com.sk89q.worldedit.function.pattern.BlockPattern
Deprecated.
all BlockStateHolders can be used directly as a pattern
A pattern that returns the same
BaseBlock each time.-
Constructor Summary
ConstructorsConstructorDescriptionBlockPattern(BlockStateHolder<?> block) Deprecated.Create a new pattern with the given block. -
Method Summary
Modifier and TypeMethodDescriptionapplyBlock(BlockVector3 position) Deprecated.Return aBaseBlockfor the given position.getBlock()Deprecated.Get the block.voidsetBlock(BlockStateHolder<?> block) Deprecated.Set the block that is returned.Methods 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
-
BlockPattern
Deprecated.Create a new pattern with the given block.- Parameters:
block- the block
-
-
Method Details