CC: Tweaked · Mid game
GPS-Guided Turtle Crop & Tree Harvesting Facility
This mid-game agricultural facility utilizes a localized CC: Tweaked GPS satellite cluster to guide autonomous Wireless Farming and Felling Turtles across open-air fields and orchards. By relying on three-dimensional trilateration rather than rigid wall markers, your turtles can navigate seamlessly, return to base to refuel on their own, and recover automatically even if the server restarts mid-harvest. Build this setup to establish a resilient, self-sustaining supply of food, wood, and biofuel feedstocks without spending costly redstone flux or crafting high-tier magic blocks.
- Footprint
- 21x21x20 blocks (includes elevated GPS constellation)
- Power
- ~1-2 Charcoal per patrol cycle (check JEI for alternate Turtle fuel values)
- Throughput
- ~4-8 stacks of crops and logs per Minecraft day
- Difficulty
- intermediate
Flow diagram
How items, fluids and energy move through the setup, left to right.
Swipe sideways to see the whole diagram
Materials
| Item | Count |
|---|---|
| Computer | 4 |
| Advanced Computer | 1 |
| Advanced Monitor | 2 |
| Turtle | 2 |
| Wireless Modem | 7 |
| Diamond Hoe | 1 |
| Diamond Axe | 1 |
| Chest | 4 |
| Barrel | 4 |
| Hopper | 4 |
| Charcoal | 128 |
| Water Bucket | 2 |
Build it step by step
1Construct the Elevated GPS Constellation
Build a central pillar or four corner towers reaching at least 15 to 20 blocks above the ground of your planned farm. Place four standard Computers equipped with Wireless Modems in a non-coplanar geometric pattern: place three computers on the same horizontal plane forming a triangle or square, and place the fourth computer at least 3 blocks higher or lower than the others. This vertical offset is mathematically required for 3D trilateration to differentiate between altitude and horizontal distance.
2Configure the GPS Host Startup Scripts
Stand on top of or directly adjacent to each of the four GPS computers and record their exact world coordinates using your debug screen or a map mod. Open each computer interface and create a startup.lua file containing the command shell.run('gps', 'host', X, Y, Z), substituting X, Y, and Z with the exact block coordinates of the Wireless Modem attached to that computer. Reboot all four computers so they continuously listen for coordinate requests.
3Prepare the Crop Field and Tree Grid
At ground level directly beneath the GPS coverage umbrella, lay out a 9x9 farmland plot hydrated by a central water source block for your crops. Adjacent to the crop field, mark out a 12x9 dirt grid with planting spots spaced 3 blocks apart using torches to illuminate the soil. Ensure there are no overhanging decorative roofs or trees outside the grid that might obstruct a turtle moving at cruising altitude.
4Build the Turtle Docking and Logistics Bay
Along one edge of the facility, construct a two-bay docking station at ground level. For each bay, place a Drop-off Hopper in the floor leading into Master Harvest Storage Barrels, a Fuel Supply Chest on the left side stocked with Charcoal, and an Agricultural Supply Chest on the right side stocked with Seeds, Saplings, and Bone Meal. Leave the center block open so the turtles can park directly above the floor hopper.
5Set Up the Dispatch Control Terminal
Place your Advanced Computer next to the docking bays and attach a Wireless Modem to its back and two Advanced Monitors to its side. This computer acts as the master clock and status display, sending out periodic Rednet broadcasts every 10 minutes to wake the turtles and log their fuel levels. Record the exact X, Y, and Z coordinates of both turtle docking bays into a configuration file on this terminal.
6Craft and Label the Wireless Turtles
Combine one Turtle with a Diamond Hoe and a Wireless Modem to create a Wireless Farming Turtle, and combine the second Turtle with a Diamond Axe and a Wireless Modem to create a Wireless Felling Turtle. Place each turtle in its respective docking bay and immediately run the command 'label set Farmer_01' and 'label set Logger_01' inside their consoles. Labeling a turtle is mandatory so that it retains its internal fuel pool and programs if broken and picked up.
7Load the GPS Navigation and Harvesting Scripts
Program both turtles with a GPS navigation library that calls gps.locate() upon startup to determine their current world position and performs a single forward step to deduce their compass facing direction. Configure the Farming Turtle script to hover one block above the 9x9 crop plot, inspect the block below with turtle.inspectDown() to check if the crop age metadata has reached maturity, and harvest and replant only full-grown crops. Configure the Felling Turtle to patrol the tree waypoints, inspect for solid log blocks, climb and fell the trunk while breaking obstructing leaves, and plant a fresh sapling before returning to dock.
How it works
The core strength of this design lies in decoupling turtle navigation from fragile dead-reckoning counters. Standard turtles only track movement relative to where they started, meaning if a chunk unloads or the server restarts while a turtle is moving, it forgets its location and wanders off into your base. By placing four GPS Host Computers in a 3D constellation above the facility, any turtle can broadcast a wireless ping via gps.locate() and calculate its exact world coordinates from the signal travel distances. By moving forward one block and calling gps.locate() a second time, the turtle immediately deduces whether it is facing North, South, East, or West, allowing it to resume interrupted patrols or return directly to its docking bay from anywhere in the facility.
During operation, the Dispatch Control Advanced Computer triggers a Rednet broadcast on a set timer. Before undocking, each turtle checks its internal energy via turtle.getFuelLevel(); if the reserve is below the safety threshold for a full circuit, it turns toward the Fuel Supply Chest, pulls a small stack of Charcoal using turtle.suck(), and calls turtle.refuel(). It then pulls replacement seeds, saplings, or bone meal from the right-hand supply chest. The Farming Turtle hovers across the 9x9 field grid, reading block state data via turtle.inspectDown() so it never tramples soil or breaks immature plants. Meanwhile, the Felling Turtle navigates between tree nodes, detects when a sapling has matured into a log trunk, chops vertically until no wood remains above it, and descends back to ground level to replant.
Once a patrol sweep concludes, both turtles pathfind back to the exact GPS coordinates of their docking bays and park directly over the floor hoppers. Using a loop from inventory slot 1 to 16, each turtle calls turtle.dropDown() to dump harvested wheat, potatoes, logs, and apples into the Master Harvest Storage Barrels while retaining a reserved stack of seeds or saplings in slot 1. If you use a furnace array elsewhere in your base to smelt a fraction of the harvested wood logs into Charcoal and route it back into the Fuel Supply Chest, the entire agricultural complex runs in a completely self-powered loop.
Upgrades and scaling
- Upgrade the standard Wireless Modems on your four GPS Host Computers and Turtles to Ender Modems, expanding the GPS coverage umbrella across your entire dimension so you can add remote mining or chorus fruit outposts without building new satellite towers.
- Connect an automated furnace array between the Master Harvest Storage Barrels and the Fuel Supply Chest to smelt excess wood logs into Charcoal automatically, achieving 100% closed-loop energy autonomy.
- Program the Farming Turtle to actively apply Bone Meal from an auxiliary composting setup whenever it detects a stunted crop, multiplying the hourly throughput of a single 9x9 plot.
- Attach a Speaker peripheral to the Dispatch Control Advanced Computer to play an audible alert chime whenever a Supply Chest runs out of saplings or the Master Storage Barrels reach maximum capacity.
Common mistakes
- Placing all four GPS Host Computers on the exact same Y-level (flat horizontal plane); without at least one computer elevated or lowered by several blocks, the trilateration algorithm cannot resolve 3D altitude and gps.locate() will fail or return ambiguous coordinates.
- Forgetting to run 'label set <name>' on your turtles before deploying them; breaking an unlabeled turtle permanently wipes its saved scripts and deletes all buffered fuel inside its internal motor.
- Entering the coordinates of the person standing next to the GPS computer rather than the exact block coordinates of the GPS Computer block itself when configuring the startup 'gps host' command, which shifts the entire coordinate grid by one block and causes turtles to miss their docking chests.
- Allowing the Felling Turtle to harvest giant 2x2 jungle or spruce trees or wildly branching large oaks without bounding-box checks; stick to birch, standard spruce, or place a glass limiter block 8 blocks above oak saplings so trunks always grow in clean vertical columns.
FAQ
How does a turtle know which compass direction (North/South/East/West) it is facing using GPS?
GPS only provides an X, Y, Z coordinate point, not rotation. To find its facing direction, the turtle queries gps.locate(), moves forward one single unobstructed block, and calls gps.locate() a second time. By comparing whether X or Z increased or decreased between the two readings, the script instantly determines its exact cardinal orientation.
Why did my GPS satellites stop responding when I walked far away from the farm?
Standard Wireless Modems have a limited transmission range that varies with altitude and stormy weather (check your modpack config or JEI documentation for exact block distances). Additionally, if the chunks containing the four GPS Host Computers unload while the turtle chunk remains loaded, the turtle will receive no replies. Keep the entire facility inside chunk-loaded boundaries.
Can the Farming Turtle harvest modded crops in addition to vanilla wheat, carrots, and potatoes?
Yes. Because turtle.inspectDown() reads the block state table directly from the world, you can inspect any modded crop to see its maximum 'age' property and program the turtle to either right-click or break and replant it once it reaches full maturity.