public class WorldGenMinable extends WorldGenerator
Modifier and Type | Class and Description |
---|---|
(package private) static class |
WorldGenMinable.StonePredicate |
Modifier and Type | Field and Description |
---|---|
private int |
numberOfBlocks |
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) |
setBlockAndNotifyAdequately, setDecorationDefaults
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