public void decorate(World worldIn, Random rand, BlockPos pos) { super.decorate(worldIn, rand, pos); if (rand.nextInt(1000) == 0) { int i = rand.nextInt(16) + 8; int j = rand.nextInt(16) + 8; BlockPos blockpos = worldIn.getHeight(pos.add(i, 0, j)).up(); (new WorldGenDesertWells()).generate(worldIn, rand, blockpos); } if (rand.nextInt(64) == 0) { (new WorldGenFossils()).generate(worldIn, rand, pos); } }
public void decorate(World worldIn, Random rand, BlockPos pos) { super.decorate(worldIn, rand, pos); if(net.minecraftforge.event.terraingen.TerrainGen.decorate(worldIn, rand, pos, net.minecraftforge.event.terraingen.DecorateBiomeEvent.Decorate.EventType.DESERT_WELL)) if (rand.nextInt(1000) == 0) { int i = rand.nextInt(16) + 8; int j = rand.nextInt(16) + 8; BlockPos blockpos = worldIn.getHeight(pos.add(i, 0, j)).up(); (new WorldGenDesertWells()).generate(worldIn, rand, blockpos); } if(net.minecraftforge.event.terraingen.TerrainGen.decorate(worldIn, rand, pos, net.minecraftforge.event.terraingen.DecorateBiomeEvent.Decorate.EventType.FOSSIL)) if (rand.nextInt(64) == 0) { (new WorldGenFossils()).generate(worldIn, rand, pos); } }
public void decorate(World worldIn, Random rand, BlockPos pos) { super.decorate(worldIn, rand, pos); if (rand.nextInt(64) == 0) { (new WorldGenFossils()).generate(worldIn, rand, pos); } }
public void decorate(World worldIn, Random rand, BlockPos pos) { super.decorate(worldIn, rand, pos); if(net.minecraftforge.event.terraingen.TerrainGen.decorate(worldIn, rand, pos, net.minecraftforge.event.terraingen.DecorateBiomeEvent.Decorate.EventType.FOSSIL)) if (rand.nextInt(64) == 0) { (new WorldGenFossils()).generate(worldIn, rand, pos); } }