← Назад к ресурсам

Create Big Cannons: Peripherals

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

Modrinth technology

Описание

# Create Big Cannons: Peripherals ## 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.