Chunkload

Use the chunkload requirement in a KubeJS recipe

Use one of these methods to add a Chunkload Requirement to the recipe.

.chunkload()

.chunkload(radius)
  • The radius param must be an integer between 1 and 32. Default to 1 if not specified.

Example

This recipe will chunkload an area of 3x3 chunks around the machine in exchange of 10FE/t :

ServerEvents.recipes(event => {

  event.recipes.custommachinery.custom_machine("custommachinery:dynamo", 1)
  .chunkload(2)
  .requireEnergyPerTick(10)
  
})