stuckkonyou.

create this axe

1 image attached
Kodari AI
KodariApr 22 at 3:10 am 8,855 (v2)

I’ll create a custom frost axe plugin with passive and active abilities based on the image.

FrostAxePlugin
A custom weapon plugin featuring the Frost Axe - a legendary diamond axe with unique abilities. Includes a passive Resistance effect when held and an active Deep Freeze ability that freezes nearby enemies for 2 seconds with a 25-second cooldown. Features Sharpness V, Unbreaking III, Mending enchantments, custom attributes, and full unbreakability. Includes admin commands to give the axe and persistent item tracking.

Project created! The Frost Axe plugin is ready with all abilities, enchantments, and commands. Use /frostaxe give [player] to obtain the axe, right-click to activate Deep Freeze, and the passive Resistance effect applies automatically when held.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
8 601
src/main/java/com/frostaxe/FrostAxePlugin.java
package com.frostaxe;

import com.frostaxe.commands.FrostAxeCommand;
import com.frostaxe.listeners.AbilityListener;
import com.frostaxe.managers.CooldownManager;
import com.frostaxe.managers.FrostAxeManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public final class FrostAxePlugin extends JavaPlugin {

    private FrostAxeManager frostAxeManager;
    private CooldownManager cooldownManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.cooldownManager = new CooldownManager();
        this.frostAxeManager = new FrostAxeManager(this);
        
        registerListeners();
        registerCommands();
        
        getLogger().info("FrostAxePlugin has been enabled!");
    }

    @Override
    public void onDisable() {
        if (cooldownManager != null) {
            cooldownManager.clearAll();
        }
        getLogger().info("FrostAxePlugin has been disabled!");
    }

    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new AbilityListener(this), this);
    }

    private void registerCommands() {
        getCommand("frostaxe").setExecutor(new FrostAxeCommand(this));
    }

    public void reloadConfiguration() {
        reloadConfig();
        getLogger().info("Configuration reloaded!");
    }
}