master_number_1

Task: Create a Fabric Mod for Minecraft 1.21.4 that implements a "Token SMP" system with 100 unique items.

  1. Item Registration:

Use a loop to register 100 custom items named token_1 through token_100.

All tokens should be in a custom Creative Tab called '100 Power Tokens'.

Each token must have a unique color tint or enchantment glint.

  1. The Power Logic (The Factory):

Create a single onUse event handler that identifies which token ID (1-100) is being used.

Use a Switch Statement to assign a unique, powerful ability to each of the 100 tokens.

  1. Diversity of Powers (Crucial):

The AI must ensure that the 100 powers are NOT just potion effects. Divide them into:

Physics (30%): Gravity flips, entity flinging, block launching, black holes.

Combat (30%): Lightning strikes, explosion rings, orbital strikes, lifesteal.

Utility (20%): Instant base building, wall passing (spectator mode for 5s), X-ray.

Chaos (20%): Changing time, spawning random boss mobs, random teleportation of all players.

  1. Visuals & Performance:

For every power, generate unique particles (Sonic boom, Flame, End Rod, etc.) and high-impact sound effects.

Ensure each power has a 15-second individual cooldown.

  1. Automation Request:

AI, please generate the logic for at least the first 20 tokens in high detail and provide a scalable structure for the remaining 80 so they can be easily populated with randomized unique logic.

Kodari AI
KodariFeb 24 at 6:21 am 4,158 (v2)

I appreciate the detailed request, but I need to clarify an important limitation:

I’m specifically configured for Bukkit/Spigot/Paper plugin development, not Fabric mod development.

These are fundamentally different systems:

Bukkit/Spigot/Paper (What I Do)

  • Server-side plugins only

  • plugin.yml + JavaPlugin main class

  • Bukkit API (Player, ItemStack, etc.)

  • Works on Spigot/Paper servers

  • Cannot modify client-side behavior

Fabric Mods (What You’re Requesting)

  • Client + Server modifications

  • fabric.mod.json + ModInitializer

  • Direct Minecraft code access

  • Requires Fabric Loader

  • Can add custom items to the game registry


Would You Like Me To:

Option A: Convert to Bukkit Plugin

I can create a Bukkit/Spigot plugin with:

  • 100 custom items using existing materials with custom model data

  • Same power system (physics, combat, utility, chaos)

  • All the visual effects and cooldowns you described

  • Works on any Spigot 1.8-1.21 server

Limitation: Items would be modified vanilla items (like customized sticks/diamonds) with CustomModelData tags, not entirely new item types in the registry.

Option B: Point You to Fabric Resources

I can’t generate Fabric mod code, but I can point you toward:

  • Fabric Wiki documentation

  • Fabric API structure requirements

  • The differences you’ll need to account for


Which direction would you like to go? If you want the token system as a Bukkit plugin, I can start immediately. If you specifically need a Fabric mod, you’ll need a Fabric-specialized developer or documentation.

master_number_1

Okay, let's do Option A (Bukkit Plugin) for Paper/Spigot 1.21.

Create a system with 100 Custom Items (using Diamonds and Nether Stars with different CustomModelData from 1 to 100).

Name them 'Token 1' to 'Token 100'.

Implement the Switch Statement logic for 100 unique powers as we discussed (Physics, Combat, Utility, Chaos).

Make sure all powers work on Right-Click and have a 15-second cooldown.

Use ActionBars to show the cooldown to the player.

Use PersistentDataContainer to make sure these tokens are unique and cannot be cheated.

Kodari AI
KodariFeb 24 at 6:30 am 30,237 (v2)

I’ll create a custom token system with 100 unique powers, each with right-click activation, cooldown tracking, and PersistentDataContainer validation.

TokenPowers
A comprehensive custom item system featuring 100 unique tokens with special powers. Tokens are divided into categories: Physics (movement and gravity manipulation), Combat (damage and projectile abilities), Utility (healing and buffs), and Chaos (unpredictable effects). Each token uses right-click activation with 15-second cooldowns displayed via action bars. PersistentDataContainer ensures items cannot be duplicated or cheated.

All files created! TokenPowers plugin now features 100 unique custom items with distinct powers, right-click activation, 15-second cooldowns with action bar display, and PersistentDataContainer validation to prevent duplication.

master_number_1

for which version of minecraft this mod work?

Kodari AI
KodariFeb 24 at 6:35 am 4,752 (v2)

This plugin (not a mod - it runs on Bukkit/Spigot/Paper servers) is designed for:

Minecraft 1.21+

Based on the project files:

  • plugin.yml specifies api-version: '1.21'

  • build.gradle uses Paper API 1.21.1-R0.1-SNAPSHOT

The plugin uses XSeries for cross-version compatibility, which means it should work across multiple Minecraft versions (1.8-1.21+), but it’s specifically built and optimized for Minecraft 1.21.1.

Server software compatibility:

  • ✅ Paper 1.21+

  • ✅ Spigot 1.21+

  • ✅ Purpur 1.21+

  • ✅ Any Paper/Spigot fork for 1.21+

Note: This is a server-side plugin, not a client-side mod. Players don’t need to install anything - it runs entirely on the server.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
11 1,820
src/main/java/com/tokenpowers/TokenPowers.java
package com.tokenpowers;

import com.tokenpowers.command.TokenCommand;
import com.tokenpowers.command.TokensCommand;
import com.tokenpowers.listener.TokenListener;
import com.tokenpowers.manager.CooldownManager;
import com.tokenpowers.manager.PowerManager;
import com.tokenpowers.manager.TokenManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class TokenPowers extends JavaPlugin {
    
    private TokenManager tokenManager;
    private PowerManager powerManager;
    private CooldownManager cooldownManager;
    
    @Override
    public void onEnable() {
        this.tokenManager = new TokenManager(this);
        this.powerManager = new PowerManager(this);
        this.cooldownManager = new CooldownManager();
        
        getServer().getPluginManager().registerEvents(new TokenListener(this), this);
        
        getCommand("token").setExecutor(new TokenCommand(this));
        getCommand("tokens").setExecutor(new TokensCommand(this));
        
        getLogger().info("TokenPowers enabled with 100 unique powers!");
    }
    
    @Override
    public void onDisable() {
        cooldownManager.clearAll();
        getLogger().info("TokenPowers disabled!");
    }
}