Chunkload component

Make your machine act as a chunkloader

The chunkload component can be used to make the machine always load an area around it.

The chunkloaded area will be a square of chunks, centered around the chunk that contains the machine block.

The radius of the chunkload area is limited to 32 chunks max (which means a square of 63 chunks on each sides, or 3969 loaded chunks).

The chunks will be loaded as long as the machine block is placed, when removed the chunks will be unloaded (unless something else load them).

You can also make the machine chunkload an area only if a recipe is processing.

See Chunkload requirement.

Chunkload component is defined with "type": "custommachinery:chunkload" in the json.

Properties

The chunkload component only has 1 mandatory property and 1 optional property :

Mandatory property

"type": "custommachinery:chunkload" //Mandatory to define a chunkload component.

Optional property

Radius

Name : radius

Description :

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 :

The machine will chunkload an area of 3x3 chunks.

"radius": 2

Example

A machine with this chunkload requirement will always chunkload an area of 3x3 chunks around it :

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

Last updated