Origins: Powerful Powers
» Entity actions » Chunk loading

Chunk loading

Keeps the chunks around an entity loaded, and moves them with it. When it walks into another chunk, the chunks it left are released and the ones around it load. Use it for a pet that keeps its farm running, a courier crossing unloaded land, or a player whose base keeps working after they log out.

Start it with the chunk_loader power, the load_chunks action, or /opp chunkload.

How the chunks are loaded: like /forceload. Each chunk within radius chunks of the entity's chunk is held at the ticket level /forceload uses. radius: 1 is 3×3 chunks, 2 is 5×5, and 0 is the entity's own chunk. There's no cap.

  • Redstone, furnaces, hoppers and scheduled block updates run. Crops and other random ticks only run with a player within 128 blocks, as with /forceload.
  • In a dimension with no players, vanilla stops ticking entities after 15 seconds, and that check only counts /forceload chunks. Blocks keep running and mobs freeze, including a mob that's loading the chunks.
  • Loading stops when the server stops. A chunk_loader power starts again when its holder next loads. Action and command ties end for good.

When it ends:

What happensResult
The entity diesEverything it was loading is released. A player whose chunk_loader power survives respawning starts loading again after respawning.
The entity is discarded (despawned, /kill on a non-living entity)Same as dying.
The power is removed or its condition turns falseThat power's loading stops.
stop_loading_chunks or /opp chunkload stopThe action or command tie stops. A chunk_loader power keeps going.
A duration runs outThat tie stops.
A player logs outNothing ends. Their last chunks stay loaded while they're offline, and follow them again when they're back.
The entity changes dimensionThe loading goes with it. The old dimension's chunks are released.

When an entity's loading has all ended, its chunks unload normally unless a player, /forceload or another entity keeps them. Two entities loading the same chunk keep their own holds.

Several at once: an entity with more than one tie (two chunk_loader powers, or a power and an action) loads the largest radius among them. Each one ends on its own.