📎
1 file
2,584 chars
📄
pasted-code-1784181222068.txt
txt
24 lines
▶
pasted-code-1784181222068.txt
txt
24 lines
Create a production-ready Minecraft Paper 1.21.11 plugin named BossTools using Java 21 and Maven. Create an original implementation from scratch without copying or decompiling any existing plugin. The plugin must include only one custom unbreakable Netherite Pickaxe named "Amethyst Drill" and one custom unbreakable Netherite Axe named "Amethyst Tree Chopper". Both tool names must be displayed in Dark Purple using Adventure Components. Do not create duplicate or normal breakable versions. No enchantments.
The Amethyst Drill must mine exactly like a premium 3×3 drill, breaking a perfectly centered 3×3 area based on the mined block face (UP/DOWN = XZ, NORTH/SOUTH = XY, EAST/WEST = YZ). It must 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 or unbreakable blocks.
The Amethyst Tree Chopper must behave exactly like a normal Netherite Axe on every non-log block. ONLY when breaking a valid Minecraft log or stem, it must instantly break the entire connected tree using a safe and optimized algorithm. It must never activate on planks, fences, slabs, stairs, stripped logs, leaves by themselves, or any non-log block.
Both tools must be completely unbreakable by cancelling durability loss.
Respect WorldGuard, GriefPrevention, Lands, Towny, Residence, PlotSquared, Factions, KingdomsX, and any other protection plugin. Never bypass BlockBreakEvent, claims, or protected regions.
Use a configurable Amethyst Block break sound from config.yml with configurable sound, volume, and pitch. Play the sound exactly ONCE per mining action from the original block only. Never play duplicate or overlapping sounds. The Tree Chopper must also play the same configurable Amethyst Block break sound exactly once whenever a tree is successfully chopped.
Do not add particle effects.
Everything must be configurable in config.yml, including tool names, lore, recipes, permissions, messages, sounds, volume, pitch, disabled worlds, whitelist/blacklist blocks, and tree settings. Do not include any cooldown system or cooldown configuration. Do not include any break-leaves option or leaf-breaking feature.
Commands:
/bt
/bosstools
/bosstools give amethystdrill
/bosstools give treechopper
/bosstools give all
Include permissions, tab completion, and reload support. Generate clean, modular, optimized, production-ready code fully compatible with Paper 1.21.11 and Java 21.
KodariJul 16 at 6:07 am 1
BossTools
A Paper 1.21.11 plugin providing two custom unbreakable Netherite tools: the Amethyst Drill (3×3 mining based on block face) and the Amethyst Tree Chopper (instant tree felling via BFS). Features include configurable names, lore, recipes, sounds, disabled worlds, and block whitelist/blacklist. Fully respects protection plugins through BlockBreakEvent. No enchantments, no cooldowns, no particles. Commands with tab completion and reload support.
I’ll create all files for the BossTools plugin
[Generation stopped]
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code