
Let your turtles and computers keep working when you’re not around.
This mod adds a chunk loader peripheral block for stationary ComputerCraft computers, and a turtle upgrade that makes chunk loading follow your turtle as it moves.
Optional admin password can be required to enable.
Server-side config lets you limit the number of active chunks per device.
Requirements
- Minecraft 1.12.2
- Forge Loader 14.23.5.2768+ (Tested on: 14.23.5.2860)
- ComputerCraft 1.80pr1
Features
Chunk Loader Peripheral Block
- Place the Cc Chunk Loader block on any side of a Computer or Advanced Computer.
- From Lua, you can enable permanent chunk loading for the chunk where the computer is located.
- See LUA script below
Turtle Upgrade
- Merge the Cc Turtle Chunk upgrade onto the left or right side of a Turtle or Advanced Turtle.
- From Lua, enable permanent chunk loading around the turtle. The loaded area automatically follows the turtle as it moves.
- See LUA script below
Configurable Radius
- Default radius = 0 (loads the current chunk only, with automatic chunk swapping as the turtle moves).
- Radius can be increased:
1
= 3×3 chunks2
= 5×5 chunks- etc.
HELP.txt / LUA Scripts
// =============================
// StiGMaT's Chunk Loader Addon for Computer Craft 1.8pr1
// For MineCraft 1.12.2 / Forge 1.12.2-14.23.5.2768
// This HELP file was last updated: 2025-09-03
// HELP.txt for Version 1.0.0-Beta.002
// =============================
Commands:
enableChunkLoader('Password') or enableCL('Password') //Password is optional, set in the Server Config
disableChunkLoader() or disableCL()
getStatus()
// =============================
// Lua usage examples (computers/turtles)
// Example ScriptsL TO enable Chunk Loader
// ============================= =============================
-- Stationary computer: (Standard/Advanced) With Peripheral: "Cc Chunk Loader" on attached to the side
-- https://pastebin.com/GC3REfDw
-- In Game command to download this: pastebin get GC3REfDw start_pc_cl
-- Then to run type: start_pc_cl
-- -----------------------------
local p = peripheral.find("CcChunkLoader")
if not p then error("No chunkloader peripheral found") end
-- Prompt for password
write("Enter password: ")
local password = read("*") -- use read() for visible input, read("*") hides it while typing
-- Try enabling with user-provided password
local ok, msg = p.enableChunkLoader(password)
print("enable:", ok, msg)
-- Show status
local status = p.getStatus and p.getStatus() or {}
print("status:", textutils.serialize(status))
-- Later, you can disable with:
-- p.disableChunkLoader()
-- End of: Stationary computer Example Script
-- -------------------------------------------------------------------
-- -------------------------------------------------------------------
-- Turtle (Merged with Chunk Loader upgrade item: "Cc Turtle Chunk")
-- https://pastebin.com/5rNAyGcU
-- In Game command to download this: pastebin get 5rNAyGcU start_turtle_cl
-- Then to run type: start_turtle_cl
-- -----------------------------
local p = peripheral.wrap("right")
local pFoundSide = ""
if not p then
print("No peripheral on right")
-- Try to find on the left
p = peripheral.wrap("left")
if not p then
print("No peripheral on left")
error("Chunk loader peripheral: NOT FOUND!")
else
pFoundSide = "left"
end
else
pFoundSide = "right"
end
if not p then
error("Chunk loader peripheral not found.")
else
print("Chunk loader found! On " .. pFoundSide .. " side.")
-- Prompt for password
write("Enter password: ")
local password = read("*") -- hides input while typing
-- Trying to Start Chunk Loader
local ok, msg = p.enableChunkLoader(password)
print("EnabledState:", ok, msg)
-- Debug getStatus
local status = p.getStatus and p.getStatus() or {}
print("getStatus:", textutils.serialize(status))
end
-- it will now follow the turtle until disabled/detached/dropped
-- End of: Turtle (Merged with Chunk Loader) Example Script
-- -------------------------------------------------------------------
-- -------------------------------------------------------------------