Home›Java›Mods›Perspective API Demo
Perspective API Demo
ModsJava

Perspective API Demo

Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.

by Leawind · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.11 · Fabric⬇ Download for 1.21–1.21.1 · Fabric⬇ Download for 1.20.6 · Fabric⬇ Download for 1.20.4 · Fabric⬇ Download for 1.20.1 · Fabric⬇ Download for 1.21.11 · NeoForge⬇ Download for 1.21–1.21.1 · NeoForge⬇ Download for 1.20.6 · NeoForge⬇ Download for 1.20.4 · NeoForge⬇ Download for 1.20.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Perspective API Demo

This mod implements several simple custom perspectives based on the Perspective API. If you are developing a mod that involves custom perspective functionality, you may refer to the code in this mod. This mod is not intended for actual gameplay, so its features are not perfect—for example, in free camera mode, you can still break/place blocks with the mouse. This is not considered a bug.

Features

This mod adds the following custom perspectives:

Simple Third Person

Almost identical to vanilla third-person view, except that the camera position is adjusted so that the player is positioned in the lower-left portion of the screen.

Free Third Person

Almost identical to vanilla third-person view, but moving the mouse only rotates the camera, not the player. The player automatically turns toward the movement direction instead.

Additionally, the mouse scroll wheel adjusts both the camera-to-player distance and the FOV simultaneously, centered on the player, achieving a Hitchcock zoom (dolly zoom) effect.

Free Camera

The camera detaches from the player entity and can be controlled independently:

All movements are based on the camera's local reference frame, not the world reference frame.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more