Henry Heffernan

make a god mace with all enchants

Kodari AI
KodariSep 15 at 8:26 pm 1
GodMace
GodMace is a Minecraft plugin that introduces a legendary mace weapon with all possible enchantments applied. When a player crafts or receives the God Mace, the plugin automatically applies every enchantment available in the game at maximum level, including sharpness, fire aspect, looting, unbreaking, mending, and more. The plugin provides a custom crafting recipe using rare materials like netherite ingots and diamonds, along with a permission-based command to give the mace to players. The God Mace features unique glowing particle effects and a custom display name, making it a highly sought-after endgame weapon. The plugin ensures enchantment compatibility and handles edge cases where certain enchantments cannot coexist.
  1. Set up a Paper 1.21.4 Gradle plugin project with XSeries.

  2. Add a /godmace command with permission handling.

  3. Generate a mace carrying every registered enchantment at its maximum level.

Created the God Mace plugin.

  • Command: /godmace or /mace

  • Permission: godmace.use — default operator

  • Gives a mace with every registered enchantment at maximum level

  • Includes Paper 1.21.4 and XSeries Gradle setup

Henry Heffernan

make a god potato with 9 attack damage

Kodari AI
KodariSep 15 at 8:32 pm 1
  1. Change the generated weapon to a potato and rename its display/messages.

  2. Add a hand attack-damage modifier so the potato shows 9 attack damage.

  3. Preserve the existing /godmace command and add /godpotato//potato aliases for the new item.

Updated the plugin to give a God Potato:

  • Uses a potato instead of a mace.

  • Applies every registered enchantment at maximum level.

  • Adds +8 attack damage, resulting in 9 total attack damage.

  • Renames the item and messages to “God Potato”.

  • Existing /godmace command still works.

  • Added aliases: /godpotato and /potato.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
5 126
src/main/java/com/example/godmace/GodMacePlugin.java
package com.example.godmace;

import org.bukkit.plugin.java.JavaPlugin;

public final class GodMacePlugin extends JavaPlugin {

    @Override
    public void onEnable() {
        if (getCommand("godmace") == null) {
            getLogger().severe("The god potato command could not be registered.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        getCommand("godmace").setExecutor(new GodMaceCommand());
    }
}