public class BlockRotationProcessor extends java.lang.Object implements ITemplateProcessor
Modifier and Type | Field and Description |
---|---|
private float |
chance |
private java.util.Random |
random |
Constructor and Description |
---|
BlockRotationProcessor(BlockPos pos,
PlacementSettings settings) |
Modifier and Type | Method and Description |
---|---|
Template.BlockInfo |
processBlock(World worldIn,
BlockPos pos,
Template.BlockInfo blockInfoIn) |
public BlockRotationProcessor(BlockPos pos, PlacementSettings settings)
@Nullable public Template.BlockInfo processBlock(World worldIn, BlockPos pos, Template.BlockInfo blockInfoIn)
processBlock
in interface ITemplateProcessor