📄
pasted-code-1788877988472.txt
txt
937 lines
▶
You are an expert Minecraft Paper plugin developer. Your task is to create a **complete, production-ready, compilable Minecraft Paper plugin project as a ZIP file** based on the specification below.
**Do NOT merely explain the implementation. Do NOT provide isolated code snippets, pseudocode, incomplete classes, placeholders, TODOs, fake implementations, or instructions telling me to manually create files. You must actually generate the entire project with all required Java source files, resource files, build files, configuration, and documentation, then compile and verify it before delivering the ZIP.**
# 1. Plugin Overview
Plugin name: **IceCordWeapons**
The plugin is a custom-weapon progression/combat plugin for a Minecraft SMP.
The plugin must add **5 completely custom weapons**. Each weapon must have:
* A unique name
* A unique visual identity
* A unique material/base item
* Custom display name
* Custom lore
* CustomModelData support
* Two unique abilities
* A passive-style ability triggered by **right-click**
* An active ability triggered by **Shift + right-click**
* Individual cooldowns
* Ability effects, sounds, particles, damage/knockback mechanics where appropriate
* Proper custom-item identification
* Crafting through **rituals**, rather than normal crafting-table recipes
Two of the five weapons MUST be:
1. A **Mace**
2. A **Scythe**
The remaining three weapons should be professionally designed original weapons chosen by you. Use different weapon types so the five weapons feel substantially different.
Recommended weapon lineup:
1. **Abyssal Mace** — Mace
2. **Graveborn Scythe** — Scythe
3. **Inferno Blade** — Sword
4. **Tempest Bow** — Bow
5. **Frostfang Dagger** — Sword/Dagger-style weapon
You may use these names or make equally strong original names, but the Mace and Scythe must remain clearly identifiable as separate custom weapons.
Do not copy weapons, names, textures, code, or mechanics from another plugin.
# 2. Minecraft/Paper Compatibility
Target:
* **Paper 1.21.11**
* **Java 21 or higher**
* Modern Paper/Bukkit APIs compatible with Paper 1.21.11
* Avoid deprecated APIs wherever possible.
* Do not use APIs belonging to older Minecraft versions when a modern equivalent exists.
* The plugin must run correctly on a real Paper 1.21.11 server.
Use a modern Gradle or Maven build system. Prefer Gradle if there is no strong reason to use Maven.
The final project must compile successfully using Java 21.
# 3. Complete Project Structure
Create a professional project structure similar to:
* `build.gradle`
* `settings.gradle`
* `gradlew`
* `gradlew.bat`
* `gradle/wrapper/...`
* `src/main/java/...`
* `src/main/resources/plugin.yml`
* `src/main/resources/config.yml`
* `src/main/resources/messages.yml` if useful
* `README.md`
Organize Java packages logically, for example:
* main plugin class
* command package
* weapon package
* ability package
* ritual package
* listener package
* manager/service package
* cooldown package
* utility package
* configuration package
* GUI package if a GUI is implemented
Do not put the entire plugin into one enormous Java class.
# 4. plugin.yml
Create a complete and valid `plugin.yml`.
It must contain:
* Plugin name: `IceCordWeapons`
* Version
* Main class
* API version appropriate for Paper 1.21.11
* Commands
* Permissions
* Proper command descriptions
* Usage messages
* Any genuinely required dependencies or soft-dependencies
The main class and plugin metadata must exactly match the generated source files.
# 5. Weapons
Create exactly **5 custom weapons**.
Each weapon must have two abilities.
## Weapon 1 — Abyssal Mace
Base item: modern Minecraft Mace.
Theme: Void/Abyss.
### Ability 1 — Abyssal Impact
Trigger:
* Right-click while holding the Abyssal Mace.
Behavior:
* The player receives a short controlled burst of power.
* If the player performs a valid mace-style attack/fall attack, increase the impact effect.
* Apply additional damage based on the configured value.
* Apply controlled knockback to nearby enemies.
* Spawn dark/void-themed particles.
* Play a suitable sound.
* Do not cause unreasonable server-wide effects.
Cooldown must be configurable.
### Ability 2 — Void Collapse
Trigger:
* Shift + right-click.
Behavior:
* Create a short-range void-themed area around the player.
* Pull or knock nearby hostile players/mobs toward the center.
* Apply configured damage.
* Apply a brief debuff such as Slowness.
* Spawn particles and sound effects.
* Prevent the ability from affecting the caster.
* Respect PvP and world configuration.
Use safe radius and damage defaults.
# 6. Weapon 2 — Graveborn Scythe
Base item: suitable modern item representing a scythe.
Theme: Death/Grave.
### Ability 1 — Soul Harvest
Trigger:
* Right-click.
Behavior:
* Perform a short-range arc attack.
* Detect valid enemies in front of the player.
* Damage affected targets.
* Display a visible scythe/soul-themed particle effect.
* Play an appropriate sound.
* Prevent hitting the same target multiple times during one activation.
### Ability 2 — Reaper's Dominion
Trigger:
* Shift + right-click.
Behavior:
* Create a temporary area around the player.
* Enemies inside the area receive a configurable debuff and damage over time or controlled periodic damage.
* The caster should receive a small beneficial effect such as temporary regeneration or absorption, if balanced.
* Spawn dark soul particles.
* Play an appropriate sound.
* Clean up the area/task correctly when the duration ends.
Do not create a permanent repeating task for each player. Use an efficient task-management approach.
# 7. Weapon 3 — Inferno Blade
Base item: Netherite Sword.
Theme: Fire/Inferno.
### Ability 1 — Flame Rush
Trigger:
* Right-click.
Behavior:
* Propel the player forward a short distance.
* Leave a temporary visual flame trail.
* Damage enemies contacted by the ability.
* Apply a brief fire effect if configured.
* Prevent abuse through cooldown and movement checks.
* Do not allow the ability to bypass configured world/PvP restrictions.
### Ability 2 — Inferno Burst
Trigger:
* Shift + right-click.
Behavior:
* Create a controlled fire explosion around the player.
* Damage nearby enemies.
* Apply knockback.
* Use particles and sound.
* Do not destroy blocks by default.
* Do not grief terrain.
* Allow damage/radius/knockback/fire duration to be configured.
# 8. Weapon 4 — Tempest Bow
Base item: Bow.
Theme: Storm/Lightning.
### Ability 1 — Lightning Shot
Trigger:
* Right-click.
Behavior:
* Temporarily empower the next arrow fired by the player.
* The next valid arrow hit calls a controlled lightning effect on the target location.
* Apply additional configurable damage.
* Display storm particles.
* Play thunder/lightning-related sound.
* Consume the empowerment after one successful shot.
* Automatically expire the empowerment after a configurable timeout.
### Ability 2 — Storm Call
Trigger:
* Shift + right-click.
Behavior:
* Create a storm-themed area effect.
* Strike selected nearby enemies with controlled lightning effects.
* Apply damage and a short debuff.
* Do not create uncontrolled chain lightning.
* Respect PvP/world restrictions.
* Use cooldown protection.
# 9. Weapon 5 — Frostfang Dagger
Base item: Netherite Sword or another suitable vanilla item.
Theme: Ice/Frost.
The item should visually and mechanically feel different from the Inferno Blade.
### Ability 1 — Frost Step
Trigger:
* Right-click.
Behavior:
* Give the player a short forward dash.
* Spawn snow/ice particles.
* Briefly slow enemies near the player's path.
* Prevent excessive movement or teleportation abuse.
* Use a configurable cooldown.
### Ability 2 — Frozen Prison
Trigger:
* Shift + right-click.
Behavior:
* Select enemies within a configurable range.
* Apply Slowness and/or a short immobilizing effect using safe vanilla mechanics.
* Deal controlled damage.
* Spawn ice particles around affected targets.
* Play a suitable sound.
* Automatically remove temporary effects after the configured duration.
# 10. Ability Trigger System
Every weapon follows this exact input system:
### Right-click
Activates the weapon's first ability.
### Shift + right-click
Activates the weapon's second ability.
The plugin must distinguish:
* Right-click air
* Right-click block
* Main-hand interaction
* Off-hand interaction
* Sneaking vs non-sneaking
* Correct custom weapon vs normal item
Avoid activating an ability twice because of duplicated interaction events or off-hand processing.
Do not interfere unnecessarily with normal Minecraft interactions.
# 11. Cooldown System
Every ability must have an independent cooldown.
Cooldowns must:
* Be configurable.
* Be tracked per player and ability.
* Prevent activation while active.
* Show useful player feedback.
* Never cause negative cooldown values.
* Clean up player data when no longer needed.
Example message:
`&cAbility is on cooldown for &f3.2s&c.`
Use a reliable time-based cooldown implementation rather than creating unnecessary repeating tasks.
# 12. Ritual Crafting System
Weapons must **NOT** be crafted through normal crafting-table recipes.
Instead, each weapon is obtained through a ritual.
Create a professional ritual system using a reasonable vanilla-compatible mechanic.
Default design:
* The player places specific required ingredients in a configured ritual structure.
* The player activates the ritual using a specific catalyst.
* The plugin detects the ritual structure.
* The plugin verifies all required ingredients.
* The plugin consumes the required ingredients.
* The ritual produces the corresponding custom weapon.
* The ritual displays particles, sounds, and messages.
* The ritual should have a short configurable activation sequence.
* Rituals must not accidentally activate repeatedly.
Choose a sensible ritual structure that is possible to build in vanilla Minecraft.
Each of the five weapons should have a different recipe/ingredient combination.
Make ritual requirements configurable in `config.yml`.
Example conceptual rituals:
### Abyssal Mace
Rare Nether/End materials + Nether Star-style catalyst.
### Graveborn Scythe
Soul/Nether materials + rare catalyst.
### Inferno Blade
Nether/fire materials + blaze-related materials.
### Tempest Bow
Storm/End materials + rare projectile-related materials.
### Frostfang Dagger
Ice/diamond/Nether-related materials + rare catalyst.
Do not require external plugins for rituals.
# 13. Custom Item Identification
Never identify custom weapons only by their display name.
Use a persistent identifier such as:
* `PersistentDataContainer`
* Namespaced keys
Each weapon should have its own internal ID, for example:
* `abyssal_mace`
* `graveborn_scythe`
* `inferno_blade`
* `tempest_bow`
* `frostfang_dagger`
All ability checks must use the persistent custom-item ID.
Changing the item's visible name must not break identification.
# 14. Item Design
Every weapon must include:
* Unique display name
* Rarity-style lore
* Ability names
* Ability descriptions
* Cooldown information
* CustomModelData support
* Appropriate enchantments where useful
* Unbreakable option configurable
* Appropriate item attributes
* PersistentDataContainer identification
Do not make the weapons automatically overpowered through excessive enchantments.
All values should be configurable.
If CustomModelData is used, do not require external resource-pack files unless explicitly provided. The plugin must still function without a resource pack.
# 15. Commands
Implement useful administrative commands.
Primary command:
`/iceweapons`
Subcommands:
`/iceweapons give [amount]`
`/iceweapons list`
`/iceweapons reload`
`/iceweapons ritual `
`/iceweapons help`
Requirements:
* Exact argument validation
* Tab completion
* Player-name completion
* Weapon-name completion
* Permission checks
* Console compatibility where appropriate
* Clear success/error messages
* Invalid argument handling
* Missing argument handling
`give` must validate:
* Target player
* Weapon ID
* Amount
* Maximum amount
Do not allow invalid weapon IDs to generate broken items.
`reload` must safely reload configuration without breaking active runtime systems.
# 16. Permissions
Create clear permission nodes.
At minimum:
`icecordweapons.admin`
Allows administrative commands.
`icecordweapons.give`
Allows giving custom weapons.
`icecordweapons.reload`
Allows configuration reload.
`icecordweapons.ritual`
Allows administrative ritual control.
`icecordweapons.use`
Controls weapon ability usage if permission-based usage is enabled.
Document every permission in `plugin.yml` and README.
# 17. Configuration
Create a comprehensive `config.yml`.
Make reasonable gameplay values configurable rather than hardcoding them.
Include:
* Weapon enabled/disabled toggles
* Ability cooldowns
* Damage
* Radius
* Range
* Knockback
* Duration
* Particle settings
* Sound settings
* Fire duration
* CustomModelData
* Item attributes
* Ritual ingredients
* Ritual locations/requirements
* PvP settings
* Mob targeting
* World restrictions
* Ability messages
* Cooldown messages
* Error messages
* Debug mode
* GUI settings if applicable
Example structure:
```yaml
weapons:
abyssal_mace:
enabled: true
custom-model-data: 1001
abilities:
abyssal-impact:
cooldown: 20
damage: 4.0
void-collapse:
cooldown: 45
radius: 6.0
damage: 6.0
```
Use sensible defaults.
# 18. PvP and Target Protection
Implement configurable combat restrictions.
Allow configuration for:
* Player vs player damage
* Player vs mob damage
* Friendly/self damage
* World blacklist
* World whitelist if desired
The caster must never accidentally damage themselves unless explicitly configured.
Do not allow abilities to grief protected areas.
Do not break blocks unless specifically configured, and default all destructive behavior to disabled.
# 19. Events
Use the appropriate modern Paper/Bukkit events.
Handle interaction events for abilities and rituals.
Handle damage events where required.
Handle projectile events for the Tempest Bow.
Handle player quit events to clean up cooldowns and temporary data.
Handle plugin disable/reload cleanup.
Handle inventory events if a ritual GUI or custom inventory is implemented.
Handle entity targeting safely.
Do not register unnecessary listeners.
Prevent event duplication and off-hand double activation.
# 20. Temporary Effects and Tasks
Any temporary ability effect must be safely managed.
Requirements:
* No runaway repeating tasks.
* No task leaks.
* Cancel tasks when their effect ends.
* Clean up tasks when plugin disables.
* Clean up player-specific data when appropriate.
* Do not create one permanent scheduler task per player.
* Avoid expensive scans every tick.
* Use efficient collection structures.
# 21. Performance
The plugin must be suitable for a real multiplayer SMP.
Requirements:
* Avoid unnecessary repeating tasks.
* Avoid expensive operations on the main thread.
* Avoid unnecessary entity/world scans.
* Use reasonable targeting radii.
* Do not create large particle effects every tick.
* Do not create excessive temporary objects.
* Clean up collections.
* Avoid memory leaks.
* Do not store unnecessary player objects permanently.
* Use UUIDs for persistent player references where needed.
* Keep ability calculations lightweight.
Do not use asynchronous tasks for Bukkit/Paper API operations that must occur on the main thread.
# 22. Error Handling
Gracefully handle:
* Invalid commands
* Missing arguments
* Invalid players
* Invalid weapon IDs
* Invalid amounts
* Missing configuration values
* Invalid ritual structures
* Missing ingredients
* Invalid player states
* Player disconnects
* Plugin reloads
* Server restarts
* Missing dependencies
* Unexpected null values
* Invalid world/location data
* Item metadata problems
The plugin must fail safely rather than crashing the server.
# 23. Messages
Use configurable messages.
Support Minecraft color formatting appropriately.
Messages should be professional and consistent.
Examples:
* Weapon received
* Ability activated
* Ability unavailable
* Cooldown remaining
* Ritual started
* Ritual failed
* Missing ingredients
* Invalid ritual
* No permission
* Player not found
* Reload successful
Do not hardcode every message into Java.
# 24. Optional GUI
A GUI is not required unless it materially improves the plugin.
If you implement a weapon menu, it should display:
* All five weapons
* Weapon names
* Rarity
* Abilities
* Crafting/ritual information
Protect the GUI from:
* Item theft
* Item placement
* Item movement
* Shift-click exploits
* Number-key exploits
* Double-click collection exploits
If no GUI is necessary, do not add one simply to increase complexity.
# 25. Persistence
The plugin does not need a database unless persistent player progression is actually required.
Cooldowns should generally not need to survive a full server restart.
If persistent information is introduced, use a safe storage mechanism such as YAML or another lightweight system.
Do not introduce SQL or external databases unnecessarily.
# 26. Architecture
Use clean architecture.
Create separate classes for major responsibilities.
For example:
* `IceCordWeapons`
* `WeaponManager`
* `AbilityManager`
* `CooldownManager`
* `RitualManager`
* `CustomItemManager`
* `MessageManager`
* `ConfigManager`
* `WeaponListener`
* `RitualListener`
* `WeaponCommand`
* `WeaponTabCompleter`
* Individual weapon/ability classes where appropriate
Do not blindly follow these exact class names if a better architecture is appropriate, but maintain clear separation of responsibilities.
# 27. Code Quality
The generated code must be production quality.
Requirements:
* Clean architecture
* Meaningful names
* Appropriate access modifiers
* No unnecessary duplication
* Proper exception handling
* Null safety
* Useful comments for complex mechanics
* No placeholder methods
* No TODOs for required features
* No pseudocode
* No fake APIs
* No nonexistent classes
* No missing imports
* No unresolved dependencies
* No dead code
* No hardcoded secrets
* No unnecessary external libraries
# 28. Dependencies
Prefer Paper/Bukkit APIs.
Do not require:
* WorldGuard
* PlaceholderAPI
* ProtocolLib
* ItemsAdder
* Oraxen
* MythicMobs
* Vault
* Any resource-pack plugin
unless there is a genuine technical reason.
The plugin must work independently on Paper 1.21.11.
If an external library is genuinely required, explicitly include it in the build configuration and make sure it is available at runtime.
# 29. Build System
The generated project must have a valid build configuration.
It must:
* Use Java 21
* Use the correct Paper API dependency for Paper 1.21.11
* Resolve all dependencies
* Compile all source files
* Produce the plugin JAR
* Have correct resource processing
* Have correct plugin metadata
Do not assume files exist that you did not create.
# 30. README
Create a professional README containing:
* Plugin overview
* Features
* Five weapons
* Ability descriptions
* Ritual crafting explanation
* Commands
* Permissions
* Configuration
* Installation
* Build instructions
* Compatibility
* Troubleshooting
* Important gameplay notes
# 31. Final ZIP Structure
The final deliverable must be a clean ZIP containing the complete project.
Include:
* All Java source files
* `plugin.yml`
* `config.yml`
* Build files
* Gradle/Maven wrapper if applicable
* README
* Required resources
Do NOT include:
* `.idea`
* `.vscode`
* `build/`
* `target/`
* compiled junk
* temporary files
* logs
* cache folders
* unrelated files
* personal machine paths
The ZIP must be organized as a professional Minecraft Paper plugin source project.
# 32. Compilation Verification
Before delivering the ZIP:
1. Generate the complete project.
2. Inspect all source files.
3. Verify imports.
4. Verify package declarations.
5. Verify class references.
6. Verify plugin.yml.
7. Verify command registration.
8. Verify permissions.
9. Verify configuration loading.
10. Build the project.
11. If compilation fails, diagnose the error.
12. Fix the source/build configuration.
13. Build again.
14. Repeat until compilation succeeds.
15. Verify the resulting plugin JAR exists.
16. Verify the ZIP contains the correct project structure.
Do not tell me that I need to fix compilation errors myself.
# 33. Final Verification Checklist
Before delivery, verify all of the following:
* [ ] Exactly five custom weapons exist.
* [ ] One is a Mace.
* [ ] One is a Scythe.
* [ ] Every weapon has exactly two abilities.
* [ ] Right-click activates ability 1.
* [ ] Shift + right-click activates ability 2.
* [ ] Abilities have independent cooldowns.
* [ ] Custom items use persistent identifiers.
* [ ] Weapons are obtained through rituals.
* [ ] Rituals do not require an external plugin.
* [ ] Commands are registered.
* [ ] Tab completion works.
* [ ] Permissions are registered.
* [ ] Configuration loads correctly.
* [ ] Messages are configurable.
* [ ] PvP restrictions work.
* [ ] World restrictions work.
* [ ] Off-hand interaction does not duplicate abilities.
* [ ] Temporary tasks are cleaned up.
* [ ] Player data is cleaned up.
* [ ] Plugin disable cleanup works.
* [ ] No unnecessary dependencies exist.
* [ ] Paper 1.21.11 compatibility is respected.
* [ ] Java 21 compatibility is respected.
* [ ] Project compiles successfully.
* [ ] Plugin JAR is successfully produced.
* [ ] ZIP contains the complete source project.
* [ ] No placeholder code remains.
* [ ] No TODOs remain for required functionality.
* [ ] No pseudocode remains.
* [ ] No fake implementations remain.
# 34. Important Final Instructions
Do **not** merely explain how to make IceCordWeapons.
Do **not** give me isolated snippets.
Do **not** leave incomplete sections.
Do **not** use pseudocode.
Do **not** create fake classes or pretend APIs exist.
Do **not** omit required files.
Do **not** assume I will manually create missing files.
Do **not** require me to repair compilation errors.
Do **not** simplify the project into a demonstration or prototype.
Create the **complete, internally consistent, professional Minecraft Paper 1.21.11 plugin project**.
Make sensible professional decisions for details that were not explicitly specified, while keeping the gameplay balanced and configurable.
The final result must be a **fully organized ZIP project that can be opened, built, and maintained by a Minecraft plugin developer**.
Compile and verify the project before delivery, fix every compilation error you encounter, and only then provide the finished ZIP.
I’ll create the complete IceCordWeapons Paper project with a modular weapon/ability system, configurable rituals, commands, resources, build files, and documentation.
Core project: added the Paper/Gradle project, metadata, configuration, messages, and README.
Weapon system: added five persistent-ID weapons with independent abilities, cooldowns, targeting restrictions, and cleanup.
Ritual system: added configurable beacon altars, ingredients, catalysts, activation effects, and administrative control.
Administration: added
/iceweaponscommands, permissions, validation, and tab completion.Created the complete IceCordWeapons project with:
Paper 1.21.11 / Java 21 Gradle configuration
Five custom weapons:
Abyssal Mace
Graveborn Scythe
Inferno Blade
Tempest Bow
Frostfang Dagger
PersistentDataContainer item identification
Two abilities per weapon with independent cooldowns
Right-click and Shift + right-click activation
PvP, mob, world, particle, sound, and damage configuration
Configurable beacon-based ritual crafting
/iceweaponscommands with permissions and tab completionPlayer quit and plugin shutdown cleanup
plugin.yml,config.yml,messages.yml, and README documentationGradle build files and launcher scripts
⚔️ ICECORDWEAPONS — LEGENDARY WEAPON POWERS
1. ABYSSAL MACE
Theme: Void / Gravity
🖱️ Right Click — GRAVITY CRUSH
* Pulls all enemies within 8 blocks toward the player. * Deals heavy AoE damage. * Briefly prevents affected enemies from jumping. * Creates dark/void particles around the impact area. * Plays a powerful gravity/void sound. * Cooldown: 18 seconds
🖱️ Shift + Right Click — BLACK HOLE
* Creates a powerful Black Hole at the targeted location. * Lasts for 5 seconds. * Continuously pulls nearby players and mobs toward the center. * Can pull nearby projectiles toward the center. * After 5 seconds, the Black Hole collapses. * The collapse deals massive AoE damage and knockback. * Does not destroy blocks by default. * Cooldown: 60 seconds
---
2. GRAVEBORN SCYTHE
Theme: Death / Souls
🖱️ Right Click — SOUL REND
* Performs a powerful 180° soul slash in front of the player. * Damages all enemies caught in the slash. * Partially bypasses armor. * A portion of the damage dealt heals the wielder. * Creates dark soul particles. * Plays a deep scythe/slash sound. * Cooldown: 14 seconds
🖱️ Shift + Right Click — REAPER'S ECLIPSE
* Creates a deadly Death Domain around the player. * Domain lasts for 6 seconds. * Enemies inside are heavily slowed. * Applies Blindness for short intervals. * Enemies continuously take controlled damage. * The wielder receives temporary Absorption hearts. * Creates floating soul particles throughout the domain. * Cooldown: 55 seconds
---
3. INFERNO BLADE
Theme: Fire / Phoenix
🖱️ Right Click — PHOENIX DASH
* Launches the player forward at high speed. * Leaves a trail of flames behind. * Enemies hit by the dash take damage. * Hit enemies are briefly launched upward. * Applies a short fire effect. * Creates Phoenix/flame particles. * Cooldown: 12 seconds
🖱️ Shift + Right Click — SUPERNOVA
* The player charges the ability for approximately 1 second. * A huge fiery explosion is released around the player. * Deals heavy AoE damage. * Launches nearby enemies away. * Creates an enormous fire/ember particle effect. * Plays a powerful explosion sound. * Does not destroy blocks. * Cooldown: 50 seconds
---
4. TEMPEST BOW
Theme: Storm / Lightning
🖱️ Right Click — THUNDER MARK
* Empowers the player's next arrow. * The next successful arrow hit calls down lightning. * The lightning deals additional damage. * The lightning effect can chain to up to 3 nearby enemies. * Creates electric/storm particles. * The empowerment disappears after one successful hit. * If unused, the empowerment expires after a configurable amount of time. * Cooldown: 16 seconds
🖱️ Shift + Right Click — STORM JUDGEMENT
* Summons a powerful storm over the targeted area. * Lasts for 5 seconds. * Lightning repeatedly strikes within the area. * Nearby enemies are slowed. * Each lightning strike deals controlled damage. * Creates storm clouds, lightning and electrical particles. * Does not cause uncontrolled environmental fires. * Cooldown: 65 seconds
---
5. FROSTFANG DAGGER
Theme: Ice / Frost / Assassin
🖱️ Right Click — FROZEN BLINK
* Instantly dashes/teleports the player approximately 6 blocks forward. * Leaves an icy particle trail. * Enemies crossed during the blink are affected. * Applies Freeze and Weakness for a short duration. * Creates a burst of ice particles at the starting and ending locations. * Cooldown: 10 seconds
🖱️ Shift + Right Click — ABSOLUTE ZERO
* Releases an enormous burst of freezing energy. * Affects enemies within approximately 7 blocks. * Applies a powerful freezing effect. * Prevents affected enemies from sprinting temporarily. * Deals burst damage. * Creates an intense ice-crystal particle effect. * Plays a powerful freezing sound. * Cooldown: 45 seconds
👑 POWER RANKING
1. Abyssal Mace — S+
* Ultimate: Black Hole
2. Graveborn Scythe — S
* Ultimate: Reaper's Eclipse
3. Tempest Bow — S
* Ultimate: Storm Judgement
4. Inferno Blade — A+
* Ultimate: Supernova
5. Frostfang Dagger — A
* Ultimate: Absolute Zero
change powers of all weapons to these powers
Locate the weapon item detection, ability handlers, cooldowns, and projectile/entity listeners.
Replace the five weapons’ primary and shift abilities with the specified effects and cooldowns.
Update any required configuration/registration and verify all referenced APIs/classes exist.
The existing service centralizes all five weapons, so the replacement will stay in AbilityService with config-driven values. The old falling-mace bonus will be removed so the mace’s normal right-click power is the only Gravity Crush behavior.
Replaced all five weapon abilities in
AbilityService:Abyssal Mace: Gravity Crush / Black Hole
Graveborn Scythe: Soul Rend / Reaper’s Eclipse
Inferno Blade: Phoenix Dash / Supernova
Tempest Bow: Thunder Mark / Storm Judgement
Frostfang Dagger: Frozen Blink / Absolute Zero
Added the requested cooldowns:
18s / 60s
14s / 55s
12s / 50s
16s / 65s
10s / 45s
Added configurable damage, ranges, particles, sounds, durations, knockback, freezing, chaining lightning, black-hole pulling, delayed Supernova detonation, and temporary domain effects.
Updated weapon lore and ability configuration in
config.yml.Removed the old Abyssal Mace falling-strike behavior so its right-click ability is now Gravity Crush.
package com.icecord.weapons;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public final class IceCordWeapons extends JavaPlugin {
private ConfigManager configManager;
private MessageManager messageManager;
private CooldownManager cooldownManager;
private CustomItemManager itemManager;
private AbilityService abilityService;
private RitualManager ritualManager;
@Override
public void onEnable() {
saveDefaultConfig();
saveResource("messages.yml", false);
configManager = new ConfigManager(this);
messageManager = new MessageManager(this);
cooldownManager = new CooldownManager();
itemManager = new CustomItemManager(this, configManager);
abilityService = new AbilityService(this, configManager, messageManager, cooldownManager, itemManager);
ritualManager = new RitualManager(this, configManager, messageManager, itemManager);
Bukkit.getPluginManager().registerEvents(abilityService, this);
Bukkit.getPluginManager().registerEvents(ritualManager, this);
IceWeaponsCommand command = new IceWeaponsCommand(this, messageManager, itemManager, ritualManager);
if (getCommand("iceweapons") != null) {
getCommand("iceweapons").setExecutor(command);
getCommand("iceweapons").setTabCompleter(command);
}
getLogger().info("IceCordWeapons enabled with five ritual-crafted weapons.");
}
public void reloadEverything() {
configManager.reload();
messageManager.reload();
}
@Override
public void onDisable() {
if (abilityService != null) abilityService.shutdown();
if (ritualManager != null) ritualManager.shutdown();
if (cooldownManager != null) cooldownManager.clearAll();
}
}