Tags
Creators
Details
All versions
1.1.0
Release
Camera Shake Lib 1.1.034 minutes ago 8
Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
Platform
Fabric
Supported environments
Client-side
Server-side
Client and server
Required content
Any compatible version
Changes
Added
- Added
ShakeInstance.copy()to copy a shake's settings and remaining time.
Changed
- Applied existing 1200 tick command limit to API shakes using shared
ShakeInstance.MAX_TICKSconstant. - Limited each client to 64 active shakes. New requests are skipped while the limit is reached.
- Added checks for
NaNand infinity in shake strength, frequency, and the radius passed tosendNearby(). Invalid requests are skipped. Creating aShakeInstancewith invalid strength or frequency, or passing an invalid frequency tofreq(), throws an error.
Fixed
- Active shakes now clear when you disconnect.
- Each shake plays from its own copy, so you can reuse a
ShakeInstancewithout affecting playback. Finished instances are skipped. - Client now clears shakes only when it receives explicit stop message from the server.
- Used more precise math when combining the angles of multiple shakes.
Full Changelog: https://github.com/Rijzzz/camera-shake-lib/compare/v1.0.0...v1.1.0
Optional dependencies
Any compatible version
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:rZBF5Z0S:KCgDiEfL"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:rZBF5Z0S:KCgDiEfL"
}

