CC:CBC
A CC: Tweaked peripheral that adds computer control for cannons from Create Big Cannons.
Features
- Computer control mode (
setComputerControl) that disables default shaft-driven rotation. - Two-axis aiming (
yaw/pitch) with behavior tied to CBC kinetic speed. - Assembly/disassembly control (
assemble) and firing control (fire). - Cannon telemetry via
getInfo().
Lua API
Peripheral type: cannon_mount
| Method | Parameters | Returns | Description |
|---|---|---|---|
setComputerControl |
enabled: boolean |
nil |
Enables/disables computer control mode. |
isComputerControl |
- | boolean |
Current computer control mode status. |
setTargetAngles |
yaw: number, pitch: number |
nil |
Sets target aiming angles. |
setTargetYaw |
yaw: number |
nil |
Sets horizontal angle only. |
setTargetPitch |
pitch: number |
nil |
Sets vertical angle only. |
getInfo |
- | table |
Returns cannon telemetry/state. |
assemble |
enabled: boolean |
boolean |
true = assemble, false = disassemble. |
fire |
enabled: boolean |
boolean |
Controls fire signal (true keeps firing signal active). |
getInfo() fields
| Field | Type | Description |
|---|---|---|
computerControl |
boolean |
Whether computer control mode is active. |
assembled |
boolean |
Whether the cannon is assembled on the mount. |
yaw |
number |
Current horizontal angle (0..360). |
pitch |
number |
Current vertical angle. |
targetYaw |
number |
Target horizontal angle (0..360). |
targetPitch |
number |
Target vertical angle. |
yawShaftSpeed |
number |
Yaw interface shaft speed. |
pitchShaftSpeed |
number |
Pitch interface shaft speed. |
x, y, z |
number |
Cannon Mount position in the world. |
How to Install CC:CBC (Mod)
CC:CBC by Drakon7009 is verified for Forge, Neoforge across Minecraft versions 1.20.1, 1.21.1 (latest release: 1.1.1-forge-1.20.1, file size: 35 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21.1) and platform (Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Forge, Neoforge.
- Move the downloaded CC:CBC file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 5mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 6mo ago | 1 | ||||
|
R
CC:CBC
|
6mo ago | 1 |
Cannon mount control was stabilized