Mod to turn off damage during afk.
The Fabric version requires the Fabric API.
To change the config, you need to follow the path .minecraft/config/autoafk/config.json(default is 60 sec)
OR
If the mod version is 2.2.0 and higher, then you can configure it through the commands:
Commands
-
/afk (Switch to afk mode)
-
/afk setdelay {time} (Set delay to switch to afk mode)
-
/afk setsuffocating {true/false} (Set up choke protection) (Deprecated)
-
/afk setcollide {true/false} (Set up collision with mobs) (In versions higher than 1.2.4)
-
/afk setmobsaggression {true/false} (Set up protection against mob aggression) (In versions higher than 1.2.4)
- TRUE - Enable protection
- FALSE - Disable protection
How to Install Auto AFK (Mod)
Auto AFK by MatterMoulder is verified for Fabric across Minecraft versions 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.21, 1.21.1 (latest release: 2.3.1-skeleton, file size: 1,010 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.21, 1.21.1) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Auto AFK file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version## The Fabric version requires the [Fabric API](https://modrinth.com/mod/fabric-api).
#### To change the config, you need to follow the path .minecraft/config/autoafk/config.json(default is 60 sec)
#### OR
#### If the mod version is 1.1.0 and higher, then you can configure it through the commands:
<details>
<summary>Commands</summary>
- #### /afk setdelay {time} (Set delay to switch to afk mode)
- #### /afk setsuffocating {true/false} (Set up choke protection)
- #### /afk setcollide {true/false} (Set up collision with mobs) (In versions higher than 1.2.4)
- #### /afk setmobsaggression {true/false} (Set up protection against mob aggression) (In versions higher than 1.2.4)
- TRUE - Enable protection*
- FALSE - Disable protection*
</details>
<img alt="Shows an illustrated sun in light mode and a moon with stars in dark mode." src="https://cdn.modrinth.com/data/8zpoj8HB/images/ea71061ef2120d4c2745bbf9be2b10e81e96fde4.gif">
## The Fabric version requires the [Fabric API](https://modrinth.com/mod/fabric-api).
#### To change the config, you need to follow the path .minecraft/config/autoafk/config.json(default is 60 sec)
#### OR
#### If the mod version is 1.1.0 and higher, then you can configure it through the commands:
<details>
<summary>Commands</summary>
- #### /afk setdelay {time} (Set delay to switch to afk mode)
- #### /afk setsuffocating {true/false} (Set up choke protection)
- #### /afk setcollide {true/false} (Set up collision with mobs) (In versions higher than 1.2.4)
- #### /afk setmobsaggression {true/false} (Set up protection against mob aggression) (In versions higher than 1.2.4)
- TRUE - Enable protection*
- FALSE - Disable protection*
</details>
<img alt="Shows an illustrated sun in light mode and a moon with stars in dark mode." src="https://cdn.modrinth.com/data/8zpoj8HB/images/ea71061ef2120d4c2745bbf9be2b10e81e96fde4.gif">