iqled.

make me a 1.21.11 paper plugin that when typing "/bankai give s", it gives me a custom clock that is regular and named bankai. but upon right clicking it, it becomes enchanted temporarily and every player in a 16 block radius from the person who is using the clock has an upsidedown screen, and their minecraft movements are inverted. have it so the person that actually pressed right click on the clock aka the wielder of it doesnt get affected from the effects but if the clock is dropped it then effects them. have this effect last 30 seconds and have the clock have a 60 second cooldown. upon the effect ending the clock is no longer enchanted and its back to normal. give it the ender pearl hotbar cooldown effect, also have it so if the person with the clock moves the radius moves along with them and if someone is out of the radius they arent effected. give the wielder of the clock strength 5 for the duration of the overall effect and when it ends remove it.

Kodari AI
KodariSep 13 at 12:48 am 1
BankaiClockPlugin
Creates a custom clock item via "/bankai give s" that grants the wielder Strength 5 for 30 seconds on right-click. During the effect, all players within a 16-block radius (excluding the wielder) have inverted controls and an upside-down screen. The radius follows the wielder; players leaving it are unaffected. The clock becomes enchanted during the effect, reverts after, and has a 60-second cooldown shown via the ender pearl hotbar cooldown. If dropped, the wielder becomes affected by the effects.

Created the Paper 1.21.11 Bankai plugin with:

  • /bankai give s gives a clock named Bankai

  • Right-click activates it for 30 seconds

  • 60-second cooldown with Ender Pearl-style hotbar cooldown

  • Clock gains an enchantment glow while active

  • Strength V applied to the wielder

  • Players within 16 blocks receive inverted camera movement and reversed movement controls

  • The effect radius follows the wielder

  • The wielder is excluded while still carrying the active clock

  • Dropping the clock causes the wielder to be affected

  • Effects and enchantment are removed when Bankai ends

iqled.

have it so when the bankai is on cooldown its visible on the hotbar like an enderpearl. and also make it so the clocks name is Obfusicated. also make the wielder have enchanting table particle effects when the ability is activated

Kodari AI
KodariSep 13 at 12:52 am 1
  1. Make the Bankai cooldown render as an Ender Pearl-style hotbar cooldown.

  2. Change the clock’s displayed name to obfuscated “Bankai”.

  3. Add enchanting-table particles to the wielder when activation starts.

  1. Cooldown: changed the cooldown group from Ender Pearl to Clock so the custom clock itself shows the standard hotbar cooldown overlay.

  1. Cooldown overlay: the custom clock now displays the standard hotbar cooldown progress.

  2. Obfuscated name: the clock is named Bankai using the obfuscated text effect.

  3. Activation particles: the wielder now emits enchanting-table particles when Bankai activates.

iqled.

when using the bankai i dont want it to show up in chat unless your op, and i also want it to have a visible use effect.

Kodari AI
KodariSep 13 at 1:25 am 1
  1. Restrict Bankai activation, cooldown, and duplicate-use messages to operators.

  2. Add an unmistakable activation animation: forced hand swing plus a larger enchanting particle burst around the wielder.

  • Non-OP players no longer receive Bankai activation, cooldown, or duplicate-use messages.

  • OPs still receive those messages.

  • Activation now visibly swings the wielder’s hand and creates a larger enchanting particle burst with an additional End Rod particle effect.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
7 420
src/main/java/com/example/bankai/BankaiPlugin.java
package com.example.bankai;

import org.bukkit.plugin.java.JavaPlugin;

public final class BankaiPlugin extends JavaPlugin {
    private BankaiEffectManager effectManager;

    @Override
    public void onEnable() {
        BankaiItem bankaiItem = new BankaiItem(this);
        this.effectManager = new BankaiEffectManager(this, bankaiItem);

        getCommand("bankai").setExecutor(new BankaiCommand(bankaiItem));
        getServer().getPluginManager().registerEvents(effectManager, this);
        effectManager.start();
    }

    @Override
    public void onDisable() {
        if (effectManager != null) {
            effectManager.shutdown();
        }
    }
}