Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
Functionality
Freecam mods allow players to move the camera independently from the player body. This is useful for screenshots, building, and administration, but it can be problematic on servers when players use it to look into or move through areas that are normally limited by block collisions.
AntiFreecam evolved addresses that specific behavior:
The server registers a custom configuration payload. During connection setup, the server requires the client to have this AntiFreecam mod installed. The server sends the client the setting forceCollision=true. The client stores this server setting for the current connection. If the Freecam mod is installed, a mixin hooks into its configuration. Block collisions then remain active in Freecam, even when Freecam would normally disable them. The goal is not to ban Freecam completely. The camera can still be used. The mod only ensures that Freecam does not use disabled block collisions on servers that require collision enforcement.
Origin
This project is based on the original idea and functionality of Kesuaheli's AntiFreecam. This derived version keeps that behavior working on newer Minecraft, Fabric, and Freecam versions.


