Download AFK Camera — Minecraft Mods — MetaMods
AFK Camera

AFK Camera

Active

Downloads

0

Last update

1 month ago

Versions

1.19.2 — 1.21.5
Client
Fabric
Utils

AFK Camera

AFK Camera Preview

Overview

AFK Camera automatically activates cinematic camera movements when the player is idle. After a configurable period of inactivity (default 30 seconds), the mod smoothly transitions the camera to free mode and begins playing pre-defined camera animations around your world.

Key Features

  • Automatic AFK Detection: Monitors player activity including movement, mouse input, key presses, and damage
  • Smooth Camera Transitions: Automatic switching to free camera mode with cinematic animations
  • Customizable Timing: Ability to adjust the inactivity period
  • Interface Management: Automatic HUD hiding during AFK mode
  • Animation System: Support for custom camera animations with keyframes and position/rotation interpolation
  • Smart Deactivation: Instant return to normal gameplay when any player activity is detected
  • Death Protection: Optional setting to disable AFK mode when player dies

How It Works

The mod continuously monitors player activity including:

  • Movement keys (WASD, jump, sneak, sprint)
  • Mouse movement
  • Actions (attack, use, inventory)
  • Player taking damage
  • Menu interactions

When no activity is detected for the configured time period, AFK Camera:

  1. Enables free camera mode
  2. Hides the game interface
  3. Loads and plays cinematic camera animations in random order
  4. Continuously cycles through available animations

At the moment any player input is detected, the mod immediately:

  1. Stops the current animation
  2. Restores the interface
  3. Returns camera control to the player
  4. Disables free camera mode

Blockbench Compatibility

This mod is designed for seamless work with Blockbench camera animations. You can create custom camera paths and keyframe animations in Blockbench, and the mod will automatically load and play them during idle periods. The animation system supports:

  • Position keyframes with smooth interpolation
  • Rotation keyframes (pitch and yaw)
  • Custom timing and duration
  • Automatic scaling for Minecraft world coordinates

Camera Animation Creation Guide

Template resource pack. Template BlockBench file. Detailed text guide - coming soon.

Fabric Only

This mod is developed for the Fabric mod loader. A Forge version is not planned due to significant architectural differences between platforms and the mod's deep integration with Fabric-specific APIs.

Dependencies

Required

  • Fabric API - Core Fabric mod loader functionality
  • YACL (Yet Another Config Library) - Configuration management

Optional

  • Mod Menu - Provides in-game configuration interface

Known Issues

  1. Problem with the freecam mod. Simultaneous activation of AFK Camera and Free Camera causes screen flickering but does not affect gameplay. (Will be fixed in a future update)

If you find a problem not listed here, you can report it here.

Acknowledgments

Big thanks to hashalite for creating Freecam! I used some code in my project, and it really helped me. Great work!

Also thanks to LopyMine!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project members
playsi_

playsi_

Developer

mrlemonhog

mrlemonhog

Developer

Created: 24 Aug 2025

ID: 262629