Do you use CC:CBC? Do you use CBC: Compact Mount? Would you like CC:CBC to work with compact cannon mounts as well? Then this mod is for you!
CC:CBC Compact Mount turns compact cannon mounts into peripherals for computers from CC: Tweaked, recreating the functionality of CC:CBC.
Note: This mod does not replace CC:CBC, you can use them separately.
Lua API
Peripheral type: compact_cannon_mount
| Method | Parameters | Returns | Description |
|---|---|---|---|
setComputerControl | enabled: boolean | nil |
Enables/disables computer control mode. | ||
isComputerControl | - | boolean |
Current computer control mode status. | ||
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. | |
pitch | number |
Current vertical angle. | |
targetPitch | number |
Target vertical angle. | |
pitchShaftSpeed | number |
Pitch interface shaft speed. | |
x, y, z | number | Cannon Mount position in the world. |
How to Install CC:CBC Compact Mount (Mod)
CC:CBC Compact Mount by fr0nick is verified for Neoforge across Minecraft versions 1.21.1 (latest release: 1.0.0, file size: 37 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.1) and platform (Neoforge).
- Make sure you have the compatible loader or environment installed for Neoforge.
- Move the downloaded CC:CBC Compact Mount file into your Minecraft
.minecraft/modsfolder and launch the game.