public class WorldGenMinable extends WorldGenerator
Modifier and Type | Field and Description |
---|---|
private int |
numberOfBlocks
The number of blocks to generate.
|
private IBlockState |
oreBlock |
private com.google.common.base.Predicate<IBlockState> |
predicate |
Constructor and Description |
---|
WorldGenMinable(IBlockState state,
int blockCount) |
WorldGenMinable(IBlockState state,
int blockCount,
com.google.common.base.Predicate<IBlockState> p_i45631_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(World worldIn,
java.util.Random rand,
BlockPos position) |
func_175904_e, setBlockAndNotifyAdequately
private final IBlockState oreBlock
private final int numberOfBlocks
private final com.google.common.base.Predicate<IBlockState> predicate
public WorldGenMinable(IBlockState state, int blockCount)
public WorldGenMinable(IBlockState state, int blockCount, com.google.common.base.Predicate<IBlockState> p_i45631_3_)
public boolean generate(World worldIn, java.util.Random rand, BlockPos position)
generate
in class WorldGenerator