Create: Avionics — ComputerCraft for Aeronautics
CC: Tweaked peripherals for Create: Simulated and Create: Aeronautics.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Create: Avionics — ComputerCraft for Aeronautics
Create: Avionics
Make your airship fly itself.
CC: Tweaked peripherals for every instrumentable block in Create: Aeronautics. Read attitude, altitude, velocity, bearing. Drive throttle, propellers, balloon gas. Write your autopilot in Lua (that's a bad pitch, but still!)
Build
- Altitude-hold for hot-air balloons - Heading-and-pitch autopilots for propeller aircraft - Cruise control bound to a steering wheel - Tracked turrets for mounted potato cannons - Whatever else you can write a control loop for
Start
Heading hold on a twin-engine ship:
```lua local nav = peripheral.find("navigation_table") local port, stbd = peripheral.find("analog_transmission") local target = nav.getHeadingRad()
while true do local err = (target - nav.getHeadingRad() + math.pi) % (2*math.pi) - math.pi local diff = math.max(-5, math.min(5, err * 4)) port.setSignal(7 - diff); stbd.setSignal(7 + diff) sleep(0.05) end ```
Three peripherals, one P-controller, the ship locks heading. Every Aeronautics (and nearly every Create) block is a peripheral — read sensors, set actuators, write the loop you want.
Full API docs — units, body-frame conventions, every method.
Read the parallel guide. 5 Hz and 20 Hz feel different.
Install
Needs: MC 1.21.1 · NeoForge 21.1.219+ · Create 6.0.10+ · Simulated/Aeronautics/Offroad 1.2.1+ · Sable 1.1.0+ · CC: Tweaked 1.115+
Pairs with
`ccc` · `create-computercraft`
Source · Issues
github.com/SolAstrius/CreateAvionics
MIT. Built on RyanHCode's CC peripheral foundation in Simulated — NOTICE.