# cannoneers-of-create/createbigcannons architecture

> Architecture diagram of the GitHub repository cannoneers-of-create/createbigcannons, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cannoneers-of-create/createbigcannons
- Repository: https://github.com/cannoneers-of-create/createbigcannons

## Overview

Create Big Cannons is a Create addon for constructing, operating, and firing multiblock cannons and autocannons. The principal gameplay loop is to craft cannon components, assemble and load a cannon, aim it with kinetic mechanisms, then fire projectiles whose impacts cause damage and effects. The README documents those capabilities; sampled source confirms initialization, configuration-driven armor and hit-effect handling, client feedback, and network support. Some runtime connections are inferred from the documented gameplay and are marked dashed with no evidence path.

Main entry points: [`src/main/java/rbasamoyai/createbigcannons/munitions`](https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/munitions) (Projectile Types), [`src/main/java/rbasamoyai/createbigcannons/crafting`](https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/crafting) (Kinetic Crafting), [`src/main/java/rbasamoyai/createbigcannons/cannon_control/contraption/PitchOrientedContraptionEntity.java`](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannon_control/contraption/PitchOrientedContraptionEntity.java) (Mounted Contraptions), [`src/main/java/rbasamoyai/createbigcannons/cannon_loading`](https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannon_loading) (Cannon Loading)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_construction["Cannon Construction"]
  node_crafting["Kinetic Crafting"]
  node_bigcannon["Big Cannons"]
  node_autocannon["Autocannons"]
  node_materials["Material Properties"]
end

subgraph group_operation["Cannon Operation"]
  node_loading["Cannon Loading"]
  node_mounts["Cannon Mounts"]
  node_carriage["Cannon Carriages"]
  node_mounted["Mounted Contraptions"]
end

subgraph group_munitions["Munitions And Impact"]
  node_projectiles["Projectile Types"]
  node_fuzes["Fuzes"]
  node_damage["Block Damage"]
  node_hit_effects["Impact Effects"]
end

subgraph group_runtime["Shared Runtime"]
  node_config["Configuration<br/>[CBCConfigs.java]"]
  node_mod_init["Mod Initialization"]
  node_munition_handlers["Munition Property Handlers"]
  node_client["Client Feedback"]
  node_network["Packet Transport"]
end

node_player(("Player"))
node_create{{"Create"}}
node_projectile_library{{"Projectile Library"}}

node_player -.->|"crafts"| node_crafting
node_crafting -.->|"builds"| node_bigcannon
node_crafting -.->|"builds"| node_autocannon
node_create -.->|"powers"| node_crafting
node_player -.->|"loads"| node_loading
node_loading -.->|"loads"| node_bigcannon
node_loading -.->|"loads"| node_autocannon
node_player -.->|"aims"| node_mounts
node_player -.->|"aims"| node_carriage
node_mounts -.->|"controls"| node_mounted
node_carriage -.->|"moves"| node_mounted
node_mounted -.->|"mounts"| node_bigcannon
node_mounted -.->|"mounts"| node_autocannon
node_player -.->|"fires"| node_projectiles
node_fuzes -.->|"sets off"| node_projectiles
node_projectile_library -.->|"supports"| node_projectiles
node_projectiles -.->|"damages"| node_damage
node_projectiles -.->|"triggers"| node_hit_effects
node_damage -->|"reads toughness"| node_materials
node_mod_init -->|"initializes"| node_munition_handlers
node_mod_init -.->|"configures"| node_config
node_hit_effects -->|"syncs"| node_network
node_network -.->|"delivers"| node_client
node_hit_effects -.->|"renders"| node_client

click node_crafting "https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/crafting"
click node_bigcannon "https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannons/big_cannons"
click node_autocannon "https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannons/autocannon"
click node_materials "https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/block_armor_properties/BlockArmorPropertiesHandler.java"
click node_loading "https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannon_loading"
click node_mounts "https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannon_control/cannon_mount"
click node_carriage "https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannon_control/carriage"
click node_mounted "https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannon_control/contraption/PitchOrientedContraptionEntity.java"
click node_projectiles "https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/munitions"
click node_fuzes "https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/munitions/fuzes/FuzeSelectionHandler.java"
click node_damage "https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/base/PartialBlockDamageManager.java"
click node_hit_effects "https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/block_hit_effects/BlockHitEffectsHandler.java"
click node_config "https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/config/CBCConfigs.java"
click node_mod_init "https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/CreateBigCannons.java"
click node_munition_handlers "https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/index/CBCMunitionPropertiesHandlers.java"
click node_client "https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/CBCClientCommon.java"
click node_network "https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/multiloader/NetworkPlatform.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_crafting,node_bigcannon,node_autocannon,node_materials toneBlue
class node_loading,node_mounts,node_carriage,node_mounted toneAmber
class node_projectiles,node_fuzes,node_damage,node_hit_effects toneMint
class node_config,node_mod_init,node_munition_handlers,node_client,node_network toneRose
class node_player,node_create,node_projectile_library toneIndigo
```

## Components

### Cannon Construction

- [Kinetic Crafting](https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/crafting): `src/main/java/rbasamoyai/createbigcannons/crafting`
- [Big Cannons](https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannons/big_cannons): `src/main/java/rbasamoyai/createbigcannons/cannons/big_cannons`
- [Autocannons](https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannons/autocannon): `src/main/java/rbasamoyai/createbigcannons/cannons/autocannon`
- [Material Properties](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/block_armor_properties/BlockArmorPropertiesHandler.java): `src/main/java/rbasamoyai/createbigcannons/block_armor_properties/BlockArmorPropertiesHandler.java`

### Cannon Operation

- [Cannon Loading](https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannon_loading): `src/main/java/rbasamoyai/createbigcannons/cannon_loading`
- [Cannon Mounts](https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannon_control/cannon_mount): `src/main/java/rbasamoyai/createbigcannons/cannon_control/cannon_mount`
- [Cannon Carriages](https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannon_control/carriage): `src/main/java/rbasamoyai/createbigcannons/cannon_control/carriage`
- [Mounted Contraptions](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/cannon_control/contraption/PitchOrientedContraptionEntity.java): `src/main/java/rbasamoyai/createbigcannons/cannon_control/contraption/PitchOrientedContraptionEntity.java`

### Munitions And Impact

- [Projectile Types](https://github.com/cannoneers-of-create/createbigcannons/tree/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/munitions): `src/main/java/rbasamoyai/createbigcannons/munitions`
- [Fuzes](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/munitions/fuzes/FuzeSelectionHandler.java): `src/main/java/rbasamoyai/createbigcannons/munitions/fuzes/FuzeSelectionHandler.java`
- [Block Damage](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/base/PartialBlockDamageManager.java): `src/main/java/rbasamoyai/createbigcannons/base/PartialBlockDamageManager.java`
- [Impact Effects](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/block_hit_effects/BlockHitEffectsHandler.java): `src/main/java/rbasamoyai/createbigcannons/block_hit_effects/BlockHitEffectsHandler.java`

### Shared Runtime

- [Configuration](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/config/CBCConfigs.java): `src/main/java/rbasamoyai/createbigcannons/config/CBCConfigs.java`
- [Mod Initialization](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/CreateBigCannons.java): `src/main/java/rbasamoyai/createbigcannons/CreateBigCannons.java`
- [Munition Property Handlers](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/index/CBCMunitionPropertiesHandlers.java): `src/main/java/rbasamoyai/createbigcannons/index/CBCMunitionPropertiesHandlers.java`
- [Client Feedback](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/CBCClientCommon.java): `src/main/java/rbasamoyai/createbigcannons/CBCClientCommon.java`
- [Packet Transport](https://github.com/cannoneers-of-create/createbigcannons/blob/create-v6-1.21.1/src/main/java/rbasamoyai/createbigcannons/multiloader/NetworkPlatform.java): `src/main/java/rbasamoyai/createbigcannons/multiloader/NetworkPlatform.java`

### Other components

- **Player**
- **Create**
- **Projectile Library**

## Connections

- Player → Kinetic Crafting: crafts
- Kinetic Crafting → Big Cannons: builds
- Kinetic Crafting → Autocannons: builds
- Create → Kinetic Crafting: powers
- Player → Cannon Loading: loads
- Cannon Loading → Big Cannons: loads
- Cannon Loading → Autocannons: loads
- Player → Cannon Mounts: aims
- Player → Cannon Carriages: aims
- Cannon Mounts → Mounted Contraptions: controls
- Cannon Carriages → Mounted Contraptions: moves
- Mounted Contraptions → Big Cannons: mounts
- Mounted Contraptions → Autocannons: mounts
- Player → Projectile Types: fires
- Fuzes → Projectile Types: sets off (evidence: `src/main/java/rbasamoyai/createbigcannons/munitions/fuzes/FuzeSelectionHandler.java`)
- Projectile Library → Projectile Types: supports
- Projectile Types → Block Damage: damages
- Projectile Types → Impact Effects: triggers
- Block Damage → Material Properties: reads toughness (evidence: `src/main/java/rbasamoyai/createbigcannons/base/PartialBlockDamageManager.java`)
- Mod Initialization → Munition Property Handlers: initializes (evidence: `src/main/java/rbasamoyai/createbigcannons/CreateBigCannons.java`)
- Mod Initialization → Configuration: configures
- Impact Effects → Packet Transport: syncs
- Packet Transport → Client Feedback: delivers (evidence: `src/main/java/rbasamoyai/createbigcannons/CBCClientCommon.java`)
- Impact Effects → Client Feedback: renders (evidence: `src/main/java/rbasamoyai/createbigcannons/CBCClientCommon.java`)
