yxwsbh7wzn-web

Create a Minecraft Bedrock Addon that introduces the Omnitrix, a customizable watch allowing players to recolor its appearance. Implement a dynamic scroll wheel interface showcasing black silhouettes for a diverse selection of alien transformations, each with unique abilities and traits, ensuring players can seamlessly switch between them. Include configuration options for customization and a cooldown system for transformations to balance gameplay.

Kodari AI
KodariApr 26 at 7:59 pm 20,105 (v2)

I need to clarify an important limitation: I can only create Minecraft Java Edition (Bukkit/Spigot/Paper) plugins, not Bedrock Edition addons. Bedrock uses JSON-based behavior packs, while I work with Java code for server plugins.

I’ll create an Omnitrix plugin for Java Edition with all the features you described: customizable watch item, GUI-based alien selection with silhouettes, unique abilities, and cooldown systems.

OmnitrixPlugin
A comprehensive Omnitrix system for Minecraft Java Edition that provides players with a customizable watch item to transform into diverse aliens. Features include a dynamic GUI interface with silhouette-based alien selection, unique abilities and traits for each transformation, particle effects, sound effects, cooldown management, and extensive configuration options. Players can recolor their Omnitrix and seamlessly switch between alien forms with balanced gameplay mechanics.

I’ll create a complete Omnitrix transformation plugin with GUI-based alien selection, multiple aliens with unique abilities, and full customization.


Omnitrix Plugin Complete!

The plugin includes:

✅ Physical Omnitrix item - Customizable watch with color options (clock-based)
✅ 10 Unique aliens - Heatblast, Four Arms, XLR8, Diamondhead, Upgrade, Ghostfreak, Wildmutt, Ripjaws, Grey Matter, Cannonbolt
✅ GUI-based selection - Dynamic alien selection interface with silhouettes for locked aliens
✅ Unique abilities - Each alien has distinct powers (fire immunity, super strength, speed, etc.)
✅ Transformation system - Full potion effects, health scaling, particle effects
✅ Cooldown management - Configurable cooldown between transformations
✅ Auto-revert - Transformations expire after duration
✅ Permission system - Per-alien permissions and admin controls
✅ Configuration - Extensive customization in config.yml and aliens.yml
✅ Commands - /omnitrix with give, reload, transform, cooldown, revert subcommands

Usage:

  • Right-click with Omnitrix → Opens alien selection GUI

  • Shift + Right-click → Instantly reverts transformation

  • Each alien has unique abilities automatically applied

  • Admins can manage cooldowns and force transformations

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
22 1,689
src/main/java/com/omnitrix/OmnitrixPlugin.java
package com.omnitrix;

import com.omnitrix.command.OmnitrixCommand;
import com.omnitrix.inventory.gui.GUIListener;
import com.omnitrix.inventory.gui.GUIManager;
import com.omnitrix.listener.PlayerInteractListener;
import com.omnitrix.listener.PlayerJoinListener;
import com.omnitrix.listener.TransformationListener;
import com.omnitrix.manager.AlienManager;
import com.omnitrix.manager.CooldownManager;
import com.omnitrix.manager.OmnitrixItemManager;
import com.omnitrix.manager.TransformationManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class OmnitrixPlugin extends JavaPlugin {
    private GUIManager guiManager;
    private AlienManager alienManager;
    private CooldownManager cooldownManager;
    private TransformationManager transformationManager;
    private OmnitrixItemManager omnitrixItemManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        saveResource("aliens.yml", false);
        
        this.guiManager = new GUIManager();
        this.alienManager = new AlienManager(this);
        this.cooldownManager = new CooldownManager(getConfig().getInt("transformation.cooldown", 60));
        this.transformationManager = new TransformationManager(this);
        this.omnitrixItemManager = new OmnitrixItemManager(this);
        
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new PlayerInteractListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        Bukkit.getPluginManager().registerEvents(new TransformationListener(this), this);
        
        OmnitrixCommand commandExecutor = new OmnitrixCommand(this);
        getCommand("omnitrix").setExecutor(commandExecutor);
        getCommand("omnitrix").setTabCompleter(commandExecutor);
        
        getLogger().info("Omnitrix Plugin has been enabled!");
        getLogger().info("Loaded " + alienManager.getEnabledAliens().size() + " aliens");
    }
    
    @Override
    public void onDisable() {
        if (transformationManager != null) {
            transformationManager.revertAll();
        }
        
        if (cooldownManager != null) {
            cooldownManager.clearAll();
        }
        
        getLogger().info("Omnitrix Plugin has been disabled!");
    }
}