@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 |
applyBlock(BlockVector3 position)
Deprecated.
Return a
BaseBlock 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 applyBlock(BlockVector3 position)
Pattern
BaseBlock
for the given position.position
- the position