make a battle plugin with me we will go throw each attacks
1 Choas slash /chh
creade black partical around you if you hgave a sword or enchanted sword then when you relase sneak shoots a slash it knockbacks enemy does 100 damige and throw them throw walls breaking trhem knocking about 300 blocks
Minecraft plugin
There are no projects in this workspace yet. Should I create a new Minecraft plugin project for this battle plugin, or is it for an existing project you’ll add here? If new, what Minecraft server version should it target?
yes
What Minecraft server version should it target? Also, should Chaos Slash actually break blocks in its path, or pass through walls without changing them? Is the knockback meant to launch enemies about 300 blocks?
26.2 lauince them 300 blocks taking them with it
I’ve started implementing Chaos Slash for Minecraft 26.2: /chh enables the ability, dark particles appear while you hold a sword, and releasing sneak fires a slash that deals 100 damage and carries an enemy up to 300 blocks while breaking blocks in its path.
…tree, so I’ll use the standard Paper API calls I’m confident in. Next I’m checking the exact Paper 26.2 dependency coordinates.Plan:
Build files:
settings.gradle.kts,build.gradle.kts,plugin.ymlPlugin entrypoint and
/chhcommandAura particles, sneak-release trigger, and lifecycle cleanup
Slash travel: block breaking, the 100-damage hit, and carrying the target for up to 300 blocks
Creating the project files now.Files are written. The Gradle dependency line I used is a guess, so I’m checking the real Paper 26.2 coordinates before finishing.Chaos Slash is written across 8 files (build config, plugin.yml, and 5 Java classes in com.kodari.chaosslash). I haven’t compiled it, so it’s untested.
/chh: toggles armed state, gated bychaosslash.use(default true), with feedback on arm, disarm, or no permission.Aura: while armed and holding any
*_SWORDin the main hand, black dust and smoke spawn around the player. No enchantment needed.Trigger: fires on sneak release only, using a press/release set so each press/release pair activates once. Only one slash per player at a time.
Travel: the slash moves 3 blocks per tick for 300 blocks, sampling the path so only blocks it actually crosses are considered. Each block goes through
BlockBreakEvent, so protection plugins can cancel it. Bedrock, barriers, command blocks, and similar are skipped. It stops at world height, border, or unloaded-chunk limits.Hit: the first living enemy touching the slash takes 100 damage through
damage(100, caster). The hit only counts if health actually drops. That enemy is then teleported with the slash for the rest of its travel.PvP: players are only hit when
world.getPVP()is on, and spectators are ignored.Lifecycle: quitting cancels that player’s slash and state;
onDisablecancels the aura task and all slashes, and releases carried targets.
Things to know:
Armor and resistance still reduce the final damage. 100 is the raw amount passed to Bukkit. If you want true armor-bypass, that needs a separate change.
100 damage will usually kill the target. Mobs keep being carried through their death animation. A dead player’s carry is not specially handled.
The slash travels and breaks blocks even when nothing is hit, which matches “travel through walls,” but it also means misses still tear up terrain.
The Gradle dependency is
paper-api:26.2.build.+on the Java 25 toolchain. The Paper docs I found show the26.3pattern, so I extrapolated the26.2form.All server calls are Bukkit API, so no NMS was needed. The library tree didn’t include the Bukkit declarations, so those signatures are from my knowledge of the Paper API, not verified against the mounted source.
Chaos Slash is implemented and the Minecraft 26.2 plugin compiled successfully.
Use /chh to toggle it on or off. While it’s active and you’re holding a sword, black particles appear; press and release sneak to launch the slash. It can deal 100 damage, carry a hit enemy up to 300 blocks, and break blocks along its path. Armor and resistance can reduce the damage, and protection plugins can prevent block breaking.
Next attack only add this do not change anything from the privees feature
Black hole /bhh makes a big tube out of BLACK particals that pulls players and mobs a like and once there touch the partical they take around 8 damige
Should
[Generation stopped]
No files in this session