nicha2ofc

Develop a 3D pet plugin based on the specified image, featuring unique attack animations and an animated wing system. Include customizable stats, a leveling system, and the ability for players to summon and dismiss their pets with ease.

1 image attached
Kodari AI
KodariSep 6 at 4:27 am 2
AnimatedPetCompanion
A 3D pet companion plugin enabling players to summon and dismiss animated pets. Features unique attack animations, a dynamic wing system with flapping physics, customizable stats, and an RPG-style leveling system. Pets follow owners, engage in combat with custom attack sequences, and visually evolve as they gain experience. Includes configuration for pet types, growth rates, and ability unlocks.
  1. Core plugin lifecycle and persistence.

  2. Configurable pet stats, leveling, summon/dismiss commands, and combat XP.

  3. Display-entity model with animated wings and attack lunges.

  4. Paper/Gradle resources and default configuration.

Created the complete VoidboundPets Paper plugin with:

  • 3D display-entity pet model inspired by the purple voidbound knight

  • Animated wings, floating movement, glowing components, staff, crown, and core

  • Automatic monster targeting and animated attack lunges

  • Configurable health, damage, attack range, cooldown, follow distance, wing speed, and XP

  • Persistent pet levels, experience, and kill counts

  • /voidpet, /pet, and /pets commands:

    • summon

    • dismiss

    • toggle

    • stats

    • help

  • Player quit cleanup and persistent YAML storage

  • Gradle/Paper setup with Lombok and XSeries support

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
14 750
src/main/java/com/kodari/voidboundpets/VoidboundPetsPlugin.java
package com.kodari.voidboundpets;

import com.kodari.voidboundpets.command.PetCommand;
import com.kodari.voidboundpets.listener.PetListener;
import com.kodari.voidboundpets.pet.PetManager;
import com.kodari.voidboundpets.pet.PetSettings;
import com.kodari.voidboundpets.storage.PetStorage;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class VoidboundPetsPlugin extends JavaPlugin {

    private PetSettings settings;
    private PetStorage storage;
    private PetManager petManager;

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

        settings = PetSettings.load(getConfig());
        storage = new PetStorage(this);
        storage.load();
        petManager = new PetManager(this, settings, storage);

        PetCommand command = new PetCommand(this, petManager, settings);
        PluginCommand petCommand = getCommand("voidpet");
        if (petCommand != null) {
            petCommand.setExecutor(command);
            petCommand.setTabCompleter(command);
        }

        getServer().getPluginManager().registerEvents(new PetListener(petManager), this);
        petManager.start();
    }

    @Override
    public void onDisable() {
        if (petManager != null) {
            petManager.stop();
        }
        if (storage != null) {
            storage.saveAll();
        }
    }
}