> For the complete documentation index, see [llms.txt](https://frinn.gitbook.io/custom-machinery-1.19/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.19/recipes/requirements/chunkload.md).

# Chunkload

Make your recipe chunkload an area around the machine.

The chunkload requirement can be used to make the machine chunkload an area around it.

Unlike the [Chunkload machine component](/custom-machinery-1.19/creating-custom-machines/machine-components/chunkload-component.md), this requirement will chunkload the area only while the recipe is processing.

If the recipe containing this requirement stop processing (because some other requirement aren't valid for example) the chunkload will stop too.

The type of chunkload requirement is : `"custommachinery:chunkload"`.

### Properties

The button requirement only has 1 mandatory property and 1 optional property.

#### Mandatory properties

```json
"type": "custommachinery:chunkload" //Mandatory to define a chunkload requirement.
```

#### Optional property

<details>

<summary>Radius</summary>

#### Name : `radius`

#### Description :&#x20;

The radius (in chunks) of the chunkloading area. The radius include the center chunk (where the machine is placed) so a radius of 2 means an area of 3x3 chunks.

Must be between 1 and 32.

#### Default : `1`

#### Example :&#x20;

The machine will chunkload an area of 3x3 chunks.

```json
"radius": 2
```

</details>

### Example

A chunkload requirement that will make the machine chunkload an area of 3x3 chunks around it as long as the recipe is processing :&#x20;

```json
{
    "type": "custommachinery:chunkload",
    "radius": 2
}
```
