notsolgng12
๐Ÿ“Ž 1 file 3,489 chars
๐Ÿ“„
pasted-code-1787447005057.txt
txt 68 lines
โ–ถ
Chaos Control โ€” Legendary Clock of Time

Create a legendary magical clock named Chaos Control, an ancient artifact capable of manipulating the flow of time itself. The clock should have an ominous, mystical appearance, featuring a glowing clock face, moving gears, dark-purple and blue energy, and hands that move unnaturally fast or backward when abilities are activated.

The clock should feel extremely powerful, rare, and mysterious, with unique sound effects, particles, animations, and visual distortions for every ability.

Ability 1 โ€” Time Bubble

Create an area where time is drastically slowed for everything inside except the player who activated it.

When activated, Chaos Control creates a large spherical time-distortion field around the user.

Players and mobs inside the bubble move extremely slowly.
Projectiles inside the area are slowed dramatically.
Attack speed and movement speed of affected entities are reduced.
The player who activated Chaos Control is unaffected and can move normally.
The bubble should have a visible distorted-time effect around its edges.
Use swirling clock particles, glowing gears, and warped air effects to make the area look like time is bending.
The ability should have a cooldown and a limited duration.
Ability 2 โ€” Fast Forward

Accelerate the user's personal flow of time for 10 seconds.

When activated, the player enters an accelerated state.

Gain extreme Speed.
Gain Haste.
Make the player's movements appear unnaturally fast.
Add a subtle motion-blur or afterimage effect behind the player.
The clock hands should spin rapidly while the ability is active.
Attacks, mining, and movement should feel noticeably faster.
The effect lasts exactly 10 seconds.
After the ability ends, apply a brief exhaustion effect to prevent constant use.
Ability 3 โ€” Rewind

Rewind the user to where they were exactly 5 seconds ago.

When activated, Chaos Control records the player's recent state and sends them back through time.

After activating Rewind:

Return the player to the exact location they occupied 5 seconds earlier.
Restore their health to what it was 5 seconds earlier.
Restore their previous velocity and movement state.
Optionally restore their inventory to its state from 5 seconds earlier.
Remove damage and negative effects that were gained during those 5 seconds.
Create a powerful rewind animation showing the player's body and particles moving backward through time.
Play a distinctive clock-reversing sound effect.
The clock hands should spin backward rapidly during the rewind.
The ability should have a significant cooldown because of its powerful defensive potential.
Overall Theme

Chaos Control should feel like an artifact that gives its wielder control over the fundamental laws of time.

Its three abilities represent different forms of temporal manipulation:

Time Bubble โ†’ Slow time around you.
Fast Forward โ†’ Accelerate your own time.
Rewind โ†’ Reverse your personal timeline.

Make the clock visually react to each ability, with its hands moving at impossible speeds, reversing direction, or stopping completely depending on the ability being used.

The artifact should feel legendary, mysterious, and powerful enough to stand alongside Chronicle, while being completely focused on time manipulation.

Artifact Name: Chaos Control
Type: Legendary Time-Manipulation Clock
Theme: Time / Speed / Reversal
Abilities: Time Bubble, Fast Forward, Rewind
Kodari AI
KodariAug 23 at 1:07 am 2
ChaosControl
Legendary time-manipulation clock artifact plugin for Minecraft. Creates the Chaos Control item with three temporal abilities: Time Bubble creates a spherical distortion field slowing entities and projectiles inside while the user moves freely; Fast Forward grants 10 seconds of accelerated speed, haste, and afterimage effects with exhaustion penalty; Rewind restores player position, health, velocity, and inventory from 5 seconds prior with visual rewind animation. Features custom particles, sound effects, clock-hand animations, cooldowns, and mystical dark-purple/blue visual theme.
  1. Create the Gradle project and plugin metadata.

  2. Implement the Chaos Control clock item, commands, and interaction handling.

  3. Implement Time Bubble, Fast Forward, Rewind history, cooldowns, effects, and visuals.

Implemented the Chaos Control Minecraft plugin from scratch.

  • Added Gradle project setup and Paper metadata.

  • Added the legendary Chaos Control clock item with ability instructions.

  • Added /chaoscontrol and /cc commands:

    • give

    • bubble

    • fastforward

    • rewind

  • Added Time Bubble with:

    • Entity slowing

    • Projectile slowing

    • Particle boundary effects

    • Duration and cooldown

  • Added Fast Forward with:

    • Extreme Speed

    • Haste

    • Afterimage particles

    • Exhaustion after expiration

  • Added Rewind with:

    • Five-second movement restoration

    • Health, velocity, fire, potion, and optional inventory restoration

    • Rewind particles and sounds

    • Significant cooldown

  • Added configurable durations, radii, amplifiers, cooldowns, and inventory restoration.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
9 640
src/main/java/com/kodari/chaoscontrol/ChaosControlPlugin.java
package com.kodari.chaoscontrol;

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

public final class ChaosControlPlugin extends JavaPlugin {
    private ChaosControlManager manager;
    private NamespacedKey clockKey;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        clockKey = new NamespacedKey(this, "chaos_control_clock");
        manager = new ChaosControlManager(this, clockKey);

        getServer().getPluginManager().registerEvents(new ChaosControlListener(manager), this);
        PluginCommand command = getCommand("chaoscontrol");
        if (command != null) {
            ChaosControlCommand executor = new ChaosControlCommand(manager);
            command.setExecutor(executor);
            command.setTabCompleter(executor);
        }
    }

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