the_devil69420

improved item alchemy mod with personal emc values for each player

Kodari AI
KodariApr 22 at 9:18 am 34,189 (v2)
ItemAlchemy
A personal EMC (Equivalent Matter Currency) alchemy plugin where each player manages their own unique EMC economy. Players burn items to gain EMC based on configurable base values modified by personal multipliers and per-item overrides. A paginated Transmutation GUI lets players convert stored EMC back into learned items. A Condenser GUI allows bulk item burning. Admins can set global base EMC, individual player multipliers, and per-item personal overrides. All player data persists via YAML files.

Planning:

  • ItemAlchemy (main) → holds PlayerDataManager, EMCManager, TransmutationGUI, CondenserGUI

  • PlayerData (@Getter @Setter) → emc balance, learned items, personal overrides, multiplier

  • PlayerDataManager → YAML file per-UUID load/save; EMCManager → config-driven base values + effective calculation

  • TransmutationGUI / CondenserGUI → 54-slot chest GUIs; GUIListener delegates clicks; condenser returns items on close

  • Commands: /alchemy (multi-subcommand), /transmute, /learnitem, /condense

All 16 files created — the plugin features a full personal EMC system with per-player value overrides and multipliers, a paginated 54-slot Transmutation GUI for purchasing learned items, a Condenser GUI that bulk-burns items and safely returns unburned items on close, and comprehensive /alchemy admin commands for managing balances, base values, personal overrides, and multipliers.

the_devil69420

can you make mods for minecraft 1.21.11?

Kodari AI
KodariApr 25 at 8:35 am 1,649 (v2)

I specialize in Bukkit/Spigot/Paper server-side plugins, not client-side mods (Fabric/Forge).

A couple of clarifications:

  • 1.21.11 doesn’t exist — the actual versions near there are 1.21, 1.21.1, 1.21.4, and 1.21.5. You may be thinking of one of those.

  • Plugins vs Mods — what I just built for you (ItemAlchemy) is a plugin that runs on a Paper/Spigot server. No client installation needed. Mods (Fabric/Forge) require players to install files on their game client, which is a completely different ecosystem and toolchain.

What I can do:

Supported
Spigot / Paper plugins (1.8–1.21.x)
✅
BungeeCord / Velocity proxy plugins
✅
Fabric mods
❌
Forge mods
❌

If you want the ItemAlchemy system as a plugin (which it already is), it will work on a Paper/Spigot server running 1.21.x with no client-side installation required. Want me to target a specific server version or continue developing the plugin?

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
16 1,526
src/main/java/com/itemalchemy/ItemAlchemy.java
package com.itemalchemy;

import com.itemalchemy.commands.AlchemyCommand;
import com.itemalchemy.commands.CondenserCommand;
import com.itemalchemy.commands.LearnCommand;
import com.itemalchemy.commands.TransmuteCommand;
import com.itemalchemy.gui.CondenserGUI;
import com.itemalchemy.gui.TransmutationGUI;
import com.itemalchemy.listeners.GUIListener;
import com.itemalchemy.listeners.PlayerListener;
import com.itemalchemy.managers.EMCManager;
import com.itemalchemy.managers.PlayerDataManager;
import lombok.Getter;
import org.bukkit.ChatColor;
import org.bukkit.plugin.java.JavaPlugin;

public class ItemAlchemy extends JavaPlugin {

    public static final String PREFIX = ChatColor.DARK_PURPLE + "[" + ChatColor.LIGHT_PURPLE + "Alchemy" + ChatColor.DARK_PURPLE + "] " + ChatColor.RESET;

    @Getter
    private PlayerDataManager playerDataManager;
    @Getter
    private EMCManager emcManager;
    @Getter
    private TransmutationGUI transmutationGUI;
    @Getter
    private CondenserGUI condenserGUI;

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

        this.emcManager = new EMCManager(this);
        this.playerDataManager = new PlayerDataManager(this);
        this.transmutationGUI = new TransmutationGUI(this);
        this.condenserGUI = new CondenserGUI(this);

        AlchemyCommand alchemyCommand = new AlchemyCommand(this);
        getCommand("alchemy").setExecutor(alchemyCommand);
        getCommand("alchemy").setTabCompleter(alchemyCommand);
        getCommand("transmute").setExecutor(new TransmuteCommand(this));
        getCommand("learnitem").setExecutor(new LearnCommand(this));
        getCommand("condense").setExecutor(new CondenserCommand(this));

        getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
        getServer().getPluginManager().registerEvents(new GUIListener(this), this);

        getLogger().info("ItemAlchemy enabled successfully.");
    }

    @Override
    public void onDisable() {
        playerDataManager.saveAll();
        emcManager.saveEMCValues();
        getLogger().info("ItemAlchemy disabled. All data saved.");
    }
}