public class TypeApplyingPattern extends AbstractExtentPattern
Constructor and Description |
---|
TypeApplyingPattern(Extent extent,
BlockState blockState) |
Modifier and Type | Method and Description |
---|---|
BaseBlock |
apply(BlockVector3 position)
Return a
BlockStateHolder for the given position. |
getExtent
public TypeApplyingPattern(Extent extent, BlockState blockState)
public BaseBlock apply(BlockVector3 position)
Pattern
BlockStateHolder
for the given position.position
- the position