{"compilations":[],"messages":[{"id":577566,"sessionId":"KDR-202611-YB0QOVYJ","messageType":"user","role":"user","content":"---\n📎 Attached 1 file(s):\n\n### File: pasted-code-1793985041552.txt\n```txt\n# COMPLETE MINECRAFT GOD WEAPONS PLUGIN + FABRIC KEYBIND MOD\r\n## FULL DEVELOPMENT SPECIFICATION — PAPER 1.21.11 + FABRIC\r\n\r\n# 1. PROJECT OVERVIEW\r\n\r\nI want you to develop a complete custom Minecraft weapon system consisting of:\r\n\r\n1. A **Paper 1.21.11 server plugin** that handles ALL actual gameplay mechanics, custom weapons, crafting recipes, abilities, weapon restrictions, special effects, announcements, pedestals, weapon transformations, and server-wide limits.\r\n2. A **mandatory Fabric client-side mod** that handles ONLY customizable keybinds and communicates with the Paper plugin when a player presses those keys.\r\n\r\n**MOST IMPORTANT ARCHITECTURE RULE: THE FABRIC MOD IS ONLY FOR KEYBINDS. ALL GAMEPLAY MECHANICS MUST BE HANDLED BY THE PAPER PLUGIN.**\r\n\r\nThe Fabric mod must NOT implement weapon mechanics, abilities, crafting, damage calculations, particles, effects, announcements, or any other gameplay functionality.\r\n\r\nEvery player who wants to use this system must install the Fabric mod.\r\n\r\nThe server is running Paper 1.21.11.\r\n\r\nThe goal is to create five individual God Weapons and one combined ultimate weapon called **The Cataclysm**.\r\n\r\nPlease implement the entire system rather than creating a basic prototype with missing functionality. All gameplay-critical actions must be validated server-side.\r\n\r\n---\r\n\r\n# 2. THE FIVE GOD WEAPONS\r\n\r\nThere are five individual God Weapons:\r\n\r\n1. God Sword\r\n2. God Spear\r\n3. God Mace\r\n4. God Axe\r\n5. God Shield\r\n\r\nEach weapon must have its own custom crafting recipe, abilities, restrictions, and special behavior.\r\n\r\nThe weapons should be distinguishable from ordinary Minecraft weapons. Use custom names, custom item data, and appropriate visual effects.\r\n\r\nDo not identify custom weapons merely by their displayed names. Use persistent custom item identifiers so renaming an item cannot bypass restrictions.\r\n\r\n---\r\n\r\n# 3. GOD WEAPON CRAFTING RECIPES\r\n\r\nAll recipes must be implemented as custom server-side recipes.\r\n\r\nAll ingredients must match the specified materials and enchantments. Do not accept lower-tier substitutes or ingredients missing required enchantments.\r\n\r\n**IMPORTANT: The crafting layouts must follow the exact arrangements below. Some ingredients are allowed to switch positions, but that does NOT mean they are optional.**\r\n\r\n## A. GOD SWORD\r\n\r\nThe God Sword recipe requires:\r\n\r\n- Four Netherite Ingots.\r\n- One Sharpness sword.\r\n- One Bane of Arthropods sword.\r\n- One Smite sword.\r\n\r\nThe three enchanted swords must be placed vertically in the center column.\r\n\r\nThe four Netherite Ingots must remain in the four corners.\r\n\r\nCrafting layout:\r\n\r\n| Netherite Ingot | Sharpness Sword | Netherite Ingot |\r\n|---|---|---|\r\n| Empty | Bane of Arthropods Sword | Empty |\r\n| Netherite Ingot | Smite Sword | Netherite Ingot |\r\n\r\n**IMPORTANT RECIPE RULES:**\r\n\r\n- All three enchanted swords are REQUIRED.\r\n- The Sharpness, Bane of Arthropods, and Smite swords can be in ANY order within the center column.\r\n- Their positions must not matter as long as all three required enchantments are present.\r\n- The enchantments must actually be present on the swords.\r\n- A sword without its required enchantment must not count.\r\n- The four Netherite Ingots must remain in the four corners.\r\n- Do not require the swords to be in one specific order.\r\n\r\nThe recipe must accept all six possible arrangements of the three required swords in the center column.\r\n\r\n## B. GOD SPEAR\r\n\r\nThe God Spear recipe requires:\r\n\r\n- Two Netherite Spears.\r\n- One Diamond.\r\n\r\nThe Diamond replaces the Stick that was originally planned for the spear recipe.\r\n\r\n**EXACT CRAFTING LAYOUT:**\r\n\r\n| Empty | Netherite Spear | Empty |\r\n|---|---|---|\r\n| Empty | Netherite Spear | Empty |\r\n| Empty | Diamond | Empty |\r\n\r\nThe ingredients must be arranged vertically in the center column.\r\n\r\n**IMPORTANT RECIPE RULES:**\r\n\r\n1. The top-middle slot must contain a Netherite Spear.\r\n2. The middle-middle slot must contain a Netherite Spear.\r\n3. The bottom-middle slot must contain a Diamond.\r\n4. Both Spears are required.\r\n5. The Diamond is required.\r\n6. No additional ingredients are required.\r\n7. Diamond Spears or lower-tier spear substitutes must NOT be accepted.\r\n8. A recipe with only one Netherite Spear must not work.\r\n\r\nDo not change the layout or substitute the Diamond with a Stick.\r\n\r\n## C. GOD MACE\r\n\r\nThe God Mace recipe requires:\r\n\r\n- One Dragon Head.\r\n- One Density V Mace.\r\n- One Breach IV Mace.\r\n\r\n**BOTH SPECIAL MACES ARE REQUIRED. NEITHER IS OPTIONAL.**\r\n\r\nThis recipe works similarly to the God Sword recipe: all required ingredients and enchantments must be present, but the two enchanted maces can switch positions.\r\n\r\n**EXACT CRAFTING LAYOUT:**\r\n\r\n| Dragon Head | Empty | Empty |\r\n|---|---|---|\r\n| Empty | Density V Mace | Empty |\r\n| Empty | Breach IV Mace | Empty |\r\n\r\nThere are exactly TWO valid arrangements.\r\n\r\n**Arrangement 1:**\r\n\r\n| Dragon Head | Empty | Empty |\r\n|---|---|---|\r\n| Empty | Density V Mace | Empty |\r\n| Empty | Breach IV Mace | Empty |\r\n\r\n**Arrangement 2:**\r\n\r\n| Dragon Head | Empty | Empty |\r\n|---|---|---|\r\n| Empty | Breach IV Mace | Empty |\r\n| Empty | Density V Mace | Empty |\r\n\r\n**IMPORTANT RECIPE DISCLAIMER:**\r\n\r\n- BOTH the Density V Mace AND the Breach IV Mace are REQUIRED.\r\n- The Density V enchantment is mandatory.\r\n- The Breach IV enchantment is mandatory.\r\n- Neither enchantment is optional.\r\n- The two maces can switch positions between the middle-middle and bottom-middle slots.\r\n- The Dragon Head must ALWAYS remain in the top-left slot.\r\n- The recipe must NOT accept two Density V Maces.\r\n- The recipe must NOT accept two Breach IV Maces.\r\n- The recipe must NOT accept an unenchanted mace.\r\n- The recipe must NOT accept lower enchantment levels.\r\n- The enchantments must actually be present on the correct mace ingredients.\r\n- Both original maces are consumed when the God Mace is crafted.\r\n\r\n**The only thing that can change is the POSITION of the two required maces. The required enchantments themselves can never be removed or substituted.**\r\n\r\nThe God Mace must be treated as a unique custom weapon and must NOT count toward the normal five-mace server limit.\r\n\r\n## D. GOD AXE\r\n\r\nThe God Axe recipe requires:\r\n\r\n- Three Netherite Ingots.\r\n- One Netherite Axe.\r\n- One Stick.\r\n\r\nThe Netherite Ingots must form the left-side axe-head pattern.\r\n\r\nCrafting layout:\r\n\r\n| Netherite Ingot | Netherite Ingot | Empty |\r\n|---|---|---|\r\n| Netherite Ingot | Netherite Axe | Empty |\r\n| Empty | Stick | Empty |\r\n\r\n**IMPORTANT RECIPE RULES:**\r\n\r\n- The Stick must be in the bottom-middle slot.\r\n- The axe itself must be Netherite.\r\n- Diamond Axes must NOT be accepted.\r\n- All three Netherite Ingots are required.\r\n- The recipe must follow the exact layout.\r\n\r\n## E. GOD SHIELD\r\n\r\nThe God Shield recipe requires:\r\n\r\n- Two Netherite Ingots in the top corners.\r\n- One Dragon Head in the top-middle slot.\r\n- Two Shields in the center column.\r\n- Two Diamonds in the bottom corners.\r\n\r\nCrafting layout:\r\n\r\n| Netherite Ingot | Dragon Head | Netherite Ingot |\r\n|---|---|---|\r\n| Empty | Shield | Empty |\r\n| Diamond | Shield | Diamond |\r\n\r\n**IMPORTANT RECIPE RULES:**\r\n\r\n- The Dragon Head must be in the top-middle slot.\r\n- Netherite Ingots must be in the top corners.\r\n- The Shields must be arranged vertically.\r\n- Diamonds must be in the bottom corners.\r\n- Follow this arrangement unless the final ingredient choice is clarified.\r\n\r\n---\r\n\r\n# 4. GOD WEAPON ABILITIES\r\n\r\nEach of the five weapons must have its own abilities.\r\n\r\nPlayers must be able to activate an ability using its assigned keybind while holding the appropriate weapon.\r\n\r\nThe abilities must work on the individual God Weapons even before a player obtains The Cataclysm.\r\n\r\nObtaining The Cataclysm is NOT a requirement for using individual weapon abilities.\r\n\r\nIf a player presses an ability key without holding the appropriate weapon, nothing should happen.\r\n\r\nThe server must validate the weapon, ability, cooldown, and player state before activating anything.\r\n\r\n## A. GOD SWORD\r\n\r\nThe God Sword must have its own weapon-specific functionality.\r\n\r\n### GOD SWORD SPECIAL ABILITY — 360-DEGREE CRITICAL SWEEP\r\n\r\nThe God Sword must have an active ability that performs a full 360-degree attack around the player.\r\n\r\n**Exact ability requirements:**\r\n\r\n- When activated, the attack must cover the full 360-degree area around the player.\r\n- The attack must reach targets up to 5 blocks away from the player.\r\n- The 5-block range applies in every direction around the player, not only in the direction the player is facing.\r\n- The attack must hit every valid living target within that range, including targets behind or beside the player.\r\n- The attack must deal the damage of a critical hit.\r\n- The attack must not require the player to jump, fall, or meet the normal conditions for a Minecraft critical hit.\r\n- Each target must be damaged no more than once per activation.\r\n- The ability must have a 5-minute cooldown.\r\n- The cooldown must be enforced by the Paper plugin so it cannot be bypassed by changing client keybinds, reconnecting, or sending repeated requests.\r\n- The ability must work when holding the individual God Sword.\r\n- The same ability must work when The Cataclysm is currently in its Sword form.\r\n- The Fabric mod only sends the configured keypress request. The Paper plugin performs the area check, damage calculation, target validation, and cooldown enforcement.\r\n- Do not make this ability activate when the player is holding a different individual God Weapon or when The Cataclysm is in a different form.\r\n\r\nThe ability should be activated through a customizable keybind in the Fabric mod's God Weapons Controls category.\r\n\r\nThe God Sword must also support:\r\n\r\n- Universal spear reach.\r\n- Universal smash mechanics.\r\n\r\nIts three required crafting enchantments are:\r\n\r\n- Sharpness.\r\n- Bane of Arthropods.\r\n- Smite.\r\n\r\nDo not assume that these crafting ingredients automatically define the God Sword's additional special abilities. The crafting enchantments and the 360-degree critical sweep are separate requirements.\r\n\r\n## B. GOD SPEAR\r\n\r\nThe God Spear must have a throwing ability.\r\n\r\nThe player should be able to customize which keyboard key activates the spear throw.\r\n\r\nFor example:\r\n\r\n- R = Throw God Spear.\r\n\r\nThe spear's throwing ability must be server-authoritative.\r\n\r\nThe server must validate that the player is holding the correct weapon before allowing the throw.\r\n\r\n## C. GOD MACE\r\n\r\nThe God Mace must have a smash ability.\r\n\r\nThe mace must support the special smash mechanics described in the universal smash section.\r\n\r\nIts crafting ingredients must follow the exact Density V AND Breach IV requirements described in Section 3.\r\n\r\nBoth special maces are required to craft it.\r\n\r\n## D. GOD AXE\r\n\r\nThe God Axe must have a throwing ability.\r\n\r\nPlayers must be able to assign a custom key to activate the axe throw.\r\n\r\nFor example:\r\n\r\n- G = Throw God Axe.\r\n\r\nThe axe's special ability must only activate when the appropriate axe weapon is held.\r\n\r\n## E. GOD SHIELD\r\n\r\nThe God Shield must have a defensive ability.\r\n\r\nWhen activated, it makes the player immune to damage for 5 seconds.\r\n\r\nThe ability must have a 10-minute cooldown.\r\n\r\nThe cooldown must be enforced by the server, not just the client mod.\r\n\r\nThe shield ability should not be usable while the player is holding a different weapon.\r\n\r\n---\r\n\r\n# 5. UNIVERSAL SPEAR REACH AND SMASH ATTACK\r\n\r\nThere are two important mechanics that must work across the weapon system.\r\n\r\n## A. UNIVERSAL SPEAR REACH\r\n\r\nThe player must ALWAYS receive the attack reach of a normal Minecraft spear, even when holding a different weapon.\r\n\r\nFor example:\r\n\r\n- Holding the God Sword should still provide spear-range reach.\r\n- Holding the God Axe should still provide spear-range reach.\r\n- Holding the God Mace should still provide spear-range reach.\r\n- Holding the God Shield should still provide spear-range reach.\r\n\r\nThis mechanic must remain active regardless of which weapon form is selected.\r\n\r\nDo not restrict the extended reach to the God Spear alone.\r\n\r\n## B. UNIVERSAL SMASH ATTACK\r\n\r\nEvery weapon form must be capable of performing a mace-style smash attack.\r\n\r\nThe player should be able to activate the smash while holding ANY of the weapon forms.\r\n\r\nFor example, if the player is holding the God Sword, they can still perform a mace-style smash.\r\n\r\nRequirements:\r\n\r\n1. The smash must work in every weapon form.\r\n2. It must use mace-style smash behavior.\r\n3. It must only deal 25% of the normal corresponding mace smash damage.\r\n4. It must prevent the player from taking fall damage from the smash.\r\n5. It must NOT activate the special abilities belonging to the currently selected weapon.\r\n\r\nFor example, performing a smash while holding the God Axe must NOT activate the axe throwing ability.\r\n\r\nThe player should visually continue holding the selected weapon.\r\n\r\nThe smash should function like a mace attack without changing the weapon's appearance.\r\n\r\nDo not allow the smash to accidentally trigger other weapon abilities.\r\n\r\n---\r\n\r\n# 6. THE CATACLYSM — COMBINED ULTIMATE WEAPON\r\n\r\nThe weapon previously called the God Slayer or Godslayer has been renamed:\r\n\r\n**THE CATACLYSM**\r\n\r\nThe Cataclysm is the ultimate combined weapon created from all five God Weapons.\r\n\r\nIt must allow the player to switch between five different weapon forms:\r\n\r\n1. God Sword.\r\n2. God Spear.\r\n3. God Mace.\r\n4. God Axe.\r\n5. God Shield.\r\n\r\nEach form must retain its appropriate weapon functionality and abilities.\r\n\r\nThe Cataclysm must also retain:\r\n\r\n- Universal spear reach.\r\n- Universal smash mechanics.\r\n\r\nThe player must be able to switch between all five forms using the configurable keybind system.\r\n\r\nThe Cataclysm must be treated as its own unique custom item.\r\n\r\nIt must NOT count as a normal mace for the mace limiter.\r\n\r\nIt must also NOT count as an additional copy of the original God Mace for the purposes of the mace limiter.\r\n\r\nThe Cataclysm must be created through the pedestal ritual described below.\r\n\r\n---\r\n\r\n# 7. PEDESTAL RITUAL AND THE /PEDESTAL COMMAND\r\n\r\nI want a special crafting ritual that creates The Cataclysm.\r\n\r\nThe server administrator should have access to a command:\r\n\r\n`/pedestal`\r\n\r\nWhen the command is executed, it creates a special pedestal structure at the location where the player is standing.\r\n\r\n## Pedestal layout\r\n\r\nThe structure must contain five pedestal positions:\r\n\r\n- One pedestal in the middle.\r\n- Four additional pedestals surrounding the middle pedestal.\r\n\r\nThe four surrounding pedestals are where the player places the five required God Weapon ingredients, with the middle pedestal reserved for the resulting ultimate weapon.\r\n\r\nThe structure should be visually distinguishable from ordinary Minecraft blocks.\r\n\r\n## Creating The Cataclysm\r\n\r\nThe player must drop all five God Weapons onto their designated pedestal positions.\r\n\r\nThe plugin must detect when the correct items have been placed.\r\n\r\nThe five required items are:\r\n\r\n- God Sword.\r\n- God Spear.\r\n- God Mace.\r\n- God Axe.\r\n- God Shield.\r\n\r\nOnce all five required weapons have been placed correctly, the ritual begins.\r\n\r\n## Ritual effects\r\n\r\nThe ritual must have an impressive visual effect.\r\n\r\nThe intended sequence:\r\n\r\n1. Detect that all five required God Weapons are present.\r\n2. Trigger a dramatic lightning strike effect.\r\n3. Generate a large amount of purple particles around the pedestal structure.\r\n4. The particles should become dense enough to obscure the structure temporarily.\r\n5. The purple particles should clear after approximately five seconds.\r\n6. Once the effects clear, The Cataclysm should appear on the central pedestal.\r\n\r\nThe resulting Cataclysm must be a single custom weapon that can switch between all five weapon forms.\r\n\r\nThe ritual must consume the five original God Weapons.\r\n\r\nThe plugin must prevent players from duplicating the ingredients or triggering the ritual multiple times with the same items.\r\n\r\nThe `/pedestal` command should be permission-controlled so ordinary players cannot freely create pedestal structures.\r\n\r\n---\r\n\r\n# 8. CATACLYSM WEAPON SWITCHING\r\n\r\nThe Cataclysm must have a customizable weapon switching system.\r\n\r\nThere must be a command:\r\n\r\n`/godweapon`\r\n\r\nThis command should open a menu that allows the player to choose the order of the five weapon forms.\r\n\r\nThe menu must display all five forms:\r\n\r\n- Sword.\r\n- Axe.\r\n- Mace.\r\n- Spear.\r\n- Shield.\r\n\r\nThe player must be able to change the order in which these weapons appear when cycling.\r\n\r\nFor example, a player might choose:\r\n\r\n1. Sword.\r\n2. Axe.\r\n3. Mace.\r\n4. Spear.\r\n5. Shield.\r\n\r\nAnother player might prefer:\r\n\r\n1. Spear.\r\n2. Shield.\r\n3. Sword.\r\n4. Mace.\r\n5. Axe.\r\n\r\nThe order should be saved separately for each player.\r\n\r\n## Default switching behavior\r\n\r\nBy default, the player should only need ONE key to cycle through the weapon forms.\r\n\r\nFor example:\r\n\r\n`R = Switch to next weapon`\r\n\r\nThe player presses R repeatedly to cycle through their chosen order.\r\n\r\nThe cycle must wrap around after the final weapon.\r\n\r\n## Optional direct switching\r\n\r\nPlayers should also have the option to configure individual keys that immediately switch to a specific weapon.\r\n\r\nFor example:\r\n\r\n- G = God Sword.\r\n- H = God Axe.\r\n- J = God Mace.\r\n\r\nThese are optional customizations.\r\n\r\nThey must NOT be required.\r\n\r\nThe default behavior must remain one key to cycle through the weapon forms.\r\n\r\nThe player should be able to customize all these key assignments through Minecraft's normal Controls menu.\r\n\r\n---\r\n\r\n# 9. REQUIRED FABRIC CLIENT MOD — KEYBINDS ONLY\r\n\r\n**THIS IS EXTREMELY IMPORTANT.**\r\n\r\nCreate a separate Fabric client-side mod that EVERY player must install to use the weapon system.\r\n\r\n**THE FABRIC MOD MUST ONLY HANDLE KEYBINDS.**\r\n\r\nIt must not implement the weapons themselves.\r\n\r\nIt must not implement the weapon abilities.\r\n\r\nIt must not handle crafting recipes.\r\n\r\nIt must not handle damage.\r\n\r\nIt must not handle particles.\r\n\r\nIt must not create or manage pedestal structures.\r\n\r\nIt must not handle announcements.\r\n\r\nIt must not enforce weapon restrictions.\r\n\r\nAll of those functions belong to the Paper plugin.\r\n\r\n## What the mod actually does\r\n\r\nThe Fabric mod must:\r\n\r\n1. Register a dedicated God Weapons category in Minecraft's Controls menu.\r\n2. Allow players to customize the keys for weapon switching.\r\n3. Allow players to customize the keys for individual weapon abilities.\r\n4. Allow players to customize direct weapon-selection keys.\r\n5. Detect when a configured key is pressed.\r\n6. Send the corresponding action request to the server plugin.\r\n7. Allow the server plugin to determine whether the action is valid.\r\n\r\nThe mod must provide configurable keybinds for:\r\n\r\n- Switching to the next weapon form.\r\n- God Sword abilities, if assigned.\r\n- God Spear throwing.\r\n- God Mace smash.\r\n- God Axe throwing.\r\n- God Shield defensive ability.\r\n- Direct selection of individual weapon forms, if the player wants to configure those keys.\r\n\r\nAll keys must be customizable through:\r\n\r\n`Escape → Options → Controls → Key Binds → God Weapons`\r\n\r\n## Communication between the mod and plugin\r\n\r\nThe Fabric mod and Paper plugin must communicate through a reliable custom network protocol, such as Minecraft custom payloads.\r\n\r\nThe client sends keypress/action requests.\r\n\r\nThe server validates the request.\r\n\r\nThe server then executes the actual ability or weapon switch.\r\n\r\nNever trust the client to decide:\r\n\r\n- Whether a player owns a weapon.\r\n- Whether an ability is available.\r\n- Whether a cooldown has expired.\r\n- Whether a weapon can be used.\r\n\r\n## Important compatibility requirements\r\n\r\n- The mod is mandatory for using the system.\r\n- The mod should work with the server's Minecraft version.\r\n- The mod should be lightweight.\r\n- The mod should not unnecessarily affect performance.\r\n- The mod should save individual keybind preferences.\r\n- The server plugin must reject invalid or unauthorized requests.\r\n- The mod must not give players access to server-side mechanics that they should not have.\r\n\r\n**The mod is simply the customizable input interface for the Paper plugin. It does not implement any gameplay.**\r\n\r\n---\r\n\r\n# 10. GLOBAL MACE LIMITER\r\n\r\nThe Paper plugin must include a global mace limiter.\r\n\r\nThere must never be more than FIVE regular maces in total on the server.\r\n\r\nThis is a server-wide limit, not a per-player limit.\r\n\r\nThe God Mace and Cataclysm must NOT count toward the five-mace limit.\r\n\r\n## Density and Breach restrictions\r\n\r\nThere should only be:\r\n\r\n- One Density V mace at a time.\r\n- One Breach IV mace at a time.\r\n\r\nThese restrictions apply across the entire server.\r\n\r\nThere must not be lower-level versions of these special enchantments.\r\n\r\nFor example:\r\n\r\n- Breach I must automatically become Breach IV.\r\n- Breach II must automatically become Breach IV.\r\n- Breach III must automatically become Breach IV.\r\n- Density I must automatically become Density V.\r\n- Density II must automatically become Density V.\r\n- Density III must automatically become Density V.\r\n- Density IV must automatically become Density V.\r\n\r\nThis applies to enchanted books as well as maces.\r\n\r\nFor example:\r\n\r\n- If a player obtains a Breach I enchanted book, the plugin should automatically upgrade it to Breach IV.\r\n- If a player obtains a Density III mace, the plugin should automatically upgrade the enchantment to Density V.\r\n\r\nThe plugin must prevent lower-level versions from remaining in the game.\r\n\r\n## Trial Chamber rewards and other acquisition methods\r\n\r\nThe limiter must work regardless of how players obtain these items.\r\n\r\nThis includes:\r\n\r\n- Trial Chamber rewards.\r\n- Loot.\r\n- Crafting.\r\n- Enchanting.\r\n- Villager trades.\r\n- Other plugin-generated rewards.\r\n- Any other supported way of obtaining these enchantments.\r\n\r\nThe plugin must not allow players to bypass the restrictions by obtaining items through another method.\r\n\r\n## Crafting the God Mace\r\n\r\nWhen the God Mace is crafted:\r\n\r\n- The Density V mace ingredient is consumed.\r\n- The Breach IV mace ingredient is consumed.\r\n- Both regular mace ingredients stop counting toward the five-mace limit.\r\n- The original Density V and Breach IV mace recipes become available again, subject to the global restrictions.\r\n\r\nThe plugin must NOT permanently disable the original Density/Breach crafting recipes after the God Mace has been created.\r\n\r\nPlayers must still be subject to the global mace restrictions.\r\n\r\nThere can only be one active Density V mace and one active Breach IV mace at a time.\r\n\r\n---\r\n\r\n# 11. FIVE-MACE TOTAL SERVER LIMIT\r\n\r\nIn addition to the Density/Breach restrictions, the server must enforce a total limit of FIVE regular maces.\r\n\r\nThis is a separate restriction.\r\n\r\nThe plugin must count all regular maces across the server, not just the maces held by individual players.\r\n\r\nThe count must account for maces in:\r\n\r\n- Player inventories.\r\n- Ender chests.\r\n- Chests and other storage.\r\n- Containers.\r\n- Dropped items.\r\n- Other locations where regular maces can exist.\r\n\r\nThe plugin must prevent players from crafting additional regular maces once the five-mace limit has been reached.\r\n\r\nThe God Mace is excluded from this limit.\r\n\r\nThe Cataclysm is also excluded from this limit.\r\n\r\nWhen a Density V or Breach IV mace is consumed to craft the God Mace, that regular mace no longer counts toward the total.\r\n\r\nPlayers must be able to craft replacement regular maces as long as the global restrictions allow it.\r\n\r\nDo not permanently disable the original Density/Breach crafting recipes after the God Mace has been created.\r\n\r\n---\r\n\r\n# 12. GOD WEAPON UNIQUENESS AND GLOBAL CRAFTING RESTRICTIONS\r\n\r\nEach of the five God Weapons must be unique across the entire server.\r\n\r\nThere must only be one active copy of each God Weapon at a time.\r\n\r\nThis is a SERVER-WIDE restriction.\r\n\r\nIt is NOT a restriction that allows each player to craft one copy.\r\n\r\nFor example:\r\n\r\n- If someone owns the God Sword, nobody else can craft another God Sword.\r\n- If someone owns the God Spear, nobody else can craft another God Spear.\r\n- The same applies to the God Mace, God Axe, and God Shield.\r\n\r\nThe plugin must prevent:\r\n\r\n- Duplicate crafting.\r\n- Duplicate items through shift-click crafting.\r\n- Crafting through alternative crafting methods.\r\n- Item duplication exploits.\r\n- Unauthorized commands creating extra copies.\r\n\r\nThe God Weapons must be tracked using persistent custom identifiers.\r\n\r\n## When a God Weapon is destroyed or lost\r\n\r\nIf a God Weapon is destroyed or permanently lost, its crafting recipe must become available again.\r\n\r\nFor example, if the God Sword falls into the Void, the plugin should recognize that the server no longer has an active God Sword.\r\n\r\nThe recipe should then unlock so another player can craft a replacement.\r\n\r\nThe same rule applies to all five God Weapons.\r\n\r\n## Player ownership restriction\r\n\r\nA player must not be able to craft a second copy of a particular God Weapon while that weapon already exists on the server.\r\n\r\nThe important restriction is the global one-copy limit.\r\n\r\nThe plugin must not permanently ban someone from crafting a replacement simply because they crafted the previous version.\r\n\r\n---\r\n\r\n# 13. GOD WEAPON DESTRUCTION PROTECTION\r\n\r\nAll five God Weapons and The Cataclysm must be protected against normal destruction.\r\n\r\nThey must not be destroyed by:\r\n\r\n- Explosions.\r\n- TNT.\r\n- Creepers.\r\n- Fire.\r\n- Lava.\r\n- Burning.\r\n- Cacti.\r\n- Other ordinary environmental destruction.\r\n- Normal item damage or despawning outside the specific rules below.\r\n\r\nIf a God Weapon is dropped on the ground, it must remain a normal-looking Minecraft dropped item.\r\n\r\nIt must NOT have a visible countdown timer above it.\r\n\r\n## Five-minute dropped-item despawn\r\n\r\nIf a God Weapon is dropped on the ground, it should despawn after five minutes.\r\n\r\nThis should behave like normal Minecraft item despawning.\r\n\r\nThere must be:\r\n\r\n- No countdown display.\r\n- No floating timer.\r\n- No special visual countdown.\r\n- No unnecessary messages while the item is on the ground.\r\n\r\nAfter the item despawns naturally, the server should recognize that the weapon no longer exists and unlock its crafting recipe.\r\n\r\n## Void destruction\r\n\r\nThe Void is the exception to the destruction protection.\r\n\r\nIf a God Weapon falls into the Void, it should be destroyed normally.\r\n\r\nWhen that happens:\r\n\r\n1. The server recognizes that the weapon has been destroyed.\r\n2. The global uniqueness restriction is released for that weapon.\r\n3. Its crafting recipe becomes available again.\r\n4. A server-wide destruction announcement is sent.\r\n\r\nThe plugin must ensure that fire, lava, explosions, and cactus do not accidentally bypass the protection.\r\n\r\n## Important tracking requirement\r\n\r\nThe plugin must accurately track the status of every unique weapon.\r\n\r\nIt must distinguish between:\r\n\r\n- A weapon that is currently owned.\r\n- A weapon that has been dropped.\r\n- A weapon that is being transferred.\r\n- A weapon that has naturally despawned.\r\n- A weapon that has been destroyed in the Void.\r\n\r\nDo not unlock a recipe simply because an item was temporarily moved between inventories or containers.\r\n\r\n---\r\n\r\n# 14. GOD WEAPON STORAGE RESTRICTIONS\r\n\r\nThe five God Weapons and The Cataclysm must not be stored in containers.\r\n\r\nThey must be completely restricted from being placed into storage.\r\n\r\nThis includes, but is not limited to:\r\n\r\n- Regular chests.\r\n- Trapped chests.\r\n- Ender chests.\r\n- Barrels.\r\n- Shulker boxes.\r\n- Bundles.\r\n- Hoppers.\r\n- Dispensers.\r\n- Droppers.\r\n- Chiseled bookshelf-style storage, where applicable.\r\n- Any other container or inventory-based storage block.\r\n- Any other supported storage inventory.\r\n\r\nThe restrictions must also prevent players from using hoppers or other automated systems to move the weapons into containers.\r\n\r\nThe items should still be usable in a player's normal inventory.\r\n\r\nPlayers must be allowed to drop the weapons on the ground.\r\n\r\nThe five-minute dropped-item despawn rule still applies.\r\n\r\nThe plugin must prevent storage exploits involving:\r\n\r\n- Shift-clicking.\r\n- Dragging items.\r\n- Number-key inventory swaps.\r\n- Hopper transfers.\r\n- Container automation.\r\n- Other inventory transfer methods.\r\n\r\nThe restriction should be enforced server-side.\r\n\r\n---\r\n\r\n# 15. CHAT ANNOUNCEMENTS\r\n\r\nThe server must send chat announcements when important God Weapon events occur.\r\n\r\n## A. Crafting announcements\r\n\r\nWhenever a God Weapon is successfully crafted, announce it to the entire server.\r\n\r\nExamples:\r\n\r\n- \"The God Sword has been crafted!\"\r\n- \"The God Spear has been crafted!\"\r\n- \"The God Mace has been crafted!\"\r\n- \"The God Axe has been crafted!\"\r\n- \"The God Shield has been crafted!\"\r\n\r\nThe announcement must NOT reveal who crafted the weapon.\r\n\r\nDo not include the player's name.\r\n\r\nThe announcement should only happen after the crafting operation successfully completes.\r\n\r\n## B. Cataclysm announcement\r\n\r\nWhen The Cataclysm is successfully created through the pedestal ritual, announce:\r\n\r\n\"The Cataclysm has been created!\"\r\n\r\nAgain, do not reveal the player's name.\r\n\r\n## C. Destruction announcements\r\n\r\nWhen a God Weapon is destroyed, announce the destruction in server chat.\r\n\r\nExamples:\r\n\r\n- \"The God Sword has been destroyed!\"\r\n- \"The God Spear has been destroyed!\"\r\n- \"The God Mace has been destroyed!\"\r\n- \"The God Axe has been destroyed!\"\r\n- \"The God Shield has been destroyed!\"\r\n\r\nIf The Cataclysm is destroyed, announce:\r\n\r\n\"The Cataclysm has been destroyed!\"\r\n\r\nDo not announce the player's name.\r\n\r\nIMPORTANT:\r\n\r\nNatural five-minute item despawning must NOT trigger the destruction announcement.\r\n\r\nThe destruction announcement should be reserved for actual destruction events, such as Void destruction.\r\n\r\n---\r\n\r\n# 16. SERVER-SIDE SECURITY AND EXPLOIT PREVENTION\r\n\r\nThe Paper plugin must be responsible for all important gameplay decisions.\r\n\r\nThe Fabric mod must never be trusted to decide:\r\n\r\n- Whether a player owns a God Weapon.\r\n- Whether a player can craft a God Weapon.\r\n- Whether an ability is available.\r\n- Whether a cooldown has expired.\r\n- Whether an item can be destroyed.\r\n- Whether a player can use a weapon ability.\r\n- Whether a player has permission to create a pedestal.\r\n\r\nAll of these must be validated by the server.\r\n\r\nPrevent common duplication exploits involving:\r\n\r\n- Crafting.\r\n- Shift-clicking.\r\n- Dropping and picking up items.\r\n- Death and respawning.\r\n- Inventory transfers.\r\n- Container interactions.\r\n- Plugin reloads.\r\n- Server restarts.\r\n- Disconnecting during crafting or a ritual.\r\n- Multiple players interacting with the same item simultaneously.\r\n\r\nThe uniqueness state, mace counts, cooldowns, and player settings should persist across server restarts.\r\n\r\nUse reliable persistent storage, preferably a database or carefully managed persistent data storage.\r\n\r\nDo not rely solely on in-memory variables.\r\n\r\n---\r\n\r\n# 17. ADMINISTRATION AND CONFIGURATION\r\n\r\nProvide sensible configuration options for server administrators.\r\n\r\nInclude configurable settings for:\r\n\r\n- Ability cooldowns.\r\n- Weapon damage.\r\n- Smash damage multiplier.\r\n- Smash behavior.\r\n- Spear reach.\r\n- Item despawn behavior.\r\n- Particle effects.\r\n- Announcement messages.\r\n- Pedestal permissions.\r\n- Global mace limits.\r\n- Debug logging.\r\n\r\nThe defaults must follow this specification.\r\n\r\nThe plugin should also provide administrative tools for inspecting weapon states and correcting problems.\r\n\r\nAny administrative command that creates a unique weapon must be protected by permissions and must respect or explicitly update the global uniqueness tracking.\r\n\r\n---\r\n\r\n# 18. FABRIC MOD USER EXPERIENCE\r\n\r\nThe client mod should integrate naturally into Minecraft.\r\n\r\nPlayers should be able to open:\r\n\r\n`Escape → Options → Controls`\r\n\r\nThere should be a separate category called:\r\n\r\n`God Weapons`\r\n\r\nWithin that category, players can customize their keys.\r\n\r\nThe default weapon-switch key should be a single key that cycles through the selected Cataclysm weapon order.\r\n\r\nR is an example default key.\r\n\r\nPlayers should also be able to assign separate keys to abilities.\r\n\r\nFor example:\r\n\r\n- R: Switch weapon.\r\n- G: Throw God Axe.\r\n- Another key: Throw God Spear.\r\n- Another key: God Mace smash.\r\n- Another key: God Shield ability.\r\n\r\nThese are examples, not forced assignments.\r\n\r\nPlayers should be able to change every key to whatever they prefer.\r\n\r\nDirect weapon-selection keys must be optional.\r\n\r\nIf a player does not configure direct selection keys, they can still use the default cycling system.\r\n\r\nThe mod should also provide a clear message if the player attempts to use a feature while disconnected from a compatible server.\r\n\r\n**REMINDER: The mod only registers keybinds, detects keypresses, and sends requests. All gameplay actions happen on the Paper server.**\r\n\r\n---\r\n\r\n# 19. TESTING REQUIREMENTS\r\n\r\nBefore declaring the project finished, thoroughly test every major feature.\r\n\r\n## Crafting tests\r\n\r\n- Verify every recipe uses the correct ingredients.\r\n- Verify every ingredient is in the correct slot.\r\n- Verify the God Sword accepts all three required enchantments in the center column.\r\n- Verify the three God Sword ingredients can be in any order.\r\n- Verify the four Netherite Ingots remain in the corners.\r\n- Verify the God Spear requires exactly two Netherite Spears and one Diamond.\r\n- Verify the God Spear ingredient positions match the exact vertical layout.\r\n- Verify the God Spear does not accept Diamond Spears or lower-tier substitutes.\r\n- Verify the God Axe requires a Netherite Axe.\r\n- Verify the God Mace requires BOTH a Density V Mace AND a Breach IV Mace.\r\n- Verify the God Mace accepts both possible positions of the two maces.\r\n- Verify the God Mace does not accept two Density V Maces.\r\n- Verify the God Mace does not accept two Breach IV Maces.\r\n- Verify the Dragon Head stays in the top-left position.\r\n- Verify the God Shield requires the correct ingredients.\r\n- Verify invalid recipes cannot be crafted.\r\n\r\n## Ability tests\r\n\r\n- Test every individual weapon ability.\r\n- Test all keybinds.\r\n- Test that abilities only work when the correct weapon is held.\r\n- Test the God Sword's full 360-degree critical sweep.\r\n- Verify the God Sword sweep reaches targets up to 5 blocks away in every direction, including behind and beside the player.\r\n- Verify the sweep deals critical-hit damage without requiring a jump or fall.\r\n- Verify every valid target in range is hit, and each target is damaged only once per activation.\r\n- Verify the God Sword sweep has a 5-minute server-enforced cooldown.\r\n- Verify the sweep works with the individual God Sword and with The Cataclysm in Sword form.\r\n- Verify the sweep does not activate while holding another weapon or while The Cataclysm is in a non-Sword form.\r\n- Test the shield's five-second damage immunity.\r\n- Test its ten-minute cooldown.\r\n- Test universal spear reach across all forms.\r\n- Test universal smash across all forms.\r\n- Verify smash deals only 25% of normal corresponding mace smash damage.\r\n- Verify smash prevents fall damage from the smash.\r\n- Verify smash does not activate other weapon abilities.\r\n\r\n## Cataclysm tests\r\n\r\n- Test the `/pedestal` command.\r\n- Test all five pedestal positions.\r\n- Test placement of all five required weapons.\r\n- Test the lightning effect.\r\n- Test the purple particles.\r\n- Verify the particles clear after approximately five seconds.\r\n- Verify The Cataclysm appears in the middle.\r\n- Verify the original five weapons are consumed.\r\n- Test weapon cycling.\r\n- Test customized weapon orders.\r\n- Test optional direct-selection keys.\r\n- Verify each form retains its abilities.\r\n- Verify the Cataclysm is treated as a single unique custom item.\r\n\r\n## Mace limiter tests\r\n\r\n- Verify the server cannot exceed five regular maces.\r\n- Verify the God Mace and Cataclysm do not count toward the limit.\r\n- Verify Density V and Breach IV are globally restricted.\r\n- Verify lower-level Density and Breach enchantments automatically upgrade.\r\n- Test enchanted books.\r\n- Test Trial Chamber rewards.\r\n- Test crafting and other acquisition methods.\r\n- Verify that consuming BOTH special maces to craft the God Mace frees their regular mace slots.\r\n- Verify the original mace crafting recipes become available again when their global restrictions permit it.\r\n\r\n## Destruction and storage tests\r\n\r\n- Test explosions.\r\n- Test fire.\r\n- Test lava.\r\n- Test cactus.\r\n- Test Void destruction.\r\n- Test natural five-minute item despawning.\r\n- Test all storage containers.\r\n- Test hoppers and automated item transfers.\r\n- Test Ender Chests.\r\n- Verify that storage restrictions cannot be bypassed.\r\n- Verify that natural despawning does not generate destruction announcements.\r\n- Verify that Void destruction unlocks the crafting recipe again.\r\n\r\n## Persistence tests\r\n\r\n- Restart the server.\r\n- Reload the plugin.\r\n- Disconnect and reconnect players.\r\n- Verify weapon uniqueness persists.\r\n- Verify mace limits persist.\r\n- Verify individual keybind preferences persist.\r\n- Verify the server does not accidentally duplicate weapons after restarting.\r\n- Verify cooldowns and ritual states are handled correctly across restarts.\r\n\r\n---\r\n\r\n# 20. DEVELOPMENT AND DELIVERY REQUIREMENTS\r\n\r\nPlease develop this as a complete working project.\r\n\r\nI want:\r\n\r\n1. The complete Paper 1.21.11 plugin source code.\r\n2. The complete Fabric client mod source code.\r\n3. The plugin build configuration.\r\n4. The mod build configuration.\r\n5. All required dependencies.\r\n6. The compiled Paper plugin JAR.\r\n7. The compiled Fabric mod JAR.\r\n8. Installation instructions for the server.\r\n9. Installation instructions for players.\r\n10. Configuration files.\r\n11. A complete explanation of how the plugin and mod communicate.\r\n12. Testing instructions.\r\n13. A list of any remaining limitations.\r\n\r\nKeep the code organized and maintainable.\r\n\r\nDo not leave important features as TODO comments or placeholder implementations.\r\n\r\nDo not claim a feature works unless it has actually been implemented and tested.\r\n\r\nIf a requirement is technically incompatible with Paper 1.21.11 or the chosen Fabric version, explain why and propose the closest reliable implementation rather than silently removing it.\r\n\r\nThe final result must be a working Paper plugin and a separate mandatory Fabric keybind mod.\r\n\r\n---\r\n\r\n# 21. FINAL ARCHITECTURE AND RECIPE REMINDERS\r\n\r\nThese are the most important requirements and must not be overlooked:\r\n\r\n**PAPER PLUGIN:**\r\n- Handles all five God Weapons.\r\n- Handles every crafting recipe.\r\n- Handles all weapon abilities.\r\n- Handles damage and reach.\r\n- Handles the universal smash.\r\n- Handles the mace limiter.\r\n- Handles enchantment upgrades.\r\n- Handles weapon uniqueness.\r\n- Handles destruction protection.\r\n- Handles storage restrictions.\r\n- Handles announcements.\r\n- Handles the pedestal.\r\n- Handles The Cataclysm.\r\n- Handles weapon switching and validation.\r\n- Handles cooldowns and persistent data.\r\n\r\n**FABRIC MOD:**\r\n- ONLY registers customizable keybinds.\r\n- ONLY detects key presses.\r\n- ONLY sends action requests to the Paper plugin.\r\n- Does NOT implement any gameplay mechanics.\r\n\r\n**GOD MACE RECIPE:**\r\n- Requires BOTH Density V AND Breach IV.\r\n- Both enchantments are mandatory.\r\n- Their positions can be switched between the middle-middle and bottom-middle slots.\r\n- Dragon Head remains in the top-left slot.\r\n- Neither enchanted mace is optional.\r\n\r\n**GOD SPEAR RECIPE:**\r\n- Requires exactly two Netherite Spears.\r\n- Requires one Diamond.\r\n- Both Spears go vertically in the top-middle and middle-middle slots.\r\n- Diamond goes in the bottom-middle slot.\r\n\r\n**GOD SWORD RECIPE:**\r\n- Requires all three enchanted swords.\r\n- The three swords can switch positions within the center column.\r\n- Four Netherite Ingots remain in the corners.\r\n\r\n**GOD SWORD ABILITY:**\r\n- Performs a full 360-degree attack around the player.\r\n- Reaches up to 5 blocks away in every direction.\r\n- Hits valid living targets around the player, including behind and beside them.\r\n- Deals critical-hit damage without requiring a jump or fall.\r\n- Damages each target no more than once per activation.\r\n- Has a 5-minute cooldown enforced by the Paper plugin.\r\n- Works with the individual God Sword and The Cataclysm while in Sword form.\r\n- Is activated through a customizable Fabric keybind; all target checks, damage, and cooldown logic remain server-side.\r\n\r\n**THE CATACLYSM:**\r\n- Requires all five God Weapons.\r\n- Created through the pedestal ritual.\r\n- Can switch between all five weapon forms.\r\n- Retains universal spear reach and smash mechanics.\r\n\r\nPlease follow every requirement in this document. Do not omit features, change ingredient requirements, simplify the recipes, or move gameplay mechanics into the Fabric mod.\r\n\r\n**THE PAPER PLUGIN DOES ALL GAMEPLAY WORK. THE FABRIC MOD ONLY PROVIDES CUSTOMIZABLE KEYBINDS AND SENDS INPUT REQUESTS TO THE SERVER.**\n```","tokensUsed":null,"creditsCharged":0.0,"metadata":{"userId":50009,"imageUrl":"https://lh3.googleusercontent.com/a/ACg8ocIO8sENejPZaSOlWyTqDzvEohYaUKF4jDGxFqwGhVYYLQ8KhDSL=s256-c","username":"Lucas Galan"},"createdAt":"2026-11-06T17:11:07.767015","sequenceNumber":1},{"id":577567,"sessionId":"KDR-202611-YB0QOVYJ","messageType":"assistant","role":"assistant","content":"There are no projects in this workspace yet. Should I create two new projects—a Paper plugin and a Fabric 1.21.11 keybind mod—or would you like to add existing projects to the workspace?","tokensUsed":8759,"creditsCharged":1.0,"metadata":{},"createdAt":"2026-11-06T17:11:07.76781","sequenceNumber":2}]}