E

Develop a comprehensive Mini Boss plugin for Minecraft Paper/Purpur (1.21.x) that introduces customizable, stronger vanilla mobs with unique abilities. Each Mini Boss should be fully configurable via YAML, featuring attributes like display name, health, damage, movement speed, armor, and specialized abilities such as Earth Slam or Fire Burst, complete with cooldowns, effects, and configurable damage. Implement a robust AI system that targets players, has world and biome restrictions for spawning, and includes commands for spawning, killing, and managing bosses, alongside loot tables for rewards, damage tracking, and detailed fight statistics displayed upon defeat.

Kodari AI
KodariJul 29 at 9:25 pm 5
MiniBossForge
MiniBossForge adds customizable mini bosses to Paper and Purpur servers running Minecraft 1.21.x. Administrators define stronger vanilla mobs with configurable health, damage, armor, speed, display names, spawn rules, biome and world restrictions, loot tables, and abilities such as Earth Slam and Fire Burst. The plugin provides targeted boss AI, cooldown-based effects, automatic spawning, manual management commands, damage tracking, rewards, and detailed fight statistics when bosses are defeated.
  1. Create the Gradle project and plugin metadata.

  2. Implement configurable boss definitions, abilities, loot, and active-fight tracking.

  3. Add boss spawning, targeting, combat handling, statistics, and automatic spawn checks.

  4. Add administrative commands and the default YAML configuration.

E

Make so u can spawn the miniboss anywhere

Kodari AI
KodariJul 29 at 9:28 pm 2

Updated /miniboss spawn <id> so manually spawned Mini Bosses can appear anywhere, ignoring configured world and biome restrictions.

Automatic spawning still respects all configured restrictions.

E

Okay i like them now what i want you do give me them some unique cool moves based on their personality like earth guardian and change the flame buster with zombified hoglin

Kodari AI
KodariJul 29 at 9:34 pm 3
  1. Add personality-based abilities for the Earth Guardian.

  2. Change Flame Buster’s base mob to a zombified hoglin and update its defaults.

  1. Earth Guardian: add two earth-themed moves—STONE_SPIKES and EARTHQUAKE—with configurable damage, radius, knockback, and effects.

  2. Flame Buster: switch its base entity to ZOMBIFIED_HOGLIN and update its fiery combat profile.

  1. Earth Guardian abilities

    • Added STONE_SPIKES: damages nearby players and applies configurable slowness.

    • Added EARTHQUAKE: creates expanding shockwave rings, damages players, knocks them back, and applies weakness.

    • Both abilities include configurable cooldowns, radius, damage, knockback, particles, and effects.

  2. Flame Brute

    • Changed its entity from ZOMBIFIED_PIGLIN to ZOMBIFIED_HOGLIN.

    • Increased its default health, damage, and armor to match the stronger hoglin design.

Reload the plugin with:

Plain Text
/miniboss reload
E

Okay so make earth guardian hp 150 give him LIKE ACTUCAL MOVES

Kodari AI
KodariJul 29 at 9:50 pm 6
  1. Set Earth Guardian’s configured health to 150.

  2. Replace its basic effects with visible, combat-focused moves that actively attack nearby players.

Earth Guardian is now 150 HP and has actual combat moves:

  • Earth Slam — close-range damage, knockback, and slowness.

  • Stone Spikes — damages nearby players with stone particle effects.

  • Earthquake — heavy area damage, knockback, and weakness.

  • Rock Throw — launches a visible stone projectile effect toward its target.

  • Ground Charge — charges toward the target, creates a cracking-earth trail, and knocks players back.

The new moves are fully configurable in config.yml, including cooldowns, damage, radius, knockback, and potion effects.

E

The compilation failed with this error:

code
Compilation failed with 1 error(s):

ERROR in src/main/java/com/kodari/minibossforge/ability/AbilityExecutor.java at line 162: incompatible types: LivingEntity cannot be converted to Player
            applyEffects(target, ability.getEffects());
                         ^


=== COMPILATION ERROR ANALYSIS ===

TYPE MISMATCHES:
  - incompatible types: LivingEntity cannot be converted to Player
ACTION: Fix variable types or casting

FILES TO INVESTIGATE:
  - src/main/java/com/kodari/minibossforge/ability/AbilityExecutor.java

Please fix this error by creating a new artifact with the corrected code.

Kodari AI
KodariJul 29 at 9:51 pm 1

Fixed the compilation error in AbilityExecutor.java by changing applyEffects to accept LivingEntity, which matches the target parameter used by rockThrow.

The method still works for players and now supports any living target.

E

Okay make the moves craizer and buff it make have 200 hp and effects like resistance strengtch etc

Kodari AI
KodariJul 29 at 10:03 pm 4
  1. Increase Earth Guardian to 200 HP and add stronger permanent combat effects.

  2. Upgrade its abilities with heavier damage, larger impact areas, and more dramatic effects while keeping them configurable.

Earth Guardian has been heavily buffed:

  • Health: 200 HP

  • Damage: 22

  • Armor: 24

  • Speed: 0.34

  • Target range: 36 blocks

  • Permanent effects:

    • Resistance II

    • Strength II

    • Fire Resistance

    • Absorption III

Its moves are now more powerful:

  • Earth Slam: 32 damage, large 8-block radius, strong knockback

  • Stone Spikes: 28 damage, 9-block radius, Slowness II

  • Earthquake: 42 damage, 12-block radius, heavy knockback and Weakness III

  • Rock Throw: 34 damage, 24-block range, knockback and Blindness

  • Ground Charge: 48 damage with powerful knockback

  • Fire Burst: 26 damage, fire damage, Weakness, and Slowness

The boss effects are now configurable through the new effects section in config.yml. Reload with:

Plain Text
/miniboss reload
E

OKAY I SAID MAKE IT STRONGER BUT NOT LIKE THAT MAKE LIKE ACTUCALLY DEFETABLE

Kodari AI
KodariJul 29 at 10:05 pm 2
  1. Reduce Earth Guardian’s defenses and attack power to a strong but manageable level.

  2. Tone down each move’s damage, radius, knockback, and crowd-control effects while keeping its personality and variety.

  3. Keep Resistance and Strength, but lower them to level I and remove the extra Absorption buffer.

Earth Guardian is now strong but defeatable:

  • Keeps 200 HP, but armor is reduced to 16.

  • Damage reduced to 14.

  • Movement speed reduced to 0.30.

  • Resistance and Strength reduced to level I.

  • Removed Absorption.

  • Earth Slam: 14 damage.

  • Stone Spikes: 11 damage.

  • Earthquake: 20 damage.

  • Rock Throw: 13 damage.

  • Ground Charge: 22 damage.

  • Fire Burst: 12 damage.

  • Reduced ability radii, knockback, crowd control, and fire duration.

It should still feel like a boss while allowing players to defeat it through normal combat.

E

AND MOST OF THE MOVES DOESNT WORK FIX THAT TOO

Kodari AI
KodariJul 29 at 10:06 pm 4
  1. Fix the particle calls that abort abilities on 1.21 because BLOCK_CRACK requires block-data payload.

  2. Make ranged and charge attacks reliably hit their selected target instead of depending on fragile distance checks.

  3. Remove the unnecessary line-of-sight restriction so the boss AI can consistently acquire players and use its moves.

Fixed the move system so Earth Guardian’s abilities can reliably activate and hit players:

  • Replaced invalid BLOCK_CRACK particle calls with safe particles. On 1.21, those calls can fail without block-data and stop the move midway.

  • Fixed Rock Throw so it uses the configured maximum range correctly.

  • Fixed ranged damage checks so the selected target is actually hit.

  • Fixed Ground Charge particle effects so the charge does not fail from invalid particle data.

  • Removed the line-of-sight requirement from target selection, allowing the boss to acquire nearby players consistently.

Reload the plugin:

Plain Text
/miniboss reload

The moves should now execute instead of silently failing.

E

okay make his health 300 and i want you to add where u can teleport the minibosses when ever they spawn it can be teleported to it and whenever the boss dead players can go to their bed with the commands and make it so they dont spawn naturally and should only with the admin

Kodari AI
KodariJul 29 at 10:31 pm 5
  1. Set Earth Guardian’s health to 300 and disable natural Mini Boss spawning.

  2. Add an admin-only command to teleport to an active Mini Boss.

  3. Return participating players to their beds when the boss dies, with an admin/player command flow.

Implemented:

  • Earth Guardian health increased to 300 HP.

  • Natural spawning disabled with settings.automatic-spawning: false.

  • Mini Bosses can now be spawned only through the admin command:

    Plain Text
    /miniboss spawn <id>
    
  • Added admin teleport command:

    Plain Text
    /miniboss tp
    /miniboss tp <id>
    

    Without an ID, it teleports to the nearest active boss.

  • Players who damaged the boss are automatically teleported to their bed when the boss is defeated.

  • Players without a bed are safely skipped.

  • Added tab completion and messages for the teleport command.

Reload the plugin:

Plain Text
/miniboss reload
E

make it so u can go to there optional not by forced

Kodari AI
KodariJul 29 at 10:34 pm 5
  1. Remove automatic bed teleportation when a boss dies.

  2. Track participants as eligible for an optional return and add /miniboss bed (also /miniboss return).

  3. Allow participating players to use that command without admin permission, while keeping all management commands admin-only.

Bed returns are now optional:

  • Players are not teleported automatically when a boss dies.

  • Eligible participants can use:

    Plain Text
    /miniboss bed
    

    or:

    Plain Text
    /miniboss return
    
  • The command returns them to their bed only if they participated in the defeated boss fight.

  • Management commands remain admin-only.

  • Added tab completion and messages for the optional bed-return command.

E

and make it so u can tp to the by optional

Kodari AI
KodariJul 29 at 10:34 pm 2

Teleporting to a boss is now optional for everyone:

Plain Text
/miniboss tp

Teleports you to the nearest active boss.

Plain Text
/miniboss tp <boss-id>

Teleports you to a specific active boss.

Players are no longer forced to teleport when a boss spawns or dies. Admin-only management commands such as spawn, kill, and reload remain protected.

E

And make it so that it announces that earth guardian is spawned

Kodari AI
KodariJul 29 at 10:37 pm 2

Added a server-wide announcement whenever a mini boss spawns.

Default message:

Plain Text
Earth Guardian has spawned!

It is configurable in config.yml:

YAML
settings:
  announce-spawn: true

messages:
  boss-spawn-announcement: "&c{name} &ahas spawned!"

The announcement works for both admin-spawned and automatic spawns.

E

🌊 Ocean Boss — Elder Tide Guardian

Base Mob: Elder Guardian

Abilities

Water Beam – Fires a stronger Guardian laser.

Tidal Push – Pushes nearby players away with a burst of water.

Guardian Call – Summons 2 Guardians.

Bubble Trap – Bubble Columns appear under nearby players for a few seconds. 🔥 Nether Boss — Magma Colossus

Base Mob: Magma Cube

Abilities

Lava Leap – Performs a massive jump that damages nearby players.

Molten Trail – Leaves small lava patches after jumping.

Magma Burst – Shoots several Magma Cream projectiles.

Cube Spawn – Occasionally summons small Magma Cubes.

Kodari AI
KodariJul 29 at 10:56 pm 16
  1. Add the Ocean Boss — Elder Tide Guardian with its four abilities.

  2. Add the Nether Boss — Magma Colossus with its four abilities.

  3. Register both bosses, commands, announcements, and configuration without enabling natural spawning.

Added both new minibosses with their requested abilities:

  • Ocean Boss — Elder Tide Guardian

    • Water Beam

    • Tidal Push

    • Guardian Call: summons 2 Guardians

    • Bubble Trap

    • Elder Guardian base mob, ocean biome restrictions, water-themed effects and loot

  • Nether Boss — Magma Colossus

    • Lava Leap

    • Molten Trail

    • Magma Burst: fires 3 magma projectiles

    • Cube Spawn: summons 2 small Magma Cubes

    • Magma Cube base mob, Nether biome restrictions, fire resistance and Nether loot

Also added Magma Cube sizing so the Colossus appears as a large boss.

Both are configured with:

YAML
chance: 0.0

Natural spawning remains disabled. Admins can spawn them manually:

Plain Text
/miniboss spawn ocean_guardian
/miniboss spawn magma_colossus

The existing spawn announcement will broadcast their configured names.

E

Okay make the magma colossul health 100 and give them more moves or somenthing coolor and make so lavas disappear after while

Kodari AI
KodariJul 29 at 11:04 pm 5
  1. Set Magma Colossus health to 100.

  2. Add a fitting extra magma ability.

  3. Make its temporary lava patches automatically disappear.

  • Magma Colossus health: reduced to 100 HP.

  • Added a new Lava Pillar ability:

    • Creates a fiery pillar under the target.

    • Damages and launches nearby players.

    • Applies fire and weakness.

    • Uses flame/lava particles and an explosion sound.

  • Molten Trail lava now disappears after 5 seconds and restores the blocks that were there before.

Reload the plugin with:

Plain Text
/miniboss reload

The new ability is configured with a 16-second cooldown.

E

now do this for elder tribe boss too

Kodari AI
KodariJul 29 at 11:05 pm 2

Added a new ability for the Elder Tide Guardian:

  • Health reduced to 100 HP.

  • Added Water Vortex:

    • Pulls nearby players toward the boss.

    • Deals damage.

    • Applies Mining Fatigue and Slowness.

    • Uses a water-ring particle effect and splash sound.

  • Configured with a 16-second cooldown.

Reload the plugin:

Plain Text
/miniboss reload

Spawn it with:

Plain Text
/miniboss spawn ocean_guardian
E

I told you the change the health of them dude

Kodari AI
KodariJul 30 at 11:56 am 2

Both new bosses are already set to 100 health in the plugin configuration:

  • Elder Tide Guardian: health: 100.0

  • Magma Colossus: health: 100.0

The entity setup also applies that value to their max health. If the server is still showing the old health, reload/restart the plugin and update the existing server’s config.yml; changing the bundled default does not overwrite an already-created config file.

E

it still has the same health has magma cube make sure all of them right and the plugin

Kodari AI
KodariJul 30 at 12:02 pm 2

Fixed the Magma Colossus setup so its size is applied before its health:

  • Magma Cube size is set first.

  • Max health is then set to the configured value.

  • Current health is applied afterward.

  • This prevents setSize(4) from resetting the boss back to the normal Magma Cube health.

The Elder Tide Guardian also uses the configured health correctly.

Set these values in the server’s actual plugins/MiniBossForge/config.yml:

YAML
ocean_guardian:
  health: 100.0

magma_colossus:
  health: 100.0

Then run:

Plain Text
/miniboss reload

Already-spawned bosses will keep their old health, so remove them and spawn them again:

Plain Text
/miniboss kill magma_colossus
/miniboss spawn magma_colossus
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
14 1,763
src/main/java/com/kodari/minibossforge/MiniBossForge.java
package com.kodari.minibossforge;

import com.kodari.minibossforge.command.BossCommand;
import com.kodari.minibossforge.listener.BossListener;
import com.kodari.minibossforge.manager.BossManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class MiniBossForge extends JavaPlugin {
    private BossManager bossManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        this.bossManager = new BossManager(this);
        this.bossManager.loadDefinitions();

        BossListener listener = new BossListener(this.bossManager);
        Bukkit.getPluginManager().registerEvents(listener, this);

        BossCommand command = new BossCommand(this.bossManager);
        if (getCommand("miniboss") != null) {
            getCommand("miniboss").setExecutor(command);
            getCommand("miniboss").setTabCompleter(command);
        }

        long spawnInterval = Math.max(1L, getConfig().getLong("settings.spawn-check-interval-seconds", 10L)) * 20L;
        Bukkit.getScheduler().runTaskTimer(this, this.bossManager::tick, 20L, 10L);
        Bukkit.getScheduler().runTaskTimer(this, this.bossManager::runAutomaticSpawnCheck, spawnInterval, spawnInterval);
    }

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

    public BossManager getBossManager() {
        return this.bossManager;
    }
}