Перейти к содержимому
Mineforgian

AFK Camera

A Minecraft mod that activates a cinematic mode when the player is idle, making the camera smoothly orbit around the character for a dynamic view.

39K загрузок107 подписчиковCC-BY-ND-4.0fabric

Обновлён 1 ноября 2025 г. · опубликован 2 августа 2025 г.

  • logo
  • When you don't
  •  touch the mouse
  • for 30 seconds
  • interesting things happen.

AFK Camera

AFK Camera

Overview

AFK Camera is a Minecraft mod that automatically activates cinematic camera movements when you're idle. After a configurable period of inactivity (default 30 seconds), the mod seamlessly transitions your camera into a free-cam mode and begins playing smooth, pre-defined camera animations around your world.

Features

  • Automatic AFK Detection: Monitors player activity including movement, mouse input, key presses, and damage
  • Smooth Camera Transitions: Automatically switches to free camera mode with cinematic animations
  • Configurable Timing: Customizable AFK timeout period
  • HUD Management: Automatically hides the HUD during AFK mode
  • Animation System: Supports custom camera keyframe animations with position and rotation interpolation
  • Smart Deactivation: Instantly returns 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 for player activity including:

  • Movement keys (WASD, jump, sneak, sprint)
  • Mouse movement
  • Action keys (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 HUD
  3. Loads and plays cinematic camera animations in a random order
  4. Cycles through available animations continuously

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

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

Block Bench Compatibility

This mod is designed to work seamlessly 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 AFK 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

Custom camera animations tutorial

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 the significant architectural differences between the 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

Issues

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

Acknowledgments

Big thanks to hashalite for creating Freecam! I used a bit of the code in my project, and it really helped me out. Great work!

Thanks to ZipeStudio for help with IDE.

Thanks to LopyMine for Mossy template!

Thanks to Danrus1100 for contributing!

License

This project is licensed under the BY-ND 4.0 License - see the LICENSE file for details.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.4.2+1.20.1Бета1.20.1fabric1 ноября 2025 г..jar (309 КБ)
1.4.2+1.21.1Бета1.21.1fabric1 ноября 2025 г..jar (309 КБ)
1.4.2+1.21.8Бета1.21.8fabric1 ноября 2025 г..jar (308 КБ)
1.4.2+1.21.7Бета1.21.7fabric1 ноября 2025 г..jar (308 КБ)
1.4.2+1.21.6Бета1.21.6fabric1 ноября 2025 г..jar (308 КБ)
1.4.0+1.20.1Бета1.20.1fabric29 октября 2025 г..jar (309 КБ)
1.4.0+1.21.10Бета1.21.10fabric29 октября 2025 г..jar (308 КБ)
1.4.0+1.21.9Бета1.21.9fabric29 октября 2025 г..jar (308 КБ)
1.4.0+1.21.8Бета1.21.8fabric29 октября 2025 г..jar (308 КБ)
1.4.0+1.21.7Бета1.21.7fabric29 октября 2025 г..jar (308 КБ)
1.4.0+1.21.6Бета1.21.6fabric29 октября 2025 г..jar (308 КБ)
1.4.0+1.21.5Бета1.21.5fabric29 октября 2025 г..jar (308 КБ)
1.4.0+1.21.4Бета1.21.4fabric29 октября 2025 г..jar (308 КБ)
1.4.0+1.21.3Бета1.21.3fabric29 октября 2025 г..jar (308 КБ)
1.4.0+1.21.2Бета1.21.2fabric29 октября 2025 г..jar (308 КБ)

Показаны последние 15 из 30 версий. Все версии — на Modrinth.

Ченджлог

1.4.2+1.20.1Бета1.20.1 · 1 ноября 2025 г.
  • add iris support
  • fix render mixin
  • compatible with Sinytra Connector (Oculus)
1.4.2+1.21.1Бета1.21.1 · 1 ноября 2025 г.
  • add iris support
  • fix render mixin
  • compatible with Sinytra Connector
1.4.2+1.21.8Бета1.21.8 · 1 ноября 2025 г.
  • fix crashes on start
1.4.2+1.21.7Бета1.21.7 · 1 ноября 2025 г.
  • fix crashes on start
1.4.2+1.21.6Бета1.21.6 · 1 ноября 2025 г.
  • fix crashes on start
1.4.0+1.20.1Бета1.20.1 · 29 октября 2025 г.
  • Sinytra Connector support
1.4.0+1.21.10Бета1.21.10 · 29 октября 2025 г.
  • migrate to Mossy for multiversion
  • a lot of small changes
1.4.0+1.21.9Бета1.21.9 · 29 октября 2025 г.
  • migrate to Mossy for multiversion
  • a lot of small changes

Полная история изменений — на Modrinth.

Комментарии

Загружаем…