6adc

can you make me a minecraft java plugin, that adds items like "Dash Mace" with the gradient green fading into navy blue, that has the ability to dash the player 15-25 blocks in the direction they are looking, then add a dash sword that has the gradient of white fading to black with the same ability as the dash mace but make the dashes 15-20 blocks, then add a cobweb axe with the name "🕸️ Cobweb Axe" with the gradient grey to black then add a sword with the name "Draining Blade" that has the ability to effect the enemy with hunger 2 for 5 seconds weakness 2 for 5 seconds slowness 5 for 5 seconds, then add me a sword with the name "Zeus's Thunderblade" that has a chance to summon lightning on the enemy upon hit. Make me a dash spear that has the exact same ability as the dash mace but make the gradient red to orange make a stun axe with the name "Stun Axe" that freezes players in a state where they cannot look around they cannot interact with people and cannot move. then make a axe called "Regen Axe" that effects the holder with regeneration then make a axe called "Coffee Axe" which when held effects the holder with speed 3 and regeneration 1 with the gradient brown to black. make a cooldown INVENTORY GUI thats similar to this with the same colours as the tools make the cooldown INVENTORY GUI have matching colors this plugin is made for the 1.21.11 tricky trials update in minecraft java edition with commands like /cw INVENTORY GUI which shows all weapons and there abilities when clicked. then when ran a command like this "/cw give "user" "item". then make the dash sword into a netherite sword make the dash spear a netherite spear the cobweb axe netherite axe the stun axe netherite axe the regen axe netherite axe and the coffee axe netherite axe

Kodari AI
KodariJul 5 at 8:37 pm 1

I’ll build a complete CustomWeapons plugin with all 9 custom weapons, cooldown system, gradient names, and the inventory GUI.

CustomWeapons
A Minecraft 1.21 plugin adding 9 unique custom weapons with gradient-colored names, special abilities, and a cooldown GUI. Weapons include Dash Mace/Sword/Spear (dash abilities), Cobweb Axe, Draining Blade (debuffs), Zeus's Thunderblade (lightning), Stun Axe (freeze), Regen Axe, and Coffee Axe. Features /cw GUI viewer and /cw give command with per-player cooldowns.

Let me create all the project files.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
15 1,130
src/main/java/com/cw/customweapons/CustomWeapons.java
package com.cw.customweapons;

import com.cw.customweapons.commands.CWCommand;
import com.cw.customweapons.gui.WeaponsGUI;
import com.cw.customweapons.inventory.gui.GUIListener;
import com.cw.customweapons.inventory.gui.GUIManager;
import com.cw.customweapons.listeners.WeaponListener;
import com.cw.customweapons.utils.CooldownManager;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.plugin.java.JavaPlugin;

public class CustomWeapons extends JavaPlugin {

    private static CustomWeapons instance;
    private CooldownManager cooldownManager;
    private GUIManager guiManager;
    private WeaponsGUI weaponsGUI;
    private FileConfiguration config;

    @Override
    public void onEnable() {
        instance = this;
        saveDefaultConfig();
        this.config = getConfig();

        this.cooldownManager = new CooldownManager();
        this.guiManager = new GUIManager();
        this.weaponsGUI = new WeaponsGUI();

        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new WeaponListener(cooldownManager, config), this);

        getCommand("cw").setExecutor(new CWCommand(guiManager, weaponsGUI, cooldownManager, config));
        getCommand("cw").setTabCompleter(new CWCommand(guiManager, weaponsGUI, cooldownManager, config));

        getLogger().info("CustomWeapons enabled!");
    }

    @Override
    public void onDisable() {
        getLogger().info("CustomWeapons disabled!");
    }

    public static CustomWeapons getInstance() {
        return instance;
    }

    public CooldownManager getCooldownManager() {
        return cooldownManager;
    }

    public GUIManager getGuiManager() {
        return guiManager;
    }
}