ComputerCraft Chunk Loader
Don't Let Your Computers and Turtles Sit Idle
This mod provides the ability to keep chunks active even when you're far away from your automated systems. Thanks to a special peripheral block for stationary computers and an upgrade for mobile turtles, your programs will continue running without interruptions.
Main Features
Chunk Loading Block for Computers
Place the Cc Chunk Loader block next to any ComputerCraft computer. Through Lua scripts, you can activate permanent chunk loading for the chunk where the computer is located, ensuring uninterrupted program operation.
Turtle Upgrade
Install the Cc Turtle Chunk upgrade on the left or right side of a turtle. After activation via Lua, the loaded area will automatically follow the moving turtle, guaranteeing continuous task execution.
Configurable Loading Radius
By default, only the current chunk is loaded (radius 0). If needed, you can expand the loading area:
- Radius 1 - loads a 3×3 chunk area
- Radius 2 - loads a 5×5 chunk area
- And so on
Security and Settings
Activating the loader may require an administrator password (optional). Server-side configuration is available, allowing you to limit the number of simultaneously active chunks per device.
Usage Examples
For Stationary Computer:
local p = peripheral.find("CcChunkLoader")
if not p then error("Chunk loader peripheral device not found") end
write("Enter password: ")
local password = read("")
local ok, msg = p.enableChunkLoader(password)
print("Activation status:", ok, msg)
local status = p.getStatus and p.getStatus() or {}
print("Current status:", textutils.serialize(status))
For Turtle:
local p = peripheral.wrap("right")
local pFoundSide = ""
if not p then
p = peripheral.wrap("left")
if not p then
error("Chunk loader peripheral device not found!")
else
pFoundSide = "left"
end
else
pFoundSide = "right"
end
print("Chunk loader detected on side: " .. pFoundSide)
write("Enter password: ")
local password = read("")
local ok, msg = p.enableChunkLoader(password)
print("Activation state:", ok, msg)
local status = p.getStatus and p.getStatus() or {}
print("Status:", textutils.serialize(status))
Requirements
- Minecraft 1.12.2
- Forge Loader 14.23.5.2768+ (tested on version 14.23.5.2860)
- ComputerCraft 1.80pr1