Kacper Korycki

create a Ben 10 mod with aliens and an Omnitrix for 1.20.4 Fabric

Kodari AI
KodariNov 12 at 11:10 am 5
OmnitrixAlienMod
Adds the iconic Omnitrix device to Minecraft 1.20.4 Fabric, allowing players to transform into 10 unlockable alien forms including Heatblast, Diamondhead, and XLR8. Features a custom GUI for alien selection, cooldown system, transformation animations, and unique abilities for each alien form. Includes custom models, textures, and sound effects inspired by the Ben 10 series.

I’ll build a craftable Omnitrix with selectable alien-inspired power modes, timed effects, and a cooldown. The modes will grant abilities rather than change the player’s model.

Created a craftable Omnitrix with ten alien-inspired power modes. Sneak and right-click to select a mode; right-click to activate it for 60 seconds. The watch then has a 90-second cooldown.

The modes grant status effects—they don’t change your player model or add alien mobs.

Survival recipe: Place an Eye of Ender in the center, iron ingots above and on either side, and redstone below.

Kacper Korycki

Fix the Omnitrix texture, make it so that it transforms me, and ensure it can be equipped onto my arm.

Kodari AI
KodariNov 12 at 11:21 am 35
  1. Fix the Omnitrix’s item texture and arm appearance.

  2. Make activating it visibly transform the player into the selected alien.

  3. Make the Omnitrix equipable on the arm.

The Omnitrix now equips to your offhand arm: right-click it with an empty offhand, then use it from the offhand to select and activate forms.

Transformations now change your player’s appearance as well as granting powers. They use the standard player model, not custom alien body shapes. Five forms have distinct skins; the other five reuse those skins because texture-generation credits ran out.

Craft the Omnitrix with an Eye of Ender in the center, iron ingots above and on either side, and redstone below.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
19 291
src/main/java/com/kodari/alienwatch/AlienWatch.java
package com.kodari.alienwatch;

import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents;
import net.minecraft.item.Item;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.registry.RegistryKey;
import net.minecraft.registry.RegistryKeys;
import net.minecraft.util.Identifier;

public class AlienWatch implements ModInitializer {
    public static final Item OMNITRIX = Registry.register(Registries.ITEM,
            new Identifier("alienwatch", "omnitrix"), new OmnitrixItem(new Item.Settings().maxCount(1)));

    @Override
    public void onInitialize() {
        RegistryKey<ItemGroup> tools = RegistryKey.of(RegistryKeys.ITEM_GROUP,
                new Identifier("minecraft", "tools_and_utilities"));
        ItemGroupEvents.modifyEntriesEvent(tools).register(entries -> entries.prepend(new ItemStack(OMNITRIX)));
    }
}