AutoFarm Mod
A simple Fabric mod for Minecraft that automates common tasks like auto-swinging, auto-eating, and auto-logging out based on health. Perfect for use in an SMP server or solo play!
Please make sure to ONLY use this servers where it is allowed.
Features
- Auto-swing: Automatically swings the player's weapon when ready to attack.
- Auto-eat: Automatically eats food when the player's hunger is below a threshold.
- Auto-logout: Logs out automatically if health falls below a set threshold.
- Customizable: All settings are adjustable through a simple in-game menu.
- Automatic Saving: Your config automatically saves to
.minecraft/config/autofarmso you never lose your settings! - Ignores Players: If someone walks in front of you while farming you won't hit them!
Installation
- Install Fabric and Fabric API.
- Download the mod's
.jarfile - Place the
.jarfile in themodsfolder of your Minecraft setup. - Launch Minecraft with Fabric loader.
Configuration
The mod includes an in-game menu for configuration. The available settings are:
- Logout Health: The health level at which the player will automatically log out (in hearts).
- Swing Delay: The delay between auto swings (in ticks, max 50).
- Eat Hunger: The hunger level at which the player will automatically eat food.
- Ignore Passive: This will ignore passive mobs while farming so you can keep your pets safe!
Use the in-game menu to adjust these values to your liking.
Controls
- Menu: Open the mod settings menu with the assigned key.
Keybindings
- You can customize the keybindings for toggling the mod and opening the menu. This is set within the Minecraft options under Controls.
- The default key is U.
Usage
-
When enabled, the mod will automatically:
- Attack nearby enemies when the player's attack cooldown is ready.
- Eat food if hunger reaches the defined threshold.
- Log out if health is below the specified level.
-
All actions can be customized via the in-game menu.
Source Code
https://github.com/JacobTheIdiot/AutoFarm-Mod
Contact Info
You can reach me at jc.xdd on discord
How to Install AutoFarm-Mod (Mod)
AutoFarm-Mod by JacobTheIdiot is verified for Fabric across Minecraft versions 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 26.3 (latest release: 1.1.3-26.3, file size: 22 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 26.3) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded AutoFarm-Mod file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version## added
- Config saving
- All your settings (across versions) will now be stored in .minecraft/config/autofarm
## changed
- the keybinding name and the category name in the minecraft keybind menu
## added
- Config saving
- All your settings (across versions) will now be stored in .minecraft/config/autofarm
## changed
- the keybinding name and the category name in the minecraft keybind menu
## added
- Config saving
- All your settings (across versions) will now be stored in .minecraft/config/autofarm
## changed
- the keybinding name and the category name in the minecraft keybind menu
# added
- passive mob toggle(in case you're farming next to pets)
- made it ignore players (in case friends are walking around you while farming)
- a watermark (only shown when menu is open)
# changed
- button size
- changed the way that attacking works