Back to mods
Free camera API project artwork

CurseForge · Minecraft mod

Free camera API

Free camera mode and modify camera state flexible

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Free camera API release should I use?

Updated 4 months ago
Latest stable file 3.2.0
Game version 1.21.1
Loader NeoForge

Free camera API 3.2.0 targets 1.21.1 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Free camera API required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Free camera API 3.2.0 need?

3.2.0. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Free camera API without breaking your instance.

Built for Free camera API 3.2.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 3.2.0. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 3.2.0. It opens that exact file at the source.

About this project

What does Free camera API add?

Free camera API V3

Logo

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

  1. Create the plugin class

    @CameraPlugin(value = "example", priority = ModifierPriority.LOWEST)
    public class ExamplePlugin implements ICameraPlugin {
        // ...
    }
    

    value: Plugin unique identifier (string)
    priority: Priority setting (ModifierPriority.HIGH/LOWEST etc.)

  2. Initialization

    @Override
    public void initialize(ICameraModifier modifier) {
        this.modifier = modifier;
        modifier.enable();
    }
    
  3. 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 detection

Gallery

Dolly zoom Roll

Project description from CurseForge.

Pick your setup

Free camera API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

12 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Free camera API versions and loaders

18 of 18 releases match

Looking for an older file? The official CurseForge project page is in Resources.