dezzy_dis19234

Give me a clock Called 'Impended' and has a 1minute cooldown and to use it is right click and when you right click it sets out black and white particals that go 9 blocks out and every entity inside the partical's area everyone is slowed down by tick speed being reduced but the holder of the clock stays at 20 ticks per second but every entity is slowed down by 5 ticks

Kodari AI
KodariJul 31 at 2:09 pm 1
Impended
Impended is a cross-version Minecraft plugin that adds a named Impended clock with a one-minute cooldown. Right-clicking the clock creates an expanding black-and-white particle field reaching nine blocks, continuously applying a five-tick high-strength slowdown to nearby living entities while keeping the activating holder unaffected. An administrative command provides the clock to players, and cooldown feedback prevents repeated activation.

</finalCreatedtheImpended Minecraft plugin with:

  • A custom Impended clock

  • Right-click activation

  • 60-second cooldown

  • Expanding black-and-white particle field reaching 9 blocks

  • Five-tick high-strength slowdown applied continuously to nearby living entities

  • Activating holder remains unaffected

  • /impended give [player] [amount] command

  • Permission: impended.give

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
8 372
src/main/java/com/kodari/impended/ImpendedPlugin.java
package com.kodari.impended;

import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class ImpendedPlugin extends JavaPlugin {
    private ImpendedItem itemFactory;
    private ImpendedAbility ability;

    @Override
    public void onEnable() {
        itemFactory = new ImpendedItem(this);
        ability = new ImpendedAbility(this);

        getServer().getPluginManager().registerEvents(new ImpendedListener(ability, itemFactory), this);

        PluginCommand command = getCommand("impended");
        if (command != null) {
            command.setExecutor(new ImpendedCommand(itemFactory));
        }
    }

    public ImpendedItem getItemFactory() {
        return itemFactory;
    }

    public ImpendedAbility getAbility() {
        return ability;
    }
}