neoforge-1.21-1.2.2
Compatibility
Changes
Small Update and Feature Preview
This update mostly for developers.
Animation Variables
Animation side
Animation supports keyframes for variables, but since the corresponding animation tool or BlockBench plugin has not yet been developed, the current method of adding animation variables is as follows:
- Add an empty group in BlockBench
- Name it with format: var_name1_name2_name3 (underlines are separators, maximum of 3 variables per group)
- Goto “Animate” and add keyframes for them.
The variable uses the first value of Position, Rotation, Scale.
Program side
Variables only store in client, you can get a variable by using: ClientAnimator.getVariable(name)
If the running animation does not contain this variable, this function returns an unchangeable VariableHolder with a value of 0.
Quasi Inverse Kinematics
This is an experimental feature, and only in client side.
This feature provides three built-in variables: ikLeftArm, ikRightArm, ikHead, you can add it in animations to control IK weights.
The IK target can only be set by programs, using: ClientAnimator.setIkTarget(bone, pos).
Full Changelog: https://github.com/LouisQuepierts/SimpleAnimator/compare/1.2.1...1.2.2
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:8Ri7A4x9:R9EhIQ14"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:8Ri7A4x9:R9EhIQ14"
}

