shakingatom

A fast, lightweight katana that deals slightly more damage than a Netherite sword, with increased attack speed. Strikes ignite enemies for a short duration (2 to 3 seconds) and deal a small amount of bonus fire damage over time. Critical hits release a burst of flame particles. Has a very small chance to apply a brief knockback or β€œflame slash” effect. Durable but not unbreakable. Balanced so it feels powerful but not game-breaking.

Kodari AI
KodariApr 22 at 3:14 pm 7,532 (v2)

I’ll create a custom weapon plugin featuring a powerful flame katana with special combat abilities.

FlameKatana
A custom weapon plugin featuring a high-damage katana with fire-based abilities. The katana deals enhanced damage with faster attack speed, ignites enemies on hit, releases flame particles on critical strikes, and has a chance to apply knockback. Includes configurable damage values, fire duration, particle effects, and durability. Players receive the katana through admin commands with full permission control.

Project created successfully! The FlameKatana plugin includes a custom weapon system with fire-based combat mechanics, configurable damage and effects, particle displays on critical hits, and admin commands for distribution.

shakingatom

can you add a custom skin for it? Also make it so that i can right click and get a dash boost. Also add a feature where if the player gets low on health, the katana can be sacrificed and used as a totem. Make the katana craftable using this format

Netherite block,Diamond,Netherite block DragonBreath,Totem,DragonBreath Netherite block,Diamond,Netherite block

Kodari AI
KodariApr 22 at 4:46 pm 14,005 (v2)

I’ll add a custom skin using custom model data, right-click dash ability, totem sacrifice feature, and the custom crafting recipe.

Let me fix that patch:

Let me recreate the config with proper formatting:

Now I’ll create the recipe manager:

Let me fix the errors in RecipeManager:

Now let me fix the listener properly:

Perfect! Now let me create a resource pack instruction file to help with the custom model:

All features implemented! Here’s what was added:

New Features:

  1. custom skin - Uses custom model data (1001) so you can apply a resource pack with a unique katana texture

  2. dash ability - Right-click to dash forward with flame particles and sound, 5-second cooldown

  3. totem sacrifice - When health drops below 4.0 (2 hearts), the katana sacrifices itself like a totem, giving regeneration, absorption, and fire resistance

  4. crafting Recipe - Uses the exact format you specified:

    • netherite block, diamond, netherite block

    • dragon breath, totem, dragon breath

    • netherite block, diamond, netherite block

All features are fully configurable in config.yml. Check the resourcepack_instructions.txt for how to add a custom model!

shakingatom
πŸ“Ž 1 file 2,012 chars
πŸ“„
pasted-code-1777280981772.txt
txt 69 lines
β–Ά
PROMPT: Samurai Armor + Full Tool Set Datapack/Mod

Create a Minecraft datapack or mod that adds a complete Japanese samurai-themed equipment system, including armor and all standard tools.

1. Samurai Armor Set

Add a full armor set:

Helmet
Chestplate
Leggings
Boots

Design Requirements:

Traditional Japanese samurai armor style (layered plates, kabuto helmet, lamellar armor look)
Color palette: dark steel, black, red, gold accents
High-detail, legendary aesthetic

Special Feature:

The Chestplate must include built-in Elytra functionality
Works as both chestplate + Elytra
Allows gliding without needing a separate Elytra item
2. Full Samurai Tool Set

Add all standard Minecraft tools, reskinned and rebalanced as samurai gear:

Katana (Sword replacement)
Pickaxe
Axe
Shovel
Hoe
Optional extras:
Spear (extended reach weapon)
Tanto (fast dagger weapon)
Yumi Bow (samurai-style bow)

Design Requirements:

All tools must match samurai/Japanese feudal aesthetic
Katana is the primary weapon (fast attack speed, elegant design)
Tools should feel like forged traditional weapons, not modern tools
3. Acquisition System
All armor and tools must be obtainable via a special item system:
A β€œSamurai Shulker Box”
This shulker box contains:
Full armor set
All tools (pickaxe, axe, shovel, hoe, sword + extras if included)

Optional:

Can be given via command
Or added to rare loot tables / dungeon chests
4. Balance
Power level: between iron and netherite
Elytra chestplate should be balanced:
Durable but not infinite flight abuse
Tools should have slight buffs but not break progression
5. Optional Features
Set bonus when full armor is equipped:
Example: speed boost, strength, or resistance
Katana attack particles (slash effect)
Custom crafting recipes (optional alternative to shulker)
Repairable using iron/gold/netherite depending on tier design
6. Visual Direction
Authentic samurai / feudal Japan inspiration
Clean, minimal, traditional Japanese warrior fantasy
Emphasis on elegance + combat readiness
Kodari AI
KodariApr 27 at 9:12 am 23,340 (v2)

I see you want to expand this into a full samurai equipment set! Let me read the current code structure and then add the complete armor set, tools, Elytra chestplate functionality, and the Samurai Shulker Box system.

I’ll expand this into a complete samurai equipment system with armor, tools, Elytra chestplate, set bonuses, and a Samurai Shulker Box!

Now I’ll create the complete samurai equipment system with armor, tools, Elytra chestplate, and shulker box:

Now I’ll create the comprehensive item manager:

Now I’ll update the command to handle all items:

Now update the main plugin class:

Now let me update the resourcepack instructions to include all items:

Perfect! Now let me create a README for the user explaining all the features:

Complete Samurai Equipment System Created! πŸ—Ύβš”οΈ

Full expansion successfully implemented:

βœ… New Items (All with Custom Model Data)

  • Flame Katana - Fast attack, fire effects, dash ability, totem sacrifice

  • Samurai Helmet (CMD: 1002)

  • Samurai Chestplate (CMD: 1003) - Built-in Elytra functionality!

  • Samurai Leggings (CMD: 1004)

  • Samurai Boots (CMD: 1005)

  • Samurai Pickaxe (CMD: 1006)

  • Samurai Axe (CMD: 1007)

  • Samurai Shovel (CMD: 1008)

  • Samurai Hoe (CMD: 1009)

🎁 Samurai Shulker Box System

Get everything in one container with /samurai give <player> shulker

πŸ”₯ Features

  1. Elytra Chestplate - Fly while wearing full armor protection

  2. Set Bonus - Full armor grants Speed II, Strength I, Resistance I, Fire Resistance I

  3. All Items Craftable - Using netherite blocks, diamonds, dragon breath, and totems

  4. Balanced Stats - Between diamond and netherite tier

πŸ“ Commands

  • /samurai give <player> katana - Give flame katana

  • /samurai give <player> helmet|chestplate|leggings|boots - Give armor

  • /samurai give <player> pickaxe|axe|shovel|hoe - Give tools

  • /samurai give <player> shulker - Give complete equipment box

  • /samurai reload - Reload configuration

🎨 Resource Pack Ready

All items have custom model data for texture packs. See resourcepack_instructions.txt and SAMURAI_EQUIPMENT_GUIDE.md for details!

shakingatom

can the resource pack be embedded in this?

Kodari AI
KodariApr 27 at 9:14 am 1,377 (v2)

Sort of, but with limitations:

What’s NOT Possible:

  • You cannot bundle a resource pack inside the plugin jar and have it β€œjust work” automatically

  • Minecraft requires resource packs to be downloaded from a URL (HTTP/HTTPS)

  • The game client downloads it separately from the server

What IS Possible:

  1. Include the pack structure in the plugin - The plugin can extract/generate the resource pack files to a folder on first run

  2. Auto-apply via server methods:

    • Use player.setResourcePack(url, hash) to prompt players to download

    • But you still need to host the pack somewhere accessible (external URL)

  3. Use plugins like ItemsAdder or Oraxen - These frameworks handle custom items WITH embedded resource pack hosting, but they’re entire systems

  4. Simple HTTP server in the plugin - Technically possible but:

    • Requires opening a port

    • Needs proper SSL cert for modern Minecraft versions

    • Security/firewall concerns

    • Not recommended for production

Recommended Approach:

  • Generate the resource pack folder structure in the plugin

  • Include instructions for the server admin to:

    • Upload it to a file host (Dropbox, GitHub releases, MC-PACKS, etc.)

    • Add the URL to server.properties β†’ resource-pack=<url>

    • Or use a dedicated pack hosting plugin

TL;DR: The plugin can create/manage the pack files, but Minecraft’s architecture requires it to be hosted at a URL that players download from. There’s no built-in β€œauto-apply from plugin jar” method in vanilla Spigot/Paper.

shakingatom

make the jar contain the resource pack... the server admin will extract the jar and do the rest

Kodari AI
KodariApr 27 at 9:16 am 979 (v2)

Yes, absolutely possible and straightforward!

How it works:

  1. Add the resource pack files to the project:

    • Create folder: src/main/resources/resourcepack/

    • Inside that, put the full pack structure:

      Plain Text
      src/main/resources/resourcepack/
        β”œβ”€β”€ pack.mcmeta
        β”œβ”€β”€ pack.png (optional icon)
        └── assets/
            └── minecraft/
                β”œβ”€β”€ models/
                β”‚   └── item/
                β”‚       β”œβ”€β”€ netherite_sword.json
                β”‚       β”œβ”€β”€ netherite_helmet.json
                β”‚       etc.
                └── textures/
                    └── item/
                        β”œβ”€β”€ flame_katana.png
                        β”œβ”€β”€ samurai_helmet.png
                        etc.
      
  2. Gradle automatically bundles it:

    • Everything in src/main/resources/ gets packed into the jar

    • No special build config needed

  3. Admin extracts it:

    • Rename FlameKatana.jar β†’ FlameKatana.zip

    • Open/extract the zip

    • Navigate to resourcepack/ folder

    • Copy that entire folder out

    • Upload to hosting service

    • Add URL to server.properties

TL;DR: Just put the resource pack folder structure inside src/main/resources/resourcepack/, and it’ll be in the jar automatically. Admin can extract like any zip file.

shakingatom

do it

Kodari AI
KodariApr 27 at 9:23 am 9,648 (v2)

I’ll create the resource pack structure inside your jar!

Done! The resource pack is now embedded in your jar.

What I created:

πŸ“¦ Complete resource pack structure:

  • pack.mcmeta (pack format 15 for MC 1.20+)

  • 11 model override files (netherite items + elytra + shulker)

  • 10 custom model JSON files pointing to textures

  • Texture placeholder folder with instructions

  • EXTRACTION_GUIDE.txt with full step-by-step extraction instructions

  • TEXTURE_REFERENCE.md with detailed design guidelines for texture artists

What the admin needs to do:

  1. Extract the jar (rename to .zip, unzip, copy out resourcepack/ folder)

  2. Add 10 PNG textures to assets/minecraft/textures/item/custom/

  3. Zip it up (select contents, NOT the folder itself)

  4. Upload to file host and add URL to server.properties

All instructions are inside the pack. The models are already configured to match your custom-model-data values (1001-1010). Once textures are added, it’ll work immediately.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
resourcepack_instructions.txt
Code
38 2,107
src/main/java/com/flamekatana/FlameKatana.java
package com.flamekatana;

import com.flamekatana.command.KatanaCommand;
import com.flamekatana.listener.ElytraListener;
import com.flamekatana.listener.KatanaListener;
import com.flamekatana.manager.ArmorSetManager;
import com.flamekatana.manager.ConfigManager;
import com.flamekatana.manager.KatanaManager;
import com.flamekatana.manager.RecipeManager;
import com.flamekatana.manager.SamuraiItemManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class FlameKatana extends JavaPlugin {

    private ConfigManager configManager;
    private KatanaManager katanaManager;
    private SamuraiItemManager samuraiItemManager;
    private RecipeManager recipeManager;
    private ArmorSetManager armorSetManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        this.configManager = new ConfigManager(this);
        this.katanaManager = new KatanaManager(this);
        this.samuraiItemManager = new SamuraiItemManager(this);
        this.recipeManager = new RecipeManager(this);
        this.armorSetManager = new ArmorSetManager(this);

        recipeManager.registerRecipes();
        armorSetManager.startChecking();

        getServer().getPluginManager().registerEvents(new KatanaListener(this), this);
        getServer().getPluginManager().registerEvents(new ElytraListener(this), this);
        
        KatanaCommand cmdExecutor = new KatanaCommand(this);
        getCommand("samurai").setExecutor(cmdExecutor);
        getCommand("samurai").setTabCompleter(cmdExecutor);

        getLogger().info("FlameKatana (Samurai Equipment System) has been enabled!");
    }

    @Override
    public void onDisable() {
        recipeManager.unregisterRecipes();
        armorSetManager.cleanup();
        getLogger().info("FlameKatana has been disabled!");
    }
}