rkboss95yt

Create a production-ready Minecraft Paper 1.21.11 plugin using Java 21 and Maven. Generate a DonutTools-style plugin with only custom unbreakable Netherite Pickaxe and Axe. No enchantments. Include an Amethyst Drill that mines a 3×3 area and an Instant Tree Chopper that instantly breaks the entire connected tree. Tools must break all normal survival blocks but must NEVER break Bedrock, Barrier, Command Blocks, Structure Blocks, Structure Void, Jigsaw, Light Blocks, End Portal Frames, Reinforced Deepslate, Spawners, or any other illegal/unbreakable blocks. Add a fully configurable config.yml for the Amethyst Block break sound, including custom sound, volume, and pitch. Code must be optimized, configurable, and production-ready.

Kodari AI
KodariJul 16 at 3:36 am 1

I’ll create a DonutTools-style plugin with custom unbreakable netherite tools, an Amethyst Drill (3×3 mining), and an Instant Tree Chopper.

DonutTools
A DonutTools-style plugin with four custom unbreakable Netherite tools: Pickaxe, Axe, Amethyst Drill (3×3 area mining), and Instant Tree Chopper (breaks entire connected trees). Tools break all survival blocks but never unbreakable blocks. Fully configurable amethyst break sound with config.yml support for custom sound, volume, and pitch. Optimized for Paper 1.21.
rkboss95yt
📎 1 file 1,262 chars
📄
pasted-code-1784173763913.txt
txt 1 lines
▶
Create a production-ready Minecraft Paper 1.21.11 plugin using Java 21 and Maven. Generate a DonutTools-style plugin with only one custom unbreakable Netherite Pickaxe (Amethyst Drill) and one custom unbreakable Netherite Axe (Tree Chopper). Do not create duplicate or normal breakable versions. No enchantments. The Amethyst Drill must mine exactly like the original DonutTools drill, breaking a perfectly centered 3×3 area based on the block face mined (UP/DOWN = XZ, NORTH/SOUTH = XY, EAST/WEST = YZ). The Tree Chopper must instantly break the entire connected tree. Both tools must be completely unbreakable and cancel durability loss. Break all normal survival blocks but NEVER break Bedrock, Barrier, Command Blocks, Structure Blocks, Structure Void, Jigsaw, Light Blocks, End Portal Frames, Reinforced Deepslate, Spawners, or any other illegal/unbreakable blocks. Respect all protection plugins and NEVER bypass WorldGuard, GriefPrevention, Lands, Towny, Residence, PlotSquared, or any land-claim system. Both tools must play a configurable Amethyst Block break sound using config.yml with customizable sound, volume, and pitch. Code must be optimized, configurable, production-ready, and recreate the gameplay mechanics from scratch without copying code.
Kodari AI
KodariJul 16 at 3:53 am 1

Looking at the request, I’ll build a polished DonutTools plugin with:

  1. Amethyst Drill (Netherite Pickaxe) — 3×3 area mining based on block face

  2. Tree Chopper (Netherite Axe) — breaks entire connected tree instantly

  3. Both unbreakable, no enchants, respect all protection plugins

  4. Configurable amethyst break sound

  5. Never breaks illegal/unbreakable blocks

Let me create the full project structure.

Kodari can make mistakes. Review important code before using.
Files
src
pom.xml
Code
11 670
src/main/java/com/donuttools/DonutToolsPlugin.java
package com.donuttools;

import com.donuttools.command.GiveToolCommand;
import com.donuttools.config.ConfigManager;
import com.donuttools.tool.ToolListener;
import com.donuttools.tool.ToolManager;
import org.bukkit.plugin.java.JavaPlugin;

public class DonutToolsPlugin extends JavaPlugin {

    private static DonutToolsPlugin instance;
    private ConfigManager configManager;
    private ToolManager toolManager;

    @Override
    public void onEnable() {
        instance = this;

        saveDefaultConfig();

        this.configManager = new ConfigManager(this);
        this.toolManager = new ToolManager(this);

        getServer().getPluginManager().registerEvents(new ToolListener(this), this);

        var command = getCommand("donuttools");
        if (command != null) {
            command.setExecutor(new GiveToolCommand(this));
        }

        getLogger().info("DonutTools enabled — Amethyst Drill & Tree Chopper ready.");
    }

    @Override
    public void onDisable() {
        getLogger().info("DonutTools disabled.");
    }

    public static DonutToolsPlugin getInstance() {
        return instance;
    }

    public ConfigManager getConfigManager() {
        return configManager;
    }

    public ToolManager getToolManager() {
        return toolManager;
    }
}