zeki Mehmed

make a minecraft mod that gives me the totem of null and when i right click it spawn an army of 20 players with black skin and distorted names like 3gdse and one null comander that his name is ------ and when i type in chat to give them commands like build a nether portal or attck/deffend they do that action and give them full enchanted netherite armour and the needed weapons andmake them die to the void if my totem gets pop and give the totem the enchant curse of vanishing

Kodari AI
KodariNov 1 at 1:02 pm 6
NullArmySummoner
A Minecraft Fabric mod adding a Totem of Null item. Right-clicking summons an army of 20 black-skinned player-like entities with distorted names (e.g., "3gdse") plus one commander named "------". The army wears full enchanted netherite armor and appropriate weapons. Players can issue chat commands (e.g., "build a nether portal", "attack", "defend") that the army executes. If the totem's durability breaks (totem pops), all summoned entities die to the void. The totem has Curse of Vanishing enchantment.
  1. Set up the Fabric 1.21.11 mod and the cursed Totem of Null.

  2. Add the armored 20-member army and commander, chat orders, portal building, and void-on-totem-pop behavior.

  3. Add the item assets and survival recipe.

Created the Fabric 1.21.11 mod with a cursed Totem of Null. Craft it with a Totem of Undying, an Ender Eye, and Obsidian; it’s also in the Combat creative tab. Right-clicking summons 20 named followers and a commander named ------.

With the army summoned, type “build a nether portal”, “attack”, or “defend” in chat. A lethal hit while the totem is in your inventory consumes it, plays a totem-pop effect, and sends the army into the void.

Note: The followers are zombie NPCs, not actual player accounts. Their full netherite armor gives them a dark appearance, but they don’t have custom black player skins.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
13 513
src/main/java/com/kodari/nulltotem/NullTotemMod.java
package com.kodari.nulltotem;

import com.kodari.nulltotem.item.ModItems;
import com.kodari.nulltotem.world.ArmyManager;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents;
import net.fabricmc.fabric.api.message.v1.ServerMessageEvents;
import net.minecraft.entity.LivingEntity;
import net.minecraft.server.network.ServerPlayerEntity;
import net.minecraft.text.Text;

public class NullTotemMod implements ModInitializer {
    public static final String MOD_ID = "nulltotem";

    @Override
    public void onInitialize() {
        ModItems.initialize();

        ServerMessageEvents.ALLOW_CHAT_MESSAGE.register((message, sender, params) ->
                !ArmyManager.handleOrder(sender, message.getContent().getString()));

        ServerLivingEntityEvents.ALLOW_DAMAGE.register((entity, source, amount) -> {
            if (entity instanceof ServerPlayerEntity player) {
                return !ArmyManager.tryTotemPop(player, source, amount);
            }
            return true;
        });
    }
}