Ustabke smp Smp

Create a Fabric Minecraft 1.21.11 mod called Totem of Null, inspired by the supernatural/player-like style of Unstable SMP.

TOTEM OF NULL

Add a Totem of Null item using the vanilla Totem of Undying model and texture. It has:

* Permanent purple enchanted glint. * Dark-red name: Totem of Null * Purple lore: “A cursed artifact binding the dark entities of the void to your command.”

The player holding the Totem becomes the Leader.

NULL ARMY

The Totem can summon exactly:

* 1 Null Commander * 50 Null Soldiers * 10 Wraiths

The Null Commander is named ______ (exactly six underscores).

Null Soldiers and the Commander must be custom humanoid/path-aware NPCs, not zombies or normal hostile mobs.

They should look and behave as closely as technically possible to independent Minecraft players:

* Player-style humanoid appearance and animations. * Natural walking, sprinting, jumping, turning and looking around. * Individual randomized identities. * Individual inventories. * Natural independent movement. * No rigid formations. * No synchronized marching. * No constant clumping. * Soldiers spawn naturally scattered around the Leader. * They independently navigate around obstacles and choose their own paths. * They physically interact with the Minecraft world instead of instantly completing tasks. * They remain loyal to their current Leader.

LEADER CONTROL

The player holding the Totem has complete command authority over the army.

The Leader can give commands through normal Minecraft chat, including natural-language commands such as:

“Null, follow me.” “Null, build me a castle.” “Null, get me diamonds.” “Null, collect wood.” “Null, make a storage room.” “Null, defend me.” “Null, attack that player.” “Null, bring these items to me.” “Null, stop.”

The AI should interpret the Leader's natural-language command, create a task plan, divide work between appropriate NPCs, and physically perform the requested actions.

COMMAND PRIORITY

Use this priority system:

  1. Emergency commands such as “defend me,” “protect me,” or “attack” immediately cancel lower-priority tasks.
  2. A new Leader command cancels the previous Leader command unless explicitly told to continue.
  3. Leader safety takes priority if the Leader is attacked or damaged.
  4. Current assigned tasks continue until completed, cancelled, or replaced.
  5. Autonomous behavior such as wandering and exploring has the lowest priority.

The Null Commander can coordinate the Soldiers but can never override a direct Leader command.

When the Leader says “stop,” cancel all active tasks and return the NPCs to independent player-like behavior.

PLAYER-LIKE BUILDING

When ordered to build something, the NPCs must physically construct it.

They must:

* Travel to the construction area. * Divide construction work between themselves. * Walk to individual block positions. * Look toward blocks. * Swing their arms. * Break blocks when necessary. * Collect dropped blocks/items. * Place blocks one at a time. * Avoid getting in each other's way. * Work on different sections independently. * Visibly construct the structure in real time.

Do NOT instantly generate the completed structure or teleport the NPCs around.

RESOURCE COLLECTION

When ordered to collect a resource, NPCs should:

* Locate suitable resource blocks. * Navigate to them. * Mine them physically. * Pick up the dropped items. * Store them in their inventories. * Return to the Leader when appropriate. * Deliver the requested resources.

STORAGE

When ordered to create storage, NPCs should physically construct a storage area, place chests, navigate to them, open the containers, and deposit their collected items.

COMBAT AND DEFENSE

When the Leader orders an attack, identify the intended target from the Leader's view/crosshair when possible and assign the army to engage it.

If the Leader is attacked, temporarily prioritize protecting the Leader.

NPCs should navigate independently rather than forming a rigid combat formation.

WRAITHS

Create 10 Wraith NPCs with a distinct mysterious appearance, translucent/shadowy gray player-style skin, independent movement, individual identities, and their own combat behavior.

They should follow the same Leader command system while retaining their own tactical behavior.

AI ARCHITECTURE

Use a central task/command manager with individual AI state for every NPC.

Each NPC should support states such as:

IDLE FOLLOW EXPLORE BUILD COLLECT STORE ATTACK DEFEND RETURN STOPPED

The central system should distribute tasks while allowing every NPC to make independent movement and pathfinding decisions.

Avoid expensive full-world scans every tick. Use optimized asynchronous/background processing where appropriate and never block the Minecraft server thread with web requests or expensive calculations.

IMPORTANT

The goal is for the Null Army to feel like 50+ independent Minecraft players controlled by one Leader, not like 50 ordinary Minecraft mobs.

They should visibly walk around the world independently, make natural movement decisions, perform tasks physically, and respond intelligently to the Leader's commands.

Generate clean, modular Fabric Java source code and compile the complete project into a working Fabric JAR for the requested Minecraft version.

```

Kodari AI
KodariSep 27 at 11:49 am 5
NullArmy
A Fabric Minecraft mod introducing the Totem of Null, a cursed artifact that summons an army of 50 Null Soldiers, 1 Null Commander, and 10 Wraiths. These player-like NPCs feature independent pathfinding, individual inventories, randomized identities, and natural movement. The Leader controls them via natural-language chat commands like "follow me," "build a castle," or "attack that player." The AI interprets commands, creates task plans, and distributes work among NPCs who physically construct structures, mine resources, and engage in combat. A priority system handles emergency commands, leader safety, and task cancellation. NPCs support states including IDLE, FOLLOW, EXPLORE, BUILD, COLLECT, STORE, ATTACK, DEFEND, RETURN, and STOPPED, with optimized background processing to avoid server lag.
  1. Bootstrap the 1.21.11 Fabric project and register the Totem item.

  2. Add three custom humanoid, independently pathing NPC types and client rendering.

  3. Implement army summoning, leader ownership, chat commands, and priority-based follow/defend/attack/stop behavior.

  4. Add the required resources and metadata; keep construction and collection physical rather than instant.

I’m checking the exact 1.21.11 Yarn/Fabric signatures needed before writing the Java files.

Created a Gradle Fabric 1.21.11 project with the Totem item, custom Commander/Soldier/Wraith entities, player-style biped rendering, scattered summoning, and chat orders for follow, stop, defend, attack, build, collect, and return. The Commander is named exactly ______; the Totem has the requested dark-red name, purple lore, vanilla Totem model/texture, and permanent glint.

Scope note: This is a functional starting implementation, not the full independent-player AI described. Building places cobblestone blocks over time, and collection searches nearby oak logs or diamond ore; storage is not chest-based, and attack targeting falls back to a named or nearest other player rather than the leader’s crosshair. Wraiths use a vanilla Enderman texture on the humanoid model, not a custom translucent skin. The project is Gradle-configured, but no JAR was generated in this session.

Ustabke smp Smp

make them pitch black skins and make the totem of null i the creative invetory and they are full stacked with full netherite gear and when i right click the totem the 50 null spawn and the commander

Kodari AI
KodariSep 27 at 12:03 pm 2
  1. Update the Totem’s creative registration and right-click summon behavior.

  2. Equip spawned Null NPCs with full netherite and make their rendered skins pitch black.

Updated the mod: the Totem appears in the vanilla Combat creative tab, and Null NPCs render with pitch-black skin, visible netherite armor, a netherite sword, and a pickaxe.

Right-clicking the Totem invokes the existing summon behavior: 1 ______ Commander, 50 Soldiers, and the original 10 Wraiths, once per Leader. No JAR was generated in this turn.

Ustabke smp Smp

ok let me download the uptaded mod

Kodari AI
KodariSep 27 at 12:04 pm 1

The updated mod source is in the project, but there isn’t a compiled .jar to download yet. I can’t provide a JAR link until the project is built.

Ustabke smp Smp

cutenu the project

Kodari AI
KodariSep 27 at 12:08 pm 1

I checked the current project: right-clicking the Totem summons 1 ______ Commander, 50 Soldiers, and 10 Wraiths; the Totem is in the Combat creative tab, and the NPCs are equipped with netherite gear and rendered with a black tint.

What would you like me to continue with next? For example, I can work on chest-based storage and item delivery, or make a dedicated pitch-black skin texture.

Ustabke smp Smp

pitch black skins first

Kodari AI
KodariSep 27 at 12:11 pm 1
  • Generate a 64×64 opaque-black player skin texture on client startup.

  • Use it for the Commander, Soldiers, and Wraiths, removing the render tint so their armor remains distinct.

Added a dedicated opaque-black 64×64 player skin and applied it to the Commander, Soldiers, and Wraiths. Removed the black render tint, so their netherite armor remains visible.

Ustabke smp Smp

now item divelry or colect items

Kodari AI
KodariSep 27 at 12:14 pm 1
  1. Check the current collection and return behavior.

  2. Add physical item pickup and delivery to the Leader, preserving the existing task commands.

NPCs now seek nearby dropped items, path to them, and pick them up into their own inventories. When their storage fills, they return to the Leader automatically; bring or store orders also deliver items directly into the Leader’s inventory, keeping any remainder if it’s full. The NPCs’ starter cobblestone and pickaxe are kept.

Ustabke smp Smp

ok now let me download the mod

Kodari AI
KodariSep 27 at 12:14 pm 1

I can’t provide a download link yet: there’s no compiled .jar in the project. Build it with ./gradlew build; the mod JAR will be in build/libs/.

Ustabke smp Smp

ok do it then and give me the download botton

Kodari AI
KodariSep 27 at 12:15 pm 1

I can’t build or attach the JAR from this session: the project environment doesn’t provide build tools, and there’s no compiled JAR to link. To create it locally, run ./gradlew build from the project folder; the output should be in build/libs/.

Ustabke smp Smp

ok do it

Kodari AI
KodariSep 27 at 12:15 pm 1

I can’t run Gradle or create a JAR from this session, so I can’t provide a download button. Build the project with ./gradlew build (Windows: gradlew.bat build); the finished mod should be in build/libs/.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
13 913
src/client/java/com/kodari/totemofnull/TotemOfNullClient.java
package com.kodari.totemofnull;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.rendering.v1.EntityModelLayerRegistry;
import net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.model.Dilation;
import net.minecraft.client.model.TexturedModelData;
import net.minecraft.client.texture.NativeImage;
import net.minecraft.client.texture.NativeImageBackedTexture;
import net.minecraft.client.render.entity.model.BipedEntityModel;
import net.minecraft.client.render.entity.model.EntityModelLayer;
import net.minecraft.util.Identifier;

public final class TotemOfNullClient implements ClientModInitializer {
    public static final EntityModelLayer NULL_NPC_LAYER = new EntityModelLayer(
        Identifier.of(TotemOfNull.MOD_ID, "null_npc"), "main");
    private static final Identifier BLACK_SKIN_TEXTURE = Identifier.of(TotemOfNull.MOD_ID, "textures/entity/null_skin");

    @Override
    public void onInitializeClient() {
        NativeImage image = new NativeImage(64, 64, true);
        for (int y = 0; y < 64; y++) {
            for (int x = 0; x < 64; x++) {
                image.setColor(x, y, 0xFF000000);
            }
        }
        MinecraftClient.getInstance().getTextureManager().registerTexture(BLACK_SKIN_TEXTURE,
            new NativeImageBackedTexture(() -> "totemofnull/null_skin", image));

        EntityModelLayerRegistry.registerModelLayer(NULL_NPC_LAYER, () -> TexturedModelData.of(
            BipedEntityModel.getModelData(Dilation.NONE, 0.0F), 64, 64));
        EntityRendererRegistry.register(NullArmy.COMMANDER,
            context -> new NullNpcRenderer(context, BLACK_SKIN_TEXTURE));
        EntityRendererRegistry.register(NullArmy.SOLDIER,
            context -> new NullNpcRenderer(context, BLACK_SKIN_TEXTURE));
        EntityRendererRegistry.register(NullArmy.WRAITH,
            context -> new NullNpcRenderer(context, BLACK_SKIN_TEXTURE));
    }
}