@Deprecated public class BlockPattern extends AbstractPattern
BaseBlock
each time.Constructor and Description |
---|
BlockPattern(BlockStateHolder<?> block)
Deprecated.
Create a new pattern with the given block.
|
Modifier and Type | Method and Description |
---|---|
BaseBlock |
apply(BlockVector3 position)
Deprecated.
Return a
BlockStateHolder for the given position. |
BaseBlock |
getBlock()
Deprecated.
Get the block.
|
void |
setBlock(BlockStateHolder<?> block)
Deprecated.
Set the block that is returned.
|
public BlockPattern(BlockStateHolder<?> block)
block
- the blockpublic BaseBlock getBlock()
public void setBlock(BlockStateHolder<?> block)
block
- the blockpublic BaseBlock apply(BlockVector3 position)
Pattern
BlockStateHolder
for the given position.position
- the position