▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/CC:CBC
CC:CBC

CC:CBC

CC:CBC is a mc mod that adds compatibility between the ComputerCraft and Create Big Cannons!

Оцените первым
8.9K
9

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

MethodParametersReturnsDescription
setComputerControlenabled: booleannilEnables/disables computer control mode.
isComputerControl-booleanCurrent computer control mode status.
setTargetAnglesyaw: number, pitch: numbernilSets target aiming angles.
setTargetYawyaw: numbernilSets horizontal angle only.
setTargetPitchpitch: numbernilSets vertical angle only.
getInfo-tableReturns cannon telemetry/state.
assembleenabled: booleanbooleantrue = assemble, false = disassemble.
fireenabled: booleanbooleanControls fire signal (true keeps firing signal active).

getInfo() fields

FieldTypeDescription
computerControlbooleanWhether computer control mode is active.
assembledbooleanWhether the cannon is assembled on the mount.
yawnumberCurrent horizontal angle (0..360).
pitchnumberCurrent vertical angle.
targetYawnumberTarget horizontal angle (0..360).
targetPitchnumberTarget vertical angle.
yawShaftSpeednumberYaw interface shaft speed.
pitchShaftSpeednumberPitch interface shaft speed.
x, y, znumberCannon Mount position in the world.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x1.20.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Зависимости

Ссылки

Создатели

Детали

Лицензия:
Опубликован:2 месяца назад
Обновлён:1 месяц назад
Главная