Chunk Loader¶
The ra_chunk_loader module contains one block that force-loads its chunk while powered.
- Namespace:
ra_chunk_loader - Give all:
/function ra_chunk_loader:items/give_all - Runtime architecture: How It Works
Block Summary¶
| Block | Item model | Recipe |
|---|---|---|
| Chunk Loader | minecraft:lodestone |
![]() |
Runtime Behavior¶
Chunk Loader tick logic:
- Break detection verifies the lodestone still exists.
- Redstone state is read with
ra_lib:redstone/detect. - Rising edge (
!ra.was_poweredand powered) runsforceload add ~ ~. - Falling edge (
ra.was_poweredand unpowered) runsforceload remove ~ ~.
State tags used:
ra.custom_block.chunk_loaderra.was_powered
Usage Notes¶
- Place one per chunk you want controlled. (use F3+G)
- Power on to lock the chunk loaded.
- Power off to release it.
- Recommended for farms.
