A Fabric Minecraft mod introducing the Totem of Null, a cursed artifact that summons an army of 50 Null Soldiers, * 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 "****** 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, ******, DEFEND, RETURN, and STOPPED, with optimized background processing to avoid server lag.
About
A client-side Fabric mod for Minecraft 1.21.11 that adds a configurable keybind (default J) to perform a spear lunge. When pressed, the mod checks if the player holds a spear in either hand, verifies the spear isn't on cooldown, calculates the player's look direction vector, and applies a forward velocity impulse. Uses wasPressed() for single-press detection, respects item cooldowns via getItemCooldownManager(), and prevents activation while in menus. Includes clean separation of keybind registration and lunge logic with comprehensive comments.