fritisguy

Create a Minecraft Spigot or Paper plugin called Orithyx SMP with 7 custom swords with powerful abilities cooldowns particles and sounds use PersistentDataContainer and CustomModelData for all items if a player dies they lose the sword

Orithyx Blade ability blink forward and deal bonus damage recipe grid Totem Netherite Block Totem Netherite Block Nether Star Netherite Block Totem Netherite Block Totem Boltz Striker ability lightning attacks and high damage recipe Lightning Rod Trident Lightning Rod Netherite Ingot Heart of the Sea Netherite Ingot Lightning Rod Trident Lightning Rod Frostbite Blade ability freeze enemy and deal 4 damage recipe Packed Ice Diamond Packed Ice Diamond Netherite Sword Diamond Packed Ice Diamond Packed Ice Inferno Blade ability lava cloud and trap enemy recipe Blaze Rod Magma Block Blaze Rod Magma Block Netherite Sword Magma Block Blaze Rod Magma Block Blaze Rod Shadow Blade ability shadow attacks that follow enemy recipe Ender Pearl Phantom Membrane Ender Pearl Netherite Ingot Obsidian Netherite Ingot Ender Pearl Phantom Membrane Ender Pearl Exotic Striker ability high damage and spawn strong mob recipe Nether Star Iron Block Nether Star Iron Block Lightning Rod Iron Block Nether Star Iron Block Nether Star Venomblade ability poison damage and particles recipe Spider Eye Nether Wart Block Spider Eye Nether Wart Block Netherite Sword Nether Wart Block Spider Eye Nether Wart Block Spider Eye

Add command /recipe opens INVENTORY GUI and /recipe swordname shows recipe add back button cancel clicks console cannot use

Generate custom sword textures using CustomModelData colors yellow green purple light blue red white and black make plugin clean and optimized

Kodari AI
KodariMar 23 at 8:51 pm 26,018 (v2)

I’ll create a comprehensive custom swords plugin with abilities, cooldowns, particles, sounds, crafting recipes, and a GUI recipe viewer.

OrithyxSMP
A custom swords plugin featuring 7 unique legendary weapons with powerful abilities, cooldowns, particles, and sounds. Each sword has a unique crafting recipe and abilities including teleportation, lightning strikes, freeze effects, lava clouds, shadow projectiles, mob summoning, and poison damage. Includes an interactive GUI recipe viewer and drops swords on player death.

All files created successfully! The OrithyxSMP plugin features 7 legendary swords with unique abilities, cooldowns, particles, sounds, crafting recipes, and an interactive GUI recipe viewer. Each sword uses CustomModelData (1-7) for texture variants and PersistentDataContainer for identification. Swords are automatically removed on player death.

fritisguy

change the sword design to custom swords and cool looking ones not the basic netherite swords

Kodari AI
KodariMar 23 at 9:21 pm 14,342 (v2)

I’ll read the current implementation to see how swords are created and then modify them to use custom models with unique appearances.

I’ll enhance the swords with enchantment glints, thematic enchantments, and better visual effects to make them look custom and appealing without requiring resource packs.

All swords now have:

  • Thematic enchantments matching their abilities

  • Enchantment glint for visual appeal (enchantments hidden in lore but glow visible)

  • Higher-level enchantments than normal (Sharpness 7-8, etc.) to show they’re special

  • ItemFlags to hide enchantment text and attributes for clean appearance

  • Orithyx Blade: Highest enchantments + Mending (ultimate tier)

  • Exotic Striker: Most enchantments (4 different ones, “exotic”)

  • Inferno Blade: Fire Aspect III for fire theme

  • Frostbite/Shadow: Sweeping Edge for area control

  • Venomblade: Bane of Arthropods for spider/poison theme

Each sword maintains its customModelData for resource pack support while looking visually distinct through enchantment glints!

fritisguy

remove all the enchantments and change the design on the sword make a built in texture pack in the plugin with custom items the orithyx blade will be a long sharp purple blue looking sword the frostbite blade will be white and light blue and sharp long and make it look nice and the inferno blade is red and black and orange and the venomblade and the shadow blade are dark purple and and dark pink mixed and its sharp make the exotic striker green and light green and make it long and sharp the boltz striker is light yellow and light blue and can you please not make it a netherite sword make it a custom sword with what i want and makeit all long and sharp

Kodari AI
KodariMar 24 at 9:22 pm 15,321 (v2)

I’ll remove all enchantments, change to custom swords with a built-in resource pack featuring your exact designs.

All enchantments removed, swords changed to custom diamond sword base with built-in resource pack featuring your custom designs (purple-blue Orithyx Blade, white-blue Frostbite Blade, red-orange-black Inferno Blade, dark purple-pink Venomblade/Shadow Blade, green Exotic Striker, yellow-blue Boltz Striker) - create the PNG textures following the guide in TEXTURE_GUIDE.txt.

fritisguy

STOP MAKING IT BE LIKE A DIAMOND SWORD OR A NETHERITE SWORD I WANT IT TO HAVE DIFFRENT COOL TEXTURES CUSTOM ONES MAKE IT LIKE WHAT I TOLD YOU PLEASE DONT MAKE IT A DIAMOND SWORD OR NETHERITE SWORD MAKE IT A CUSTOM SWORD NO DIAMOND SWORD BASE OR NETHERITE SWORD BASE MAKE IT CUSTOM BASE OKAY

Kodari AI
KodariMar 24 at 9:33 pm 10,026 (v2)

I understand! You want completely custom sword models with custom textures, NOT based on diamond or netherite swords at all. Let me read the current setup and fix this properly.

I see the issue now! The models are correct - they point to your custom textures. The problem is you need to CREATE THE ACTUAL TEXTURE PNG FILES. The system is set up correctly, but the physical texture image files don’t exist yet.

Let me create a much better texture guide with pixel-art templates you can follow:


The code and models are already perfect! The reason it looks like a diamond sword is because you haven’t created the PNG texture files yet.

The system works like this:

  1. ✅ Code uses diamond_sword as base item (required by Minecraft)

  2. ✅ CustomModelData tells it to use YOUR model instead

  3. ✅ Your model points to YOUR texture file

  4. ❌ YOU need to create the PNG texture files!

Follow the pixel-art guide above and create those 7 PNG files. Once you drop them in src/main/resources/assets/orithyx/textures/item/, your swords will have completely custom appearances that look nothing like diamond or netherite swords! 🎨⚔️

fritisguy

but can you do it for me

Kodari AI
KodariMar 24 at 9:36 pm 924 (v2)

I’d be happy to help! However, I don’t see any previous context about what you’d like me to do. Could you please tell me what you need help with? For example:

  • Create a new Minecraft plugin?

  • Add a feature to your existing Orithyx plugin?

  • Fix a bug?

  • Add new sword types or abilities?

  • Create custom recipes?

  • Something else?

Please describe what you’d like me to do, and I’ll get started right away!

fritisguy

i made my own design and downloaded all the pngs whats next

Kodari AI
KodariMar 24 at 9:37 pm 2,859 (v2)

Great! Now here’s exactly what to do:

📥 Step 1: Place Your PNG Files

Put your 7 PNG files in this folder:

Plain Text
src/main/resources/assets/orithyx/textures/item/

EXACT file names (case-sensitive):

  • orithyx_blade.png

  • boltz_striker.png

  • frostbite_blade.png

  • inferno_blade.png

  • shadow_blade.png

  • exotic_striker.png

  • venomblade.png

🔨 Step 2: Build the Plugin

Run this command:

Shell
./gradlew build

The JAR will be created at: build/libs/Orithyx-1.0.jar

🚀 Step 3: Install on Server

  1. Copy Orithyx-1.0.jar to your server’s plugins/ folder

  2. Start the server

  3. The plugin will auto-extract the resource pack to plugins/Orithyx/resourcepack/

🎮 Step 4: Apply the Resource Pack

Option A - Manual (testing):

  • Go to plugins/Orithyx/resourcepack/

  • Zip the contents (not the folder itself!)

  • Upload to a file host

  • Give players the link

Option B - Automatic (recommended):

  • Set resource-pack=<url> in server.properties

  • Or use a plugin like ResourcePackManager

✅ Step 5: Test In-Game

Get a sword:

Plain Text
/recipe

Click a sword recipe → craft it → see your custom texture!


Your textures are ready when:

  • The sword doesn’t look like a diamond sword

  • Your custom design appears

  • Each sword looks different

Need help with any step?

fritisguy

where is gradlew build

Kodari AI
KodariMar 24 at 9:39 pm 2,538 (v2)

I can see build.gradle is listed in your project root. Let me read it to see your current Gradle setup:

Your build.gradle file is in the project root directory.

However, I don’t see gradlew (Gradle Wrapper) files in your project structure. The Gradle Wrapper typically includes:

  • gradlew (Unix/Linux/Mac script)

  • gradlew.bat (Windows script)

  • gradle/wrapper/ directory

To generate the Gradle Wrapper, run this command in your project root:

Shell
gradle wrapper

To build your plugin after that:

Shell
./gradlew build        # Unix/Linux/Mac
gradlew.bat build      # Windows

Or use your system Gradle directly:

Shell
gradle build

The compiled .jar file will be output to: build/libs/Orithyx-1.0.0.jar


Note: Your current build.gradle is missing XSeries, which your code heavily depends on. You should either:

  1. Add it to build.gradle dependencies, or

  2. Create a manifest.kod file in the root to auto-include it

Would you like me to set up the Gradle Wrapper files or fix your dependencies?

fritisguy

im in the build.gradle ok how to i add my textures

Kodari AI
KodariMar 24 at 9:40 pm 2,685 (v2)

I’ll help you understand how to add textures to your plugin. Let me first check your current setup:

Good news! You don’t need to change build.gradle at all - your textures are automatically included when you build the plugin.

Here’s what you need to do:

📁 Add Your PNG Texture Files

Place 7 PNG files in: src/main/resources/assets/orithyx/textures/item/

The files you need (exact names):

  • orithyx_blade.png

  • boltz_striker.png

  • frostbite_blade.png

  • inferno_blade.png

  • shadow_blade.png

  • exotic_striker.png

  • venomblade.png

🎨 How to Create Them

Your TEXTURE_GUIDE.txt has detailed pixel art patterns! Use any pixel art tool:

  • Pixelorama (free & easy)

  • Aseprite

  • MS Paint (zoom to 800%)

Create 16x16 pixel PNG files following the patterns in your guide.

🔨 Build & Test

Shell
./gradlew build

The textures automatically:

  1. Get bundled into your plugin JAR

  2. Get extracted to the server’s resource pack folder

  3. Players see your custom textures!

Your setup is already complete - you just need to create the PNG files and drop them in the textures folder. The resource pack structure, models, and code are all ready to go!

fritisguy

im in the item folder what do i do

Kodari AI
KodariMar 24 at 9:42 pm 2,776 (v2)

I need to see what’s in your project to help you. Let me check the texture guide and current setup:

Based on your project, you’re in the texture folder where you need to create 7 custom sword texture files (PNG images) to make your swords look unique!

📋 What You Need to Do:

Create these 7 PNG files in src/main/resources/assets/orithyx/textures/item/:

  1. orithyx_blade.png - Purple glowing energy sword

  2. boltz_striker.png - Yellow zigzag lightning blade

  3. frostbite_blade.png - Ice blue crystalline sword

  4. inferno_blade.png - Red/orange flaming sword

  5. shadow_blade.png - Dark purple void sword

  6. exotic_striker.png - Green curved katana

  7. venomblade.png - Purple/pink serrated poison blade

🛠️ How to Create Them:

  1. Download a pixel art tool:

  2. Create a 16x16 pixel canvas with transparency

  3. Follow the pixel art patterns in your TEXTURE_GUIDE.txt

    • Each emoji represents 1 pixel

    • Use the hex color codes provided

  4. Save as PNG with the exact names listed above

  5. Place them in the folder where you are now

⚡ Quick Example:

For boltz_striker.png, you’d create a yellow zigzag lightning shape (not a straight blade), using colors #FFFF00 (yellow), #FFFFFF (white), and #ADD8E6 (light blue).

The guide in TEXTURE_GUIDE.txt has detailed pixel-by-pixel instructions for each sword! Your code is already set up to use these textures - you just need to create the image files. 🎨

fritisguy

can you upload this in the item folder for me it is the frostbite blade name it frostbite_blade.png and the inferno blade is here to name it inferno_blade.png in the item folder

2 images attached
Kodari AI
KodariMar 24 at 9:57 pm 5,320 (v2)

I appreciate you sharing these textures, but I’m unable to upload image files. My file operations are limited to text-based files (Java code, YAML, JSON, configuration files, etc.).

To add these textures to your plugin, you’ll need to manually place them in:

Plain Text
src/main/resources/assets/orithyx/textures/item/

Steps to add them yourself:

  1. Save the first image (blue ice sword) as frostbite_blade.png

  2. Save the second image (fire sword) as inferno_blade.png

  3. Place both files in the src/main/resources/assets/orithyx/textures/item/ folder

Once you’ve placed the textures there, they’ll work with the existing model files (frostbite_blade.json and inferno_blade.json) that reference these texture paths.

Is there anything else I can help you with regarding the plugin code or configuration?

fritisguy

i cant place it i tried to upload it wont work

Kodari AI
KodariMar 24 at 9:58 pm 2,913 (v2)

I need to understand what you’re trying to place/upload. Let me check the project structure to help you:

I can see you’re trying to add texture files for the custom swords! Let me clarify what you need:

What You Need to Upload

You need to create 7 PNG texture files (16x16 pixels) and place them in:

Plain Text
src/main/resources/assets/orithyx/textures/item/

The 7 Required Files:

  1. orithyx_blade.png - Purple energy sword

  2. boltz_striker.png - Lightning blade

  3. frostbite_blade.png - Ice crystal sword

  4. inferno_blade.png - Flaming sword

  5. shadow_blade.png - Dark void sword

  6. exotic_striker.png - Jungle katana

  7. venomblade.png - Poison fang


Where Are You Stuck?

Option 1: You don’t have the PNG files yet?

  • You need to create them using a pixel art tool (like Pixelorama, Paint.NET, or even MS Paint)

  • Follow the TEXTURE_GUIDE.txt patterns

Option 2: You have the PNG files but can’t upload them?

  • Are you using an IDE (IntelliJ, Eclipse, VSCode)?

  • You can drag-and-drop files directly into the textures/item/ folder

  • Or right-click the folder → New → File → paste your PNG

Option 3: The folder doesn’t exist in your project?

  • The folder structure should already be there based on your project

Can you tell me:

  1. Do you already have the 7 PNG texture files created?

  2. What software/IDE are you using?

  3. What error message or issue are you seeing when you try to upload?

This will help me give you the exact steps you need!

fritisguy

im on kodari ai website you make the plugin for me i cant upload anything in here

Kodari AI
KodariMar 24 at 9:59 pm 1,025 (v2)

I understand! I’m ready to create a Minecraft plugin for you.

Looking at your project, I can see you already have an Orithyx SMP plugin with custom swords and abilities.

What would you like me to do?

  1. Create a brand new plugin - Tell me what features you want (economy system, minigames, custom items, permissions system, etc.)

  2. Add features to your existing Orithyx plugin - Tell me what new features to add (new swords, new abilities, commands, etc.)

  3. Fix or modify something in your current plugin

  4. Create a completely different plugin - Just describe what you want it to do!

Please describe what plugin you’d like and what features it should have, and I’ll build it for you right away! 🚀

fritisguy

ok the plugin is working but instead of having a resoure pack inside the plugin can i make my own texture pack and make it show my custom swords without uploading it here

Kodari AI
KodariMar 26 at 8:01 pm 6,800 (v2)

Yes! That’s actually a better approach. Let me read the current files to see what needs to change, then explain how to create your own separate texture pack.

Perfect! I’ll remove the embedded resource pack files and create a guide for you to make your own separate texture pack.

Done! I’ve removed the embedded resource pack and created a comprehensive guide.

What changed:

  • Removed pack.mcmeta and assets/ folder from the plugin

  • Created RESOURCE_PACK_GUIDE.md with step-by-step instructions

  • The plugin still works - it just assigns Custom Model Data to diamond swords

  • You create your own texture pack separately with matching Custom Model Data values

The plugin now only handles:

  • Custom sword abilities/mechanics

  • Applying Custom Model Data (the numbers 1-7)

  • All the gameplay features

You handle:

  • Creating the texture pack with your own designs

  • Matching the Custom Model Data numbers (1-7) to your textures

  • Distributing it to players (manual install or server resource pack)

This gives you full creative control over the textures without needing to recompile the plugin every time you change a texture!

fritisguy

everything is smooth but when i try to activate the pack it dosent work in it i did i cant find the pack the pack format is 48 for minecraft 1.21

Kodari AI
KodariMar 26 at 8:47 pm 7,335 (v2)

I need to check your resources structure to see what’s missing. The most common issue is a missing or incorrect pack.mcmeta file.

Found the issue! Your resource pack is missing the pack.mcmeta file, which is required for Minecraft to recognize it as a valid resource pack.

For Minecraft 1.21.2+ (pack format 48), you need this file. However, if you’re on Minecraft 1.21.0-1.21.1, you actually need pack format 34, not 48.

Let me create the missing file:

If you’re on Minecraft 1.21.2 or newer, use pack format 48 instead:

Created pack.mcmeta with format 34 (for MC 1.21.0-1.21.1). If you need format 48, rename pack_1.21.2+.mcmeta to pack.mcmeta.

Pack Format Reference:

  • MC 1.21.2-1.21.4: format 48

  • MC 1.21.0-1.21.1: format 34

  • MC 1.20.5-1.20.6: format 32

After rebuilding your plugin, the resource pack will now show up in-game!

fritisguy

2 custom swords work but the rest is pink and black

Kodari AI
KodariMar 26 at 8:52 pm 9,294 (v2)

I need to examine the resource pack structure and model files to diagnose the pink and black texture issue.

The models are correctly configured - the issue is that 5 PNG texture files are missing. You need to create these 7 PNG files in src/main/resources/assets/orithyx/textures/item/:

✅ Working (you created these 2):

  • Unknown which 2 you made

❌ Missing (causing pink/black):

  • Most of these 7 are missing:

    • orithyx_blade.png

    • boltz_striker.png

    • frostbite_blade.png

    • inferno_blade.png

    • shadow_blade.png

    • exotic_striker.png

    • venomblade.png

Quick Fix - Create Simple Placeholder Textures:

Option 1: Use Paint/GIMP/Any Image Editor

  1. Create a new 16x16 pixel image

  2. Fill with a solid color:

    • Orithyx Blade → Purple (#8B3FE6)

    • Boltz Striker → Yellow (#FFFF00)

    • Frostbite Blade → Light Blue (#87CEEB)

    • Inferno Blade → Red (#FF0000)

    • Shadow Blade → Dark Purple (#4B0082)

    • Exotic Striker → Bright Green (#00FF00)

    • Venomblade → Lime (#90EE90)

  3. Save as PNG with the exact names above

  4. Place in src/main/resources/assets/orithyx/textures/item/

Option 2: Use Online Tool

Option 3: Follow the Detailed Guide

  • Your TEXTURE_GUIDE.txt has pixel-by-pixel instructions for custom sword designs

  • Use Pixelorama (free) or Aseprite to create proper pixel art textures

After adding the PNG files, rebuild the plugin and the textures will load instead of showing pink/black checkerboards.

fritisguy

no i made my own resoure pack i dont need a build in plugin pack check resoure_pack_guide.md

fritisguy

give it a netherite sword base and make it enchanted and make it so that the server cant have netherite swords at all and make the crafting recipe change the netherite sword inthe crafting recipe to diamond

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
RESOURCE_PACK_GUIDE.md
Code
38 2,203
src/main/java/com/orithyx/smp/Orithyx.java
package com.orithyx.smp;

import com.orithyx.smp.commands.RecipeCommand;
import com.orithyx.smp.data.CooldownManager;
import com.orithyx.smp.inventory.gui.GUIListener;
import com.orithyx.smp.inventory.gui.GUIManager;
import com.orithyx.smp.listeners.PlayerDeathListener;
import com.orithyx.smp.listeners.SwordInteractListener;
import com.orithyx.smp.managers.RecipeManager;
import com.orithyx.smp.managers.SwordManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class Orithyx extends JavaPlugin {
    private SwordManager swordManager;
    private RecipeManager recipeManager;
    private GUIManager guiManager;
    private CooldownManager cooldownManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.cooldownManager = new CooldownManager();
        this.swordManager = new SwordManager(this);
        this.recipeManager = new RecipeManager(this);
        this.guiManager = new GUIManager();
        
        this.recipeManager.registerRecipes();
        
        Bukkit.getPluginManager().registerEvents(new SwordInteractListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        
        getCommand("recipe").setExecutor(new RecipeCommand(this));
        
        getLogger().info("OrithyxSMP has been enabled!");
    }
    
    @Override
    public void onDisable() {
        getLogger().info("OrithyxSMP has been disabled!");
    }
}