promotional bannermobile promotional banner

Auto-Combate Spawner

Auto-Combat Spawner is a client-side mod designed to automate AFK farming sessions at mob farms (or spawners). Its primary goal is to allow the player to gain experience and resources.

🤖 Auto-Combat Spawner (Client Mod) 

Auto-Combat Spawner is a client-side mod designed to automate AFK farming sessions at mob farms (or spawners). Its main goal is to allow the player to gain experience and resources without continuous manual interaction, mimicking human behavior to avoid crashes and minimize suspicion of automation.

⚙️ Main Modules and Features

Dynamic Creature Selection System (GUI & Config)

Graphical Interface (GUI) Menu: Accessible at any time using the O key. Displays a visual menu with checkboxes to enable or disable which types of mobs to attack.

Persistent Configuration (JSON): Preferences are automatically saved in the .minecraft/config/auto-combate-spawner.json folder. This allows your selections to persist after restarting the game.

Multi-Entity Compatibility: Supports filtering for multiple classic farm creatures (Zombies, Blazes, Skeletons, Spiders, Zombified Piglins, Endermen).

Detection and Intelligent Combat

Area Filtering: Continuously scans an area around the player (approximately 3.5 blocks), searching only for live creatures that have been selected in the GUI.

Line of Sight Check (LOS): To prevent the player from attempting to attack through walls or solid blocks, the mod casts a ray by analyzing three points of the target: head, torso, and feet. It will dynamically aim at the point that remains visible.

Smooth Aim and Human Jitter: The camera does not rotate instantaneously or robotically. It applies smooth interpolation to move the view toward the creature and adds a small margin of random variation (jitter) to simulate the natural tremor or shaking of a human hand.

Weapon Cooldown Respect: The mod evaluates the attack cooldown bar and only executes the attack when the weapon is fully charged, maximizing damage per second (DPS).

Attack Variability: Introduces random probabilities into attack ticks to prevent each hit from following the exact same pattern.

Auto-Eat System

Automatic Hunger Management: Constantly monitors the player's food levels (FoodData).

Consumption Cycle: If the hunger bar drops below 14 points (7 drumsticks), combat is interrupted, the player automatically switches to Inventory Slot 9 (assigned to food), and holds down the secondary mouse button.

Once hunger is fully restored (20 points / 10 drumsticks), the player drops the food and immediately switches to Inventory Slot 1 (assigned to the sword) to resume defense.

Safety and Failsafe Mechanisms

Motion Detection: If the mod is active and the player changes position (falls off the platform, is knocked off by an attack, or the player moves the character), the mod automatically deactivates to prevent accidental deaths or displacements.

Failsafe by Blocking: If the bot goes more than 600 ticks (30 seconds) without being able to perform a valid attack (for example, because the target is stuck out of view), an emergency scan is forced to unblock the routine (random attack).

On-Screen Interface (HUD Overlay)

While the mod is ON, it displays the following in the upper left corner of the screen:

Mob Counter: Shows how many of the selected creatures are currently within the player's range.

AFK Timer: A timer in MM:SS format that tracks the exact duration of the current automation session.

⌨️ Default Controls

Key and Action

K - Activate/Deactivate Auto-Combat (ON/OFF).

O - Open the mob selection GUI and save settings.

The Auto-Combate Spawner Team

profile avatar
  • 1
    Projects
  • 5
    Downloads