Nigga Man

Minecraft Fabric 26.3 – Auto Mace Mod

Create a complete Minecraft Java Edition Fabric mod for Minecraft 26.3 called Auto Mace.

The mod should automatically aim at selected entities and perform Mace attacks while the player is airborne.

1. Automatic Target Detection

  • Automatically detect entities such as Players, Zombies, Skeletons, Creepers, Wardens, Endermen, and other mobs.
  • Only target the entity type selected by the user.
  • Prioritize the closest valid target within the configured range.
  • Continuously track moving targets.
  • Ignore entities that do not match the selected target type.

2. Automatic Aim

  • Automatically aim toward the selected target.
  • Track the target even when it moves.
  • Support targeting from significant heights.
  • Work when:

- Falling from a high location. - Jumping and falling. - Using Wind Charges to launch into the air. - Flying with Elytra.

  • Adjust the aim to account for the target's movement.

3. Automatic Mace Attack

  • Automatically detect when the player is airborne and performing a Mace attack.
  • Detect the appropriate moment for a Mace smash.
  • Automatically attack the selected target.
  • Support attacks against targets at different heights.
  • Avoid attacking unrelated entities.

4. Activation Key

Use the following keyboard controls:

  • Z: Enable Auto Mace.
  • Z again: Disable Auto Mace.

Display an on-screen status indicator:

  • Auto Mace: ON
  • Auto Mace: OFF

5. Chat Commands – Target Selection

Allow the user to select the target entity directly through Minecraft chat commands.

Implement these commands:

  • /automace mob player – Target players only.
  • /automace mob zombie – Target zombies only.
  • /automace mob skeleton – Target skeletons only.
  • /automace mob creeper – Target creepers only.
  • /automace mob warden – Target Wardens only.
  • /automace mob enderman – Target Endermen only.
  • /automace mob spider – Target spiders only.
  • /automace mob witch – Target witches only.
  • /automace mob iron_golem – Target Iron Golems only.
  • /automace mob all – Target all valid living entities.
  • /automace mob clear – Clear the selected target type.

Chat Command Requirements

  • Remember the selected entity type until the user changes it.
  • Display a confirmation message when a target is selected.
  • Display an error message for invalid entity names.
  • Support tab completion for available entity types.
  • Display the currently selected target type on screen.
  • Make sure commands work correctly with Fabric 26.3.

6. Configuration Menu

Create an Auto Mace configuration screen with:

  • Targeting range.
  • Automatic aiming ON/OFF.
  • Automatic attacking ON/OFF.
  • Target tracking ON/OFF.
  • Custom activation key.
  • Target selection information.
  • Enable/disable Auto Mace.

Save configuration settings between game sessions.

7. HUD Interface

Create a simple, clean HUD displaying:

  • Auto Mace status.
  • Selected target type.
  • Current target name.
  • Targeting status.

Allow the user to enable or disable the HUD.

8. Technical Requirements

  • Minecraft Java Edition 26.3.
  • Fabric Loader compatible with 26.3.
  • Fabric API compatible with 26.3.
  • Correct Java version for the target Minecraft version.
  • Use Fabric KeyBinding API.
  • Use appropriate Minecraft client APIs.
  • Use Mixins only when necessary.
  • Ensure compatibility with other Fabric mods.
  • Avoid unnecessary CPU usage and performance drops.

9. Complete Project Delivery

I want a fully functional mod, not just an explanation.

Provide:

  1. Complete Java source code.
  2. Complete Gradle project.
  3. Fabric.mod.json.
  4. Required dependencies.
  5. Mixin configuration if needed.
  6. Configuration system.
  7. HUD implementation.
  8. Chat command implementation.
  9. Complete project folder structure.
  10. Instructions to compile the project into a working JAR file.

10. Important Instructions

  • Do not use pseudocode.
  • Do not leave unfinished methods.
  • Do not use outdated Minecraft APIs.
  • Verify that every dependency supports Minecraft 26.3.
  • Ensure that all commands and keybindings actually work.
  • Test compilation and fix all errors before delivering the project.
  • Do not claim that the mod is fully functional unless it has been successfully built and tested.

Final Goal: I want a complete Auto Mace Fabric 26.3 mod where I can type /automace mob zombie in chat to select zombies, press Z to activate Auto Mace, and have the mod automatically track and perform Mace attacks against the selected entity type while airborne.

Kodari AI
KodariToday at 6:43 pm 1
Created Auto MaceFabric Mods 26.3
Delegated to Auto Mace Running
Create complete client-side Fabric 26.3 Java mod Auto Mace with Gradle project, fabric.mod.json, compatible dependencies and Java version. Implement closest selected living entity detection within configurable range, predictive tracking/aim while airborne, and automatic mace attacks only at valid reachable selected targets and appropriate smash conditions; respect server-authoritative reach and do not attack unrelated entities. Z toggles, HUD with status/selection/current target/targeting status and HUD toggle. Client chat commands /automace mob <player|zombie|skeleton|creeper|warden|enderman|spider|witch|iron_golem|all|clear>, suggestions, invalid input feedback, persistent selection. Configuration screen accessible via a keybinding, with range, aim, attack, tracking, activation key, selection display, enabled and HUD options; persist settings. Use Fabric keybinding, client command and HUD APIs appropriate to 26.3; avoid unnecessary mixins and CPU overhead. Provide README with build and usage instructions, limitations and server authority. Implement feature code only, no tests. Inspect available project environment and use appropriate current APIs; do not assert runtime verification.

I’ve started building the Auto Mace Fabric 26.3 project. Once implementation finishes, I’ll check the build and address any compiler errors.

Report from 1 project
Auto MaceCompleted
TaskCreate complete client-side Fabric 26.3 Java mod Auto Mace with Gradle project, fabric.mod.json, compatible dependencies and Java version. Implement closest selected living entity detection within con...
  • Add client-side targeting, predictive aim, and reach-checked smash attacks.

  • Add persistent settings, keybindings, commands, and a status HUD.

  • Include the Gradle project and usage instructions.Created the Auto Mace client mod with targeting, predictive aim, smash checks, persistent settings, commands, keybindings, and HUD.

Use /automace mob <type> to select targets, then hold a mace and press Z to enable it. Press G for settings or V to toggle the HUD. The server remains authoritative over attacks and reach.

The project has not been runtime-verified.

Kodari AI
KodariToday at 6:46 pm 1
Compiled AutoMaceModSucceeded

Auto Mace is implemented, and the project compiled successfully.

  • Select a target with /automace mob zombie, then press Z to toggle the mod.

  • Press G for settings or V to toggle the HUD.

  • The project includes source code, Gradle files, configuration, and build instructions in README.md.

It has not been runtime-tested, so in-game functionality and compatibility are not yet verified.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code