promotional bannermobile promotional banner

Camera Shake Lib

Unlisted
A library that lets devs add smooth camera shake effects with a single line of code.
Rijz | Camera Shake Lib
Create a server, get 25% off your first monthaffiliate logo
Create Server
affiliate banner image

Camera Shake Lib

A library that lets devs add smooth camera shake effects with a single line of code.

CurseForge Modrinth GitHub Discord Wiki


Features

Adds camera shakes on pitch, yaw, and roll without messing with mouse aim. Works in client mods, server mods, and falls back to vanilla tilt if players join without the mod. You can test shakes in game using /camerashake.


Showcase

Showcase 1

Showcase 2

Showcase 3


Dependencies

Supported on Minecraft 26.1 to 26.3.

Required

Name Version
Fabric Loader 0.19.3+
Fabric API 0.155.3+

Optional

Name Version
Mod Menu 18.0.2+

For Developers

Quick Example

CameraShake.shake(0.4f, 15);

Gradle Setup

repositories {
    exclusiveContent {
        forRepository {
            maven {
                name = "Modrinth"
                url = "https://api.modrinth.com/maven"
            }
        }
        filter {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies {
    implementation "maven.modrinth:camera-shake-lib:x.x.x"
}

Full usage guide on the Wiki.


Support

Need help or found an issue? Join our Discord or submit an Issue.


License

Camera Shake Lib is open source under the MIT License.

Camera Shake Lib Team

profile avatar
Owner
  • 2
    Projects
  • 74.9K
    Downloads

More from Rijz