> For the complete documentation index, see [llms.txt](https://frinn.gitbook.io/custom-machinery-1.21/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://frinn.gitbook.io/custom-machinery-1.21/mod-integrations/kubejs/recipes/sky.md).

# Sky

Use the sky requirement in a KubeJS recipe

U**se this method to add a** [**sky requirement**](/custom-machinery-1.21/recipes/requirements/sky.md) **to the recipe.**

```javascript
.mustSeeSky()
```

### Example

The following recipe will require the machine to have a clear access to the sky :&#x20;

```javascript
ServerEvents.recipes(event => {

  event.recipes.custommachinery.custom_machine("custommachinery:power_crusher", 100)
  .mustSeeSky()
  
})
```
