Free camera API V5

Free camera mode
Since version 3.2.0, the mod has included a built-in free camera feature, as many players were attracted by the mod's name only to discover that such functionality was not actually present.
By default, this feature is not bound to a key mapping and requires manual setup. Block collision detection is enabled by default and can be disabled via the configuration interface. If the mod is not installed on the server, it will be force-enabled; otherwise, it will follow the server's settings.
What are the advantages?
- Decouples from camera internals, reducing complexity.
- Simple and flexible usage.
- Supports loading chunks beyond the player's view range (with expansion).
How to Register and Use the Plugin
-
Create the plugin class
@Plugin(value = "example", priority = ModifierPriority.LOWEST) public class ExamplePlugin implements CameraPlugin { // ... }value: Plugin unique identifier (string)
priority: Priority setting (ModifierPriority.HIGH/LOWEST etc.) -
Initialization
public ExamplePlugin(CameraModifier modifier) { modifier.disable() .enablePos() .enableFov() .enableGlobalMode(); } -
Update camera data every frame
modifier .enablePos() // Enable position modification .enableRotation() // Enable rotation modification .enableFov() // Enable FOV modification .setPos(1, 2, 3) // Set camera position to (1,2,3), default is local coordinates centered on player .addPos(1, 2, 3) .setRotationYXZ(90f, 15f, 25f) // Set camera rotation to (90f, 15f, 25f) .move(0, 0, -5) // Move camera based on current rotation .enableGlobalMode() // Enable global mode, all coordinates and rotations will be modified according to world coordinates .enableChunkLoader() // Enable chunk loader, load chunks around the camera. An additional Free Camera API Addition mod needs to be installed to enable this feature, otherwise it will have no effect .enableObstacle() // Enable collision detectionGallery

How to Install Free camera API (Mod)
Free camera API by AnECanSaiTin is verified for Forge, Neoforge across Minecraft versions 1.20.1, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.6 (latest release: 5.1.1-beta, file size: 1,005 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.6) and platform (Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Forge, Neoforge.
- Move the downloaded Free camera API file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add VersionFix some bug.
- Updated to 1.21.7
- New feature: Control Scheme
- Fixed the issue that the camera rotates incorrectly
- Fix logo not display
- Add dev only plugin
- Fix i18n
Add setState and getState function for modifier.
Fix FOV do not meet expectations