angadraghav664-a11y
📎 1 file 2,475 chars
📄
pasted-code-1781284489180.txt
txt 1 lines
▶
Create a Minecraft Paper/Spigot plugin named "CoreSystemX". VERSION: - Minecraft 1.20 to 1.21 compatible - Java (Bukkit/Paper API) GOAL: A 10-core ability system plugin where players select a core and gain powers. ---------------------------------------- CORE SYSTEM: ---------------------------------------- Players can use: /core  Cores: 1. FIRE 2. LIGHTNING 3. WATER 4. EARTH 5. AIR 6. ICE 7. BLOOD 8. POISON 9. GUARDIAN 10. VOID (most OP / GOD CORE) ---------------------------------------- CORE ABILITIES: ---------------------------------------- FIRE: - Fireball attack - Burn enemy (5 sec) - Fire immunity LIGHTNING: - Lightning strike ability - Speed II permanent - Shock chance stun WATER: - Water breathing - Heal in water - Water shield (damage reduction) - Walk on water EARTH: - High damage resistance (40%) - Knockback immunity - Stone armor buff - Earth smash AoE AIR: - Double jump - Short flight burst (3-5 sec) - Speed III - Air dash ICE: - Freeze enemies - Slowness aura - Ice trap ability BLOOD: - Life steal (20%) - Strength increases at low HP - Heal on kill POISON: - Poison aura - Poison arrows - Weakness effect on hit GUARDIAN: - Shield block ability - High defense - Knockback resistance - Heal nearby allies slowly ---------------------------------------- VOID CORE (VERY IMPORTANT - MUST BE OP): ---------------------------------------- Abilities: /core void → activates void dash + damage /core void fly → toggles flight ON/OFF VOID POWERS: - Teleport dash (5 blocks forward) - Damage all nearby entities (AOE 5 radius) - Fly mode like creative (toggle) - Gravity pull effect (pull enemies) - Dark particles (dragon breath / purple) - Teleport sound effect PASSIVE: - No fall damage - Night vision - Chance to dodge attacks (10%) ---------------------------------------- COMMANDS: ---------------------------------------- /core  → select core /core void → use void power /core void fly → toggle flight ---------------------------------------- REQUIREMENTS: ---------------------------------------- - Use CoreType enum - CoreManager using HashMap - Separate VoidCore class - CoreCommand class handling all commands - Main plugin class extending JavaPlugin - plugin.yml included - Clean, working, error-free code - No missing imports - Fully compilable project ---------------------------------------- OUTPUT FORMAT: ---------------------------------------- Give full working project with all Java files and plugin.yml.
Kodari AI
KodariJun 12 at 5:26 pm 58
CoreSystemX
A 10-core ability plugin where players select a power core and gain unique abilities. Cores include Fire, Lightning, Water, Earth, Air, Ice, Blood, Poison, Guardian, and the god-tier Void core. Each core grants passive buffs, active right-click abilities, and combat-modifying effects. The Void core offers teleport dashing, AoE damage, toggleable flight, gravity pull, and dark particles.

Plan:

  1. plugin.yml — manifest

  2. CoreType.java — enum for all 10 cores

  3. CoreManager.java — UUID → CoreType map, cooldowns, passive scheduler tasks

  4. VoidCore.java — void dash, AoE, gravity pull, particle effects

  5. CoreCommand.java — /core <type>, /core void, /core void fly

  6. listener/CoreListener.java — all combat, movement, flight, interact events

  7. CoreSystemX.java — main plugin class


Here’s a full breakdown of everything built:

Files created

File
Purpose
plugin.yml
Command registration, api-version 1.20
CoreType.java
Enum — all 10 cores with display name & description
CoreManager.java
UUID→CoreType map, cooldowns, 4 scheduled passive tasks
VoidCore.java
Void dash, AoE, gravity pull, particle bursts
CoreCommand.java
/core <type>
,
/core void
,
/core void fly
CoreListener.java
All 7 event handlers + 9 active ability methods
CoreSystemX.java
Main plugin class

Core abilities summary

Core
Passive
Active (right-click air)
Fire
Fire immunity, burn on hit
Launch Fireball (10s CD)
Lightning
Speed II, 30% shock stun
Lightning strike 15 blocks ahead (12s)
Water
Water breathing, heal in water, 20% DR, walk on water
Resistance II + Absorption for 8s (15s)
Earth
40% damage resist, knockback immunity
AoE smash — 5 block radius, knockback (15s)
Air
Speed III, allow-flight double jump
Air dash + 3s flight burst (8s)
Ice
Slowness aura on nearby enemies
Freeze — Slowness VI + Mining Fatigue (12s)
Blood
Lifesteal 20%, Strength at low HP, heal on kill
Blood surge — heal 4♥ + Strength II (20s)
Poison
Poison aura, weakness on hit, poisoned arrows
Poison bomb AoE (12s)
Guardian
Resistance I, 30% DR, knockback resist, ally heal
Shield — Resistance IV + protect allies (20s)
Void
No fall dmg, Night Vision, 10% dodge, particles
/core void
— dash+AoE+gravity pull;
/core void fly
— toggle flight
Kodari can make mistakes. Review important code before using.
Files
src
Code
7 978
src/main/java/com/coresystemx/CoreSystemX.java
package com.coresystemx;

import com.coresystemx.listener.CoreListener;
import org.bukkit.plugin.java.JavaPlugin;

public class CoreSystemX extends JavaPlugin {

    private static CoreSystemX instance;
    private CoreManager coreManager;

    @Override
    public void onEnable() {
        instance = this;
        this.coreManager = new CoreManager(this);

        getCommand("core").setExecutor(new CoreCommand(this, coreManager));
        getServer().getPluginManager().registerEvents(new CoreListener(this, coreManager), this);

        coreManager.startPassiveTasks();

        getLogger().info("CoreSystemX enabled — 10 cores ready.");
    }

    @Override
    public void onDisable() {
        coreManager.cleanup();
        getLogger().info("CoreSystemX disabled.");
    }

    public static CoreSystemX getInstance() { return instance; }
    public CoreManager getCoreManager() { return coreManager; }
}