CC:CBC 图标

CC:CBC

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.1-forge-1.20.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/cc-cbc
资源信息

Minecraft 版本: 1.20.1

平台: forge

标签: technology utility

资源介绍

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.
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Extra Enchantments

价格:0 墨喵币
下载量:0

查看详情
Font Fixer

价格:0 墨喵币
下载量:0

查看详情
Distant Shaded Panoramas

价格:0 墨喵币
下载量:0

查看详情
StorageBox for Fabric

价格:0 墨喵币
下载量:0

查看详情