How chemiofitor4096/protectionengineering works
Protection Engineering is a NeoForge Minecraft mod centered on engineer armor with installable, slot-specific attachments. Players equip armor, configure it at the workbench, then use passive protections and hotkey-triggered abilities in play; a Create-linked emitter automates equipping. The graph preserves the documented armor, attachment, combat, repair, HUD, and compatibility branches. Source excerpts show the mod bootstrap, attachment-host behavior, selected items, and registries; links for unsampled subsystems rely on README documentation or are omitted where wiring is not evidenced.
Main entry points: AttachmentHostArmorItem.java Engineer Armor · AttachmentItem.java Attachment Catalog · ArmorEmitterBlock.java Armor Emitter · PEItems.java Content Registries
Components 21
Armor and Attachments
- Attachment API
src/main/java/com/chemiofitor/protection_engineering/api/IAttachment.java - Installed Slot Data
src/main/java/com/chemiofitor/protection_engineering/api/AttachmentsData.java - Attachment Slots
src/main/java/com/chemiofitor/protection_engineering/api/SlotType.java - Engineer Armor
src/main/java/com/chemiofitor/protection_engineering/item/AttachmentHostArmorItem.java - Attachment Catalog
src/main/java/com/chemiofitor/protection_engineering/item/AttachmentItem.java
Gameplay Systems
- Modification Workbench
src/main/java/com/chemiofitor/protection_engineering/menu/WorkbenchMenu.java - Armor Emitter
src/main/java/com/chemiofitor/protection_engineering/block/ArmorEmitterBlock.java - Armor Abilities
src/main/java/com/chemiofitor/protection_engineering/item/JetpackItem.java - Missile and Rocket Combat
src/main/java/com/chemiofitor/protection_engineering/entity/MissileEntity.java - Graded Repair
src/main/java/com/chemiofitor/protection_engineering/api/IGradedRepair.java
Client Experience
- Status HUD
src/main/java/com/chemiofitor/protection_engineering/client/PECooldownOverlay.java - Armor and Attachment Rendering
src/main/java/com/chemiofitor/protection_engineering/client/layer/PEArmorLayer.java - Hotkeys and Overlays
src/main/java/com/chemiofitor/protection_engineering/client/PEKeyBindings.java
Mod Foundation
- Repair Materials
src/main/java/com/chemiofitor/protection_engineering/registry/PERepairMaterials.java - Ability Network Payloads
src/main/java/com/chemiofitor/protection_engineering/network/ToggleAttachmentPayload.java - Gameplay Events
src/main/java/com/chemiofitor/protection_engineering/event/PENeoForgeEvents.java - Content Registries
src/main/java/com/chemiofitor/protection_engineering/registry/PEItems.java - Server Configuration
src/main/java/com/chemiofitor/protection_engineering/config/PEServerConfig.java - Mod Compatibility
src/main/java/com/chemiofitor/protection_engineering/compat/iron/IronCompat.java
Other components
- Player
- Create Mod
Connections 22
- Player → Modification Workbench: installs or removes
- Modification Workbench → Engineer Armor: modifies armor
- Engineer Armor → Installed Slot Data: stores attachments
src/main/java/com/chemiofitor/protection_engineering/item/AttachmentHostArmorItem.java - Engineer Armor → Attachment Slots: declares supported slots
src/main/java/com/chemiofitor/protection_engineering/item/EngineerChestplateItem.java - Attachment Catalog → Attachment API: implements
src/main/java/com/chemiofitor/protection_engineering/item/AttachmentItem.java - Attachment API → Attachment Slots: declares compatible slots
- Player → Armor Emitter: stands on
- Armor Emitter → Engineer Armor: automates equipping
- Player → Armor Abilities: activates abilities
- Armor Abilities → Missile and Rocket Combat: fires projectiles
- Player → Graded Repair: repairs equipment
- Graded Repair → Repair Materials: checks repair strength
src/main/java/com/chemiofitor/protection_engineering/api/IGradedRepair.java - Repair Materials → Server Configuration: reads configured values
src/main/java/com/chemiofitor/protection_engineering/registry/PERepairMaterials.java - Player → Hotkeys and Overlays: uses hotkeys
- Hotkeys and Overlays → Ability Network Payloads: sends ability actions
- Player → Status HUD: views status
- Engineer Armor → Armor and Attachment Rendering: renders equipped armor
- Content Registries → Engineer Armor: registers armor items
src/main/java/com/chemiofitor/protection_engineering/registry/PEItems.java - Content Registries → Attachment Catalog: registers attachments
src/main/java/com/chemiofitor/protection_engineering/registry/PEItems.java - Create Mod → Armor Emitter: provides arm interaction
- Create Mod → Attachment Catalog: integrates goggles
- Gameplay Events → Mod Compatibility: registers optional integrations