realkeshavvgamer

Create a Minecraft Paper 1.21.11 plugin named “Frenzy Coackroach”. ‎ ‎The plugin should add a simple custom armor set called “Coackroach Armor”. The armor must ONLY be cosmetic and defensive — absolutely NO abilities, NO potion effects, NO particles, NO skills, NO buffs, NO speed boost, NO fly, NO regeneration, and NO special powers. ‎ ‎Requirements: ‎ ‎Plugin Name: Frenzy Coackroach ‎ ‎Platform: Paper 1.21.11 ‎ ‎Java Version: Java 21 ‎ ‎Armor Type: Full custom Coackroach Armor Set ‎ ‎Armor Pieces: ‎ ‎Coackroach Helmet ‎ ‎Coackroach Chestplate ‎ ‎Coackroach Leggings ‎ ‎Coackroach Boots ‎ ‎Base Material: Netherite Armor ‎ ‎Add custom display names and lore ‎ ‎Add crafting recipes for all armor pieces ‎ ‎Include /coackroach command that gives the full armor set ‎ ‎Armor should only function as normal armor protection ‎ ‎No events, listeners, or abilities ‎ ‎Clean optimized code ‎ ‎Proper package structure ‎ ‎Include plugin.yml ‎ ‎Include Maven dependency setup ‎ ‎Compatible with Paper 1.21.11 ‎ ‎Texture/Style: ‎ ‎Dark brown and black cockroach-inspired design ‎ ‎Bug shell aesthetic ‎ ‎Creepy insect theme ‎ ‎Vanilla-style Minecraft texture look ‎ ‎Simple clean design ‎

Kodari AI
KodariMay 24 at 8:45 am 5,883 (v2)

I’ll create a simple cosmetic armor plugin with custom Coackroach armor pieces.

FrenzyCoackroach
A custom cosmetic armor plugin that adds the Coackroach Armor Set to Minecraft. Features a full netherite-based armor set with cockroach-themed names and lore, custom crafting recipes for each piece, and a command to obtain the complete set. The armor provides standard netherite protection without any special abilities or effects, maintaining pure cosmetic and defensive functionality.

FrenzyCoackroach plugin created!

The plugin includes:

  • 4 custom armor pieces (Helmet, Chestplate, Leggings, Boots) based on netherite armor

  • Dark gray/brown cockroach theme with custom names and lore

  • Crafting recipes using brown dye + netherite armor pieces

  • /coackroach command (requires coackroach.give permission) to obtain the full set

  • Pure cosmetic/defensive - no abilities, effects, or special powers

  • Paper 1.21.1 compatible with Java 21

The armor functions exactly like normal netherite armor but with a creepy bug-themed aesthetic!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
6 266
src/main/java/com/frenzy/coackroach/FrenzyCoackroach.java
package com.frenzy.coackroach;

import com.frenzy.coackroach.commands.CoackroachCommand;
import com.cryptomorin.xseries.XMaterial;
import org.bukkit.Bukkit;
import org.bukkit.NamespacedKey;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.ShapedRecipe;
import org.bukkit.plugin.java.JavaPlugin;

public class FrenzyCoackroach extends JavaPlugin {

    @Override
    public void onEnable() {
        getLogger().info("FrenzyCoackroach plugin is loading...");
        
        registerCommands();
        registerCraftingRecipes();
        
        getLogger().info("FrenzyCoackroach plugin has been enabled!");
    }

    @Override
    public void onDisable() {
        getLogger().info("FrenzyCoackroach plugin has been disabled!");
    }

    private void registerCommands() {
        getCommand("coackroach").setExecutor(new CoackroachCommand());
    }

    private void registerCraftingRecipes() {
        registerHelmetRecipe();
        registerChestplateRecipe();
        registerLeggingsRecipe();
        registerBootsRecipe();
    }

    private void registerHelmetRecipe() {
        ItemStack helmet = ArmorItems.createCoackroachHelmet();
        NamespacedKey key = new NamespacedKey(this, "coackroach_helmet");
        ShapedRecipe recipe = new ShapedRecipe(key, helmet);
        
        recipe.shape("BBB", "BNB", "   ");
        recipe.setIngredient('B', XMaterial.matchXMaterial("BROWN_DYE").map(XMaterial::parseMaterial).get());
        recipe.setIngredient('N', XMaterial.matchXMaterial("NETHERITE_HELMET").map(XMaterial::parseMaterial).get());
        
        Bukkit.addRecipe(recipe);
    }

    private void registerChestplateRecipe() {
        ItemStack chestplate = ArmorItems.createCoackroachChestplate();
        NamespacedKey key = new NamespacedKey(this, "coackroach_chestplate");
        ShapedRecipe recipe = new ShapedRecipe(key, chestplate);
        
        recipe.shape("B B", "BNB", "BBB");
        recipe.setIngredient('B', XMaterial.matchXMaterial("BROWN_DYE").map(XMaterial::parseMaterial).get());
        recipe.setIngredient('N', XMaterial.matchXMaterial("NETHERITE_CHESTPLATE").map(XMaterial::parseMaterial).get());
        
        Bukkit.addRecipe(recipe);
    }

    private void registerLeggingsRecipe() {
        ItemStack leggings = ArmorItems.createCoackroachLeggings();
        NamespacedKey key = new NamespacedKey(this, "coackroach_leggings");
        ShapedRecipe recipe = new ShapedRecipe(key, leggings);
        
        recipe.shape("BBB", "BNB", "B B");
        recipe.setIngredient('B', XMaterial.matchXMaterial("BROWN_DYE").map(XMaterial::parseMaterial).get());
        recipe.setIngredient('N', XMaterial.matchXMaterial("NETHERITE_LEGGINGS").map(XMaterial::parseMaterial).get());
        
        Bukkit.addRecipe(recipe);
    }

    private void registerBootsRecipe() {
        ItemStack boots = ArmorItems.createCoackroachBoots();
        NamespacedKey key = new NamespacedKey(this, "coackroach_boots");
        ShapedRecipe recipe = new ShapedRecipe(key, boots);
        
        recipe.shape("   ", "BNB", "B B");
        recipe.setIngredient('B', XMaterial.matchXMaterial("BROWN_DYE").map(XMaterial::parseMaterial).get());
        recipe.setIngredient('N', XMaterial.matchXMaterial("NETHERITE_BOOTS").map(XMaterial::parseMaterial).get());
        
        Bukkit.addRecipe(recipe);
    }
}