CC: Drones
Adds drones for the CC: Tweaked mod, opening new automation possibilities in Minecraft.
Main Features
Drones have an extensive set of programming commands:
- Forward movement - activated by
drone.engineOn(true)command - Turning - using
drone.left(number)anddrone.right(number)functions - Vertical movement - ascent and descent via
drone.up(number)anddrone.down(number) - View direction -
drone.lookForward()anddrone.lookBack()for orientation changes - Block mining -
drone.breakForward()for breaking blocks in front of the drone - Rotation detection -
drone.rotation()shows current rotation angle - Collision detection -
drone.isColliding()checks for obstacles - Hover mode -
drone.hoverOn(true)enables position stabilization - Block handling -
drone.pickupBlock()picks up blocks from below while preserving their data,drone.dropBlock()drops them - Entity interaction -
drone.pickUpEntity()captures mobs and other creatures,drone.dropEntity()releases them


Drone Programming
The Drone Workbench functions as a peripheral device and supports two main commands (where a is the wrapper, e.g. a = peripheral.wrap("left")):
a.api()- reboots the computer after installing the drone API, simplifying the programming processa.export(path)- sends the Lua program from the specified path to the first drone within 2 blocks of the workbench, after which the drone reboots and begins program execution
Crafting recipes can be found using any item viewing mods.
Development Plans
The developer plans to add in the future:
- Environment scanning - drones will be able to survey terrain with subsequent data viewing through a holographic display
- Surveillance cameras - functionality similar to spectator mode in Minecraft
- Chunk loaders - ability to keep world areas loaded
Note
The mod is in early development stage but already offers interesting functionality for experiments and automation.