M

Create a complete Minecraft Java Edition plugin and 3D resource pack system called "VoidWeapons".

==================== OVERVIEW

The system must include:

  • Custom weapons
  • Ability system (3 abilities per weapon)
  • Command system
  • Custom crafting recipe system (configurable)
  • 3D resource pack with CustomModelData

Everything should be clean, balanced, simple, and not cause lag.

==================== WEAPONS (TOTAL: 5)

  1. Loyal Blade (Lightning Theme)
  2. Fire Blade (Fire Theme)
  3. Void Hammer (Void/Debuff Theme)
  4. Dragon Blade (Dragon Theme)
  5. Lightning Boom (Pure Lightning Weapon)

Each weapon must:

  • Have a custom name
  • Use CustomModelData
  • Be linked with a 3D model in resource pack

Suggested CustomModelData:

  • Loyal Blade → 1001
  • Fire Blade → 1002
  • Void Hammer → 1003
  • Dragon Blade → 1004
  • Lightning Boom → 1005

==================== CONTROLS

  • SHIFT + LEFT CLICK → Ability 1
  • SHIFT + RIGHT CLICK → Ability 2
  • SHIFT + F → Ability 3 (use PlayerSwapHandItemsEvent)

==================== ABILITIES (BALANCED)

Loyal Blade:

  • Ability 1: Lightning Boom

Strike lightning at target location with moderate damage and small radius.

  • Ability 2: Chain Lightning

Lightning spreads to nearby enemies with reduced damage.

  • Ability 3: Lightning Burst

3 lightning strikes around the player.

Fire Blade:

  • Ability 1: Fireball

Shoot a fireball projectile.

  • Ability 2: Ground Break

Small explosion or block break area. Blocks must restore after 60 seconds.

  • Ability 3: Fire Burst

Short-duration fire effect around player.

Void Hammer:

  • Ability 1: Void Debuff

Apply Slowness II and Weakness II to nearby enemies.

  • Ability 2: Void Pull

Pull nearby enemies toward player.

  • Ability 3: Void Curse

Apply Blindness and Slowness (short duration).

Dragon Blade:

  • Ability 1: Dragon Strike

Slight extra damage or small heal.

  • Ability 2: Dragon Breath

Release dragon breath particles.

  • Ability 3: Dragon Burst

Small explosion with flame particles.

Lightning Boom (NEW WEAPON):

  • Ability 1: Thunder Strike

Strike lightning at target location (moderate damage).

  • Ability 2: Thunder Wave

Lightning hits all nearby players in small radius.

  • Ability 3: Sky Wrath

3 lightning strikes around player (balanced, not overpowered).

==================== COMMAND SYSTEM

Main command: /void

Subcommands:

  • /void start → Activate system
  • /void give <player> → Give all weapons
  • /void giveitem <player> <weapon> → Give specific weapon
  • /void recipe → Show recipes
  • /void reload → Reload config and recipes
  • /void setcooldown <seconds> → Adjust cooldown

==================== CUSTOM RECIPE SYSTEM

Each weapon must have a configurable crafting recipe in config.yml.

Example format:

weapons: loyal_blade: material: DIAMOND_SWORD name: "§bLoyal Blade" model: 1001 recipe:

  • " D "
  • " D "
  • " S "

ingredients:

D: DIAMOND S: STICK

Requirements:

  • Recipes must register automatically
  • Must work in crafting table
  • Must be editable without coding

==================== RESOURCE PACK

Provide full structure:

assets/minecraft/models/item/ assets/minecraft/textures/item/

Include base overrides:

  • diamond_sword.json
  • netherite_sword.json
  • netherite_axe.json
  • trident.json (for Lightning Boom)

Custom model files:

  • loyal_blade.json
  • fire_blade.json
  • void_hammer.json
  • dragon_blade.json
  • lightning_boom.json

Textures:

  • loyal_blade.png (blue lightning theme)
  • fire_blade.png (red/orange fire)
  • void_hammer.png (dark purple)
  • dragon_blade.png (green/dragon)
  • lightning_boom.png (bright electric blue)

==================== EXTRA FEATURES

  • Add cooldown system (prevent spam)
  • Balanced damage (not overpowered)
  • Clean messages
  • No lag-heavy effects

==================== OUTPUT REQUIRED

  • Full Java plugin code
  • plugin.yml
  • config.yml (recipes included)
  • All resource pack JSON files
  • Folder structure
  • Instructions to compile plugin (.jar)
  • Instructions to zip resource pack

Everything must be beginner-friendly, optimized, and fully working.

Kodari AI
KodariApr 23 at 5:46 pm 27,680 (v2)

I’ll create a comprehensive VoidWeapons plugin with custom abilities, configurable recipes, and a complete 3D resource pack structure.

VoidWeapons
A custom weapons plugin featuring 5 unique 3D weapons with themed abilities. Each weapon has 3 abilities triggered by shift-clicking and includes configurable crafting recipes. Features lightning strikes, fire effects, void debuffs, dragon abilities, and thunder attacks. Includes balanced cooldown system, custom model data integration, and full resource pack support with textures and models.

Now I’ll create placeholder texture descriptions (since actual PNG files can’t be created in text format):

Summary

I’ve created VoidWeapons, a comprehensive custom weapons plugin with:

✅ Plugin Features:

  • 5 unique weapons with custom names, lore, and CustomModelData

  • 15 balanced abilities (3 per weapon) triggered by Shift+Click combos

  • Configurable crafting system - all recipes editable in config.yml

  • Cooldown system with customizable delay (default 3s)

  • Full command suite - /void start/give/giveitem/recipe/reload/setcooldown

  • Permission system for all commands and abilities

  • XSeries integration for cross-version compatibility (1.16-1.20+)

✅ Resource Pack:

  • Complete folder structure with pack.mcmeta

  • Model overrides for diamond_sword, netherite_sword, netherite_axe, trident

  • Individual model files for all 5 weapons

  • Texture guide with detailed specifications

  • Professional display configurations

📁 File Structure:

Plain Text
VoidWeapons/
├── build.gradle
├── src/main/
│   ├── java/com/voidweapons/
│   │   ├── VoidWeapons.java (main)
│   │   ├── commands/VoidCommand.java
│   │   ├── weapons/ (3 files)
│   │   ├── abilities/ (7 files)
│   │   ├── recipes/RecipeManager.java
│   │   ├── listeners/AbilityListener.java
│   │   └── utils/CooldownManager.java
│   └── resources/
│       ├── plugin.yml
│       └── config.yml
├── resourcepack/
│   ├── pack.mcmeta
│   └── assets/minecraft/
│       ├── models/item/ (9 JSON files)
│       └── textures/item/ (TEXTURE_GUIDE.txt)
├── README.md
└── COMPILATION_GUIDE.md

Total: 25 code files + documentation

🎮 To Use:

  1. Compile: ./gradlew build

  2. Create textures (5 PNG files - see TEXTURE_GUIDE.txt)

  3. Zip resource pack (see COMPILATION_GUIDE.md)

  4. Install plugin in server’s plugins/ folder

  5. Deploy resource pack via server.properties or hosting

  6. Run: /void start to activate

All abilities are balanced, recipes are configurable, and the system is optimized for no lag!

M

gradlew build

Kodari can make mistakes. Review important code before using.
Files
resourcepack
src
build.gradle
COMPILATION_GUIDE.md
README.md
Code
32 2,543
src/main/java/com/voidweapons/VoidWeapons.java
package com.voidweapons;

import com.voidweapons.abilities.AbilityManager;
import com.voidweapons.commands.VoidCommand;
import com.voidweapons.listeners.AbilityListener;
import com.voidweapons.recipes.RecipeManager;
import com.voidweapons.utils.CooldownManager;
import com.voidweapons.weapons.WeaponManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class VoidWeapons extends JavaPlugin {
    private static VoidWeapons instance;
    private WeaponManager weaponManager;
    private AbilityManager abilityManager;
    private RecipeManager recipeManager;
    private CooldownManager cooldownManager;
    private boolean systemActive = false;

    @Override
    public void onEnable() {
        instance = this;
        
        saveDefaultConfig();
        
        this.weaponManager = new WeaponManager(this);
        this.abilityManager = new AbilityManager(this);
        this.cooldownManager = new CooldownManager(this);
        this.recipeManager = new RecipeManager(this);
        
        getCommand("void").setExecutor(new VoidCommand(this));
        
        Bukkit.getPluginManager().registerEvents(new AbilityListener(this), this);
        
        getLogger().info("VoidWeapons has been enabled!");
        getLogger().info("Use /void start to activate the system");
    }

    @Override
    public void onDisable() {
        if (recipeManager != null) {
            recipeManager.unregisterRecipes();
        }
        getLogger().info("VoidWeapons has been disabled!");
    }

    public void activateSystem() {
        if (!systemActive) {
            recipeManager.registerRecipes();
            systemActive = true;
        }
    }

    public boolean isSystemActive() {
        return systemActive;
    }

    public WeaponManager getWeaponManager() {
        return weaponManager;
    }

    public AbilityManager getAbilityManager() {
        return abilityManager;
    }

    public RecipeManager getRecipeManager() {
        return recipeManager;
    }

    public CooldownManager getCooldownManager() {
        return cooldownManager;
    }

    public static VoidWeapons getInstance() {
        return instance;
    }

    public void reload() {
        reloadConfig();
        cooldownManager = new CooldownManager(this);
        recipeManager.unregisterRecipes();
        recipeManager = new RecipeManager(this);
        if (systemActive) {
            recipeManager.registerRecipes();
        }
    }
}