Files
pasted-code-1794221534478.txt
Code
1 185
pasted-code-1794221534478.txt
PROJECT: MYTHIC WEAPONS
Act as a senior Minecraft Java plugin developer.
Build a complete, functional Minecraft Paper plugin named MythicWeapons.
1. TECHNICAL REQUIREMENTS
- Minecraft Java Edition
- Server: Paper
- Target compatibility: Minecraft 1.21.11 to 26.2
- Programming language: Java
- Build system: Maven
- Use officially supported Paper APIs.
- Create a modular, maintainable project.
- Do not use pseudocode or incomplete methods.
- Generate every required source file.
- Ensure the project compiles successfully.
2. CUSTOM SPEARS (8)
Create these eight original custom spear items:
1. Wooden Spear
2. Stone Spear
3. Golden Spear
4. Copper Spear
5. Iron Spear
6. Diamond Spear
7. Netherite Spear
8. Celestial Spear
Each spear must have:
- Unique name and lore
- Custom item model support
- Unique texture support
- Custom recipe
- Unique ability
- Configurable damage and cooldown
- Sound and particle effects
Special requirement:
Implement a functional LUNGE ability for spears, activated through a configurable player interaction.
3. CUSTOM MACES (5)
Create five original maces:
1. Magmaheart Mace
2. Tempest Mace
3. Glacius Mace
4. Oblivion Mace
5. Worldbreaker Mace
Each mace must have:
- Original design identity
- Unique ability
- Custom item model
- Special crafting recipe
- Cooldown
- Custom sound and particles
- Configurable attributes
Create balanced abilities with different gameplay mechanics.
4. CUSTOM FORGING SYSTEM
Create a custom Forge GUI.
Requirements:
- Players collect materials.
- Players select a weapon recipe.
- Crafting takes exactly 120 seconds.
- Show remaining crafting time.
- Save crafting progress persistently.
- Prevent duplicate claims.
- Prevent other players from stealing a pending weapon.
5. DEATH CLAIM SYSTEM
This is a very important feature.
Rules:
- When crafting finishes, the weapon becomes available for claiming.
- Only the original crafter can claim it initially.
- If another player kills the crafter before the weapon is claimed, the killer becomes eligible to claim it.
- If a mob kills the crafter, ownership remains with the original crafter.
- If the crafter disconnects, preserve the crafting and ownership records.
- Prevent duplicate claims and claim exploits.
- Save all ownership records using UUIDs.
6. WEAPON BALANCING
Add:
- Different rarity levels.
- Different cooldowns.
- Configurable damage.
- PvP and PvE configuration.
- Custom abilities.
- Admin balancing commands.
7. COMMANDS
Implement:
/mw help
/mw give
/mw reload
/mw forge
/mw weapons
/mw admin
Add appropriate permissions for players and administrators.
8. CONFIGURATION
Create:
- config.yml
- weapons.yml
- recipes.yml
- messages.yml
Allow administrators to configure:
- Damage
- Cooldowns
- Crafting time
- Weapon rarity
- Recipes
- Abilities
- Particle effects
- Sound effects
9. DATA STORAGE
Use persistent storage for:
- Crafting sessions
- Player UUIDs
- Weapon ownership
- Claim status
- Crafting timestamps
Prevent data loss after server restarts.
10. PROJECT STRUCTURE
Use clean packages:
com.mythicweapons
- MythicWeapons.java
- commands
- weapons
- abilities
- crafting
- forging
- claiming
- listeners
- storage
- gui
- utils
11. FINAL DELIVERABLES
Generate:
1. Complete Maven project.
2. All Java source files.
3. plugin.yml.
4. All configuration files.
5. Resource pack model and texture folder structure.
6. README with installation instructions.
7. Build instructions.
8. Testing instructions.
Do not claim compatibility without compiling and testing against each target Paper API.
First create the complete project architecture. Then generate the actual code file by file. Do not stop after generating examples. Fix all compilation errors before declaring the project complete.