跳到正文

Create Big Cannons: Peripherals

作者:nosqd

This mod adds CC: Tweaked peripherals to Create Big Cannons.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Create Big Cannons: Peripherals

Mod Logo

TL;DR

This mod adds CC: Tweaked peripherals to Create Big Cannons.

Peripheral Methods:

  • assemble() / disassemble() – assembles and disassembles the cannon, respectively.
  • fire() – fires the cannon; throws an error if the cannon is disassembled.
  • getYaw() / getPitch() – returns the cannon’s current yaw and pitch.
  • getX() / getY() / getZ() – returns the cannon mount block position.
  • isRunning() – returns the cannon’s assembly status.
  • setYaw(yaw) / setPitch(pitch) – sets the cannon angles; not available on cbc_fixed_cannon_mount.

API Documentation

API documentation is available here: https://github.com/nosqd/cbcperipheral/wiki/Peripherals

Developing

The mod uses nothing more complicated than Gradle, so you can open it in IntelliJ IDEA and start writing code.

Contributing

All contributions are welcome. The mod’s code and all of its assets are licensed under the MIT License.

History

This mod is based on code from VS: Addition, but I wanted to make it physics engine agnostic.

常见问题

Create Big Cannons: Peripherals 支持哪些 Minecraft 版本?

Create Big Cannons: Peripherals 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Create Big Cannons: Peripherals 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

nosqd 的其他作品

查看全部 →