Henry Heffernan

make a god potato a god posinis potato and a god carrot all with sharpness 6 wind burst 2 knockback 1 sweeping edge 3 looting 5 effency 3 mending unbreaking 3 and fire aspect 2

Kodari AI
KodariSep 19 at 7:40 pm 1
GodCropWeapons
Creates three legendary crop-based weapons: God Potato, God Posinis Potato, and God Carrot. Each weapon is a custom sword with sharpness 6, wind burst 2, knockback 1, sweeping edge 3, looting 5, efficiency 3, mending, unbreaking 3, and fire aspect 2. The plugin registers custom items with unique names, descriptions, and enchantments. Players receive these weapons through a crafting recipe or command. The plugin handles item creation, enchantment application, and ensures weapons are unbreakable and visually distinct with custom textures and colors.

I’ll create a Paper plugin with /goditems, giving the player a God Potato, God Poisonous Potato, and God Carrot carrying the requested enchantments.

Created the GodItems Paper plugin.

  • /goditems gives all three items.

  • /goditems potato

  • /goditems poisonouspotato

  • /goditems carrot

  • Permission: goditems.give — default operator

  • Items include Sharpness 6, Wind Burst 2, Knockback 1, Sweeping Edge 3, Looting 5, Efficiency 3, Mending 1, Unbreaking 3, and Fire Aspect 2.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
6 208
src/main/java/com/kodari/goditems/GodItemsPlugin.java
package com.kodari.goditems;

import java.util.Objects;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class GodItemsPlugin extends JavaPlugin {

    @Override
    public void onEnable() {
        GodItemsCommand command = new GodItemsCommand();
        PluginCommand godItemsCommand = Objects.requireNonNull(getCommand("goditems"));
        godItemsCommand.setExecutor(command);
        godItemsCommand.setTabCompleter(command);
    }
}