Act as an expert Minecraft Mod & Plugin Architect. Generate production-ready code for a universal, cross-platform Powers and Economy system targeting Minecraft 1.26.2 / 1.26.3.
Target Frameworks
* Forge 1.26.2/3 (Mod) * Fabric 1.26.2/3 (Mod) * Paper 1.26.2/3 (Plugin)
System Architecture & Core Requirements
#### 1. Permanent Power Selection System * Command: /open menu opens a GUI displaying 8 Power Cards. * Selection Logic: Selecting a power and clicking Select permanently binds it to the player's Unique Identifier (UUID). * Persistence: Power bindings must persist through death, disconnect, server restarts, account relogs, or Dimension changes. No reset or power swap is permitted after selection. * UI Design: Item-based GUI displaying the power's name, description lore, selection status, and confirmation step. #### 2. Power Specifications 1. Ember Flames: * Permanent Passive: Fire Resistance. * Ability: Fire manipulation and targeted ignition/control. 2. Amber Eye: * Ability: Flight toggle and Meteor summoning. * World Control: Limited terraforming/manipulation targeting specific blocks (Netherrack, Stone, Lava). * Passives: None. 3. Soul Fire: * Permanent Passives: Soul Speed, passive damage reduction percentage, attack damage multiplier. * Abilities: Soul Fire control and Flight toggle. 4. Water Infinity Affinity: * Permanent Passives: Water Breathing, 2× Attack Damage multiplier, increased mining speed (Haste), increased agility (Speed). * Toggle Ability (G Key / Toggle Action): Water Walking toggle on tap. Tap again to descend/sink into water. 5. Eternal Fire: * Permanent Passive: Fire Resistance. * Ability: Combustion Bending (explosive ranged fire attacks). 6. Fire Materialization: * GUI Trigger (H Key / Action Command): Opens a dynamic Fire Weapon Summoning GUI.
Functionality: Consumes a fraction of Hunger/Saturation to summon temporary high-tier elemental weapons (e.g., Flaming Blade, Flaming Bow & Arrow*). 7. The Teleporter: * Abilities: Direct location teleportation mechanics and an infinite Ender Pearl ability with configurable cooldowns. 8. The Support Merchant: * Passives: 2× Economy Gain multiplier on all earned currency. * Abilities: Area-of-Effect support (applies positive effects to allies/party members, applies debuffs to enemies). #### 3. Economy & Currency Systems * Currencies: 1. Gemstones: Amethyst variants with custom textures/recolors. 2. Ruby: Translucent red diamond variant. Used in recipes and high-tier trades. 3. Ember (Money): Standard digital/item currency used across all guilds and player shops. * Earning Mechanisms: * Adventurer's Guilds: Dynamic quest system granting Ember rewards upon completion. * Player Shops: Shop creation framework enabling solo or group player-to-player trading and item selling. #### 4. Ruby Tech & Redstone Integration * Redstone Components: Compact 1-block to 6-block logic structures. * ON/OFF Binary Gates * NOT Gates * Colored Water: * Decorative colored liquid blocks. * Neon-colored variants emit directional or omnidirectional Redstone signals.
Implementation Deliverables
1. Common Domain Architecture: Clean separation between core logic (Power/Economy handling) and platform bindings (Forge/Fabric APIs, Spigot/Paper Event Listeners). 2. Persistent Data Container (NBT / PersistentDataContainer): Strict UUID-to-Power storage logic. 3. Keybind & Network Packets (Forge/Fabric): Packet handler for key triggers (G for Water Walk, H for Materialization Menu). 4. Custom GUI Framework: Inventory API listeners for Paper, Custom Screen/Menu Handlers for Forge & Fabric. 5. Item & Block Registries: Registration code for Gemstones, Rubies, Ruby Redstone Gates, and Colored Water variants.
Please produce the boilerplate, directory structure, registry definitions, and event handlers step-by-step for the specified target version.