HudsonAI-77

create different special swords with these details

📎 1 file 5,733 chars
📄
pasted-code-1771381183811.txt
txt 128 lines
▶
⚔️ Emberwrath (The Fire Sword)

Abilities:

    FIRE HELL (Shift + Right Click): For 10 seconds, you leave a trail of fire on the ground behind you. (Cooldown: 40s)

    SELF DESTRUCT (Shift + Swap Hands): After a 3-second delay, you create a focused explosion with the radius of one TNT but the force of three. You take no damage from the blast. (Cooldown: 5m)

Passives:

    Extended Burn: Enemies you ignite burn for 3 seconds longer.

    Fire Immunity: Grants you permanent Fire Resistance.
⚡ Stormpiercer (The Lightning Sword)

Abilities:

    SUMMON THUNDER (Shift + Right Click): Calls down a single, devastating bolt of lightning that ignores all armor. It will strike the player you are looking at within 15 blocks, or the nearest player if you are not targeting anyone. (Cooldown: 30s)

Passives:

    Weather-Fueled: Your attacks deal 30% more damage in rain and 50% more damage in thunderstorms.

    Stunning Blow: Your attacks have a 10% chance to stun the target with extreme Slowness and Blindness for 1 second.
❄️ Frostveil (The Ice Sword)

Abilities:

    ICE CONE (Shift + Right Click): Creates a 5x5 cone of temporary frosted ice on the ground in front of you. (Cooldown: 1m)

    FLASH FREEZE (Shift + Swap Hands): Instantly casts Slowness II on all enemies within a 5-block radius for 5 seconds. (Cooldown: 40s)

Passives:

    Winter's Grace: Grants you Speed II while on ice and Speed I while underwater.
🌑 Duskreaver (The Shadow Sword)

Abilities:

    SHADOW VEIL (Shift + Right Click): You become completely invisible for 10 seconds. (Cooldown: 50s)

    SHADOW STEP (Shift + Swap Hands): Instantly teleport 5 blocks forward in the direction you are looking. (Cooldown: 30s)

Passives:

    Disorienting Strikes: Your attacks have a 10% chance to inflict Blindness for 2 seconds.

    Surge of Power: Your attacks have a 10% chance to grant you Strength I for 2 seconds.
🌟 Luminblade (The Light Sword)

Abilities:

    SOLAR FLARE (Shift + Right Click): Your next single melee attack within 10 seconds will deal double (2x) damage. (Cooldown: 1m)

    HOLY GUARD (Shift + Swap Hands): You gain Resistance I for 10 seconds. (Cooldown: 30s)

Passives:

    Dimension-Powered: Your attacks deal 40% more damage in The End dimension.

    Day-Powered: Your attacks deal 20% more damage during the daytime.
🐲 Dragon Blade (The Ender Blade)

Abilities:

    DRAGON BREATH (Shift + Right Click): You launch a projectile of dragon energy that erupts into a lingering 10-second pool on impact. Enemies in the pool are afflicted with Slowness II, Weakness I, and Blindness I. You gain Speed II and Strength I while standing in your own pool. (Cooldown: 30s)

    PLANAR SHIFT (Shift + Swap Hands): Instantly swap positions with a player you are looking at within a 15-block radius. The swapped player is afflicted with Wither I, Blindness I, and Slowness II for 3 seconds. (Cooldown: 1m)

Passives:

    Debuff Immunity: You are immune to Slowness, Weakness, Poison, Wither, and Blindness.

    Dragon Scales: You have a 10% chance to completely block any incoming hit.
🦴 Bone Axe (The Necromancer's Cleaver)

Abilities:

    AGONIZING GAZE (Shift + Right Click): Stuns a single target you are looking at within 20 blocks, inflicting them with Blindness and total immobility (Slowness 255) for 3 seconds. (Cooldown: 45s)

    WITHERING HARVEST (Shift + Swap Hands): Unleashes a 7-block shockwave, inflicting Wither II for 5 seconds on all enemies hit and healing you for 1 heart per enemy. (Cooldown: 1m)

Passives:

    Commander of the Dead: Deals 20% extra damage to all Undead monsters.

    Necrotic Touch: Your attacks have a 15% chance to inflict Wither I for 2 seconds.
💻 Glitch Sword (The Unstable Blade)

Abilities:

    PHASE WALK (Shift + Right Click): You enter Spectator Mode for 3 seconds, allowing you to pass through walls. You will be returned to your starting position when the effect ends. (Cooldown: 1m)

    UNSTABLE TELEPORT (Shift + Swap Hands): Instantly teleport behind a random enemy within a 20-block radius. (Cooldown: 40s)

Passives:

    Data Corruption: Your attacks have a 5% chance to inflict a random powerful debuff (Slowness II, Weakness II, or Nausea) for 5 seconds.

    Phase Shift: You have a 10% chance to teleport a short, random distance when hit.
🌌 Galactic Sword (The Starforged Edge)

Abilities:

    GRAVITY WELL (Shift + Right Click): Creates a well at your target location (up to 25 blocks away) that forcefully pulls all enemies within a 10-block radius to its center for 3 seconds. (Cooldown: 1m)

    STARDUST STRIKE (Shift + Swap Hands): Empowers your blade, causing your next melee attack within 10 seconds to deal 1.5x damage. (Cooldown: 25s)

Passives:

    Star-Walker: You are completely immune to the Levitation effect.

    Gravitational Slam: Your attacks deal 30% extra damage to airborne targets.
👑 King's Blade (The Blade of Sovereignty)

Abilities:

    OVERCHARGE (Shift + Right Click): Channels immense power, causing your next melee attack within 10 seconds to deal a devastating 3x damage. (Cooldown: 1m 10s)

    EXECUTE (Shift + Swap Hands): Lunge at a foe within 5 blocks. If the target is below 25% health, they are instantly killed with True Damage. Otherwise, it deals a normal attack. (Cooldown: 2m)

Passives:

    Rebirth: Once per hour, an attack that would be fatal instead teleports you 20 blocks away and grants you a powerful surge of life-saving buffs (Regeneration, Speed, Absorption, Strength).

    Unyielding Will: Once every 5 minutes, when your health drops below 3 hearts, you gain a burst of Regeneration II and Resistance II for 4 seconds.

    King's Riches: Mobs you kill have a 10% chance to drop a Gold Ingot.
Kodari AI
KodariFeb 18 at 2:24 am 31,502 (v2)

I’ll create a comprehensive special swords plugin with all 10 unique swords and their abilities.

SpecialSwords
An advanced combat plugin featuring 10 unique legendary swords, each with distinct active abilities and powerful passives. Includes Emberwrath (fire), Stormpiercer (lightning), Frostveil (ice), Duskreaver (shadow), Luminblade (light), Dragon Blade (ender), Bone Axe (necromancer), Glitch Sword (unstable), Galactic Sword (starforged), and King's Blade (sovereignty). Each sword offers two activated abilities triggered by shift-clicking and shift-swapping, plus multiple passive effects.

Complete special swords plugin created with 10 unique legendary swords, each featuring two activated abilities (shift + right click, shift + swap hands) and multiple passive effects, including proper cooldown management, XSeries cross-version compatibility, and full configuration support.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
24 2,231
src/main/java/com/example/specialswords/SpecialSwords.java
package com.example.specialswords;

import com.example.specialswords.commands.SwordCommand;
import com.example.specialswords.listeners.SwordCombatListener;
import com.example.specialswords.listeners.SwordInteractListener;
import com.example.specialswords.listeners.SwordPassiveListener;
import com.example.specialswords.managers.ConfigManager;
import com.example.specialswords.managers.CooldownManager;
import com.example.specialswords.managers.SwordManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class SpecialSwords extends JavaPlugin {
    
    private ConfigManager configManager;
    private CooldownManager cooldownManager;
    private SwordManager swordManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.cooldownManager = new CooldownManager();
        this.swordManager = new SwordManager(this);
        
        registerListeners();
        registerCommands();
        
        getLogger().info("SpecialSwords has been enabled!");
    }
    
    @Override
    public void onDisable() {
        getLogger().info("SpecialSwords has been disabled!");
    }
    
    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new SwordInteractListener(this), this);
        getServer().getPluginManager().registerEvents(new SwordCombatListener(this), this);
        getServer().getPluginManager().registerEvents(new SwordPassiveListener(this), this);
    }
    
    private void registerCommands() {
        getCommand("specialswords").setExecutor(new SwordCommand(this));
    }
}