nothyperboiz1

Build a reusable INVENTORY GUI framework.

Features

Animated menus

Pagination

Buttons

Item builders

Sounds

Transitions

Back buttons

Confirm dialogs

Async loading

Inventory updates

No flickering

Reusable API.

Kodari AI
KodariAug 7 at 8:33 am 2
AnimatedInventoryFramework
Reusable Bukkit inventory GUI framework with animated menus, pagination, item builders, sounds, transitions, back buttons, confirm dialogs, async loading, and flicker-free updates. Provides a clean API for creating dynamic interfaces with smooth animations, multi-page navigation, and interactive buttons. Includes GUIManager for centralized event handling, InventoryButton builder pattern, and InventoryGUI base class with lazy initialization. Supports automatic inventory updates without visual flicker, async content loading, and customizable transition effects. Designed for plugin developers seeking a robust, feature-rich GUI solution with minimal boilerplate code.
  1. Create the Gradle/plugin foundation and main registration class.

  2. Add the reusable inventory, button, item, sound, update, and transition APIs.

  3. Add pagination, confirmation dialogs, animations, and asynchronous loading support.

  4. Wire lifecycle cleanup and no-flicker inventory updates through the GUI manager/listener.

  1. Created the Gradle project and Paper plugin entry point.

  2. Added reusable GUI foundations: InventoryGUI, InventoryButton, InventoryHandler, GUIManager, and event listener registration.

  3. Added no-flicker updates, scheduled refreshes, lifecycle cleanup, and async loading callbacks.

  4. Added pagination APIs with Paginator and PagedInventoryGUI.

  5. Added item building with XSeries compatibility, sound utilities, back/close buttons, transitions, and animation frames.

  6. Added reusable confirmation dialogs and plugin metadata.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
settings.gradle
Code
19 789
src/main/java/com/kodari/inventory/KodariInventoryPlugin.java
package com.kodari.inventory;

import com.kodari.inventory.gui.GUIListener;
import com.kodari.inventory.gui.GUIManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class KodariInventoryPlugin extends JavaPlugin {
    private GUIManager guiManager;

    @Override
    public void onEnable() {
        this.guiManager = new GUIManager(this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }

    @Override
    public void onDisable() {
        guiManager.closeAll();
    }

    public GUIManager getGuiManager() {
        return guiManager;
    }
}