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.
截图
介绍
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:
- Enables free camera mode
- Hides the game HUD
- Loads and plays cinematic camera animations in a random order
- Cycles through available animations continuously
The moment any player input is detected, the mod immediately:
- Stops the current animation
- Restores the HUD
- Returns camera control to the player
- 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.
常见问题
AFK Camera 支持哪些 Minecraft 版本?
AFK Camera 支持 Minecraft Java 版 1.19.2–1.21.10,共 21 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
AFK Camera 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
playsi_ 的其他作品
查看全部 →
Aeronautics Camera Sync
Adds a dynamic camera tilt for the contraption from the Create Aeronautics mod
white sharp shader
An abstract, stylized and high-performance Minecraft shader that will make your gaming experience unique.
Emotecraft: Borrow Their Emote (EBTE)
Client-side addon for Emotecraft, that lets you borrow another player's emote and play it together.
Screen Mirror Shader
A shader that allows you to rotate the image in the game vertically, horizontally and more
评论
登录后评论和评分