How lythom/capsule works
Main Components
a. Core Module (Central)
• CapsuleMod.java (Main entry point)
• Config.java (Configuration management)
• CapsuleSavedData.java (World data persistence)
• StructureSaver.java (Structure handling)
b. Item System (Right)
• Items package
• CapsuleItem.java (Main capsule functionality)
• CapsuleItems.java (Item registration)
• Enchantments package
• RecallEnchant.java
c. Block System (Left)
• Blocks package
• BlockCapsuleMarker.java
• TileEntityCapture.java
• CaptureTESR.java (Rendering)
d. Network Layer (Bottom)
• Network package
• CapsuleNetwork.java (Network handler)
• Various message handlers for client-server communication
e. Client-Side Systems (Top)
• Client package
• CapsulePreviewHandler.java
• RendererUtils.java
Supporting Systems (Around the edges)
f. Recipe System
• Recipes package
• Various recipe handlers for crafting
g. Loot System
• Loot package
• CapsuleLootEntry.java
• StarterLoot.java
h. Plugin Integration
• Plugins package
• JEI integration
• SecurityCraft integration
• Bidirectional communication between Network Layer and Client/Server components
• Data flow from Recipe System to Item System
• Structure saving/loading flow between StructureSaver and file system
External Interactions
• Minecraft Forge integration points
• File system interaction for structure storage
• Integration points with other mods (JEI, SecurityCraft)