neoforge-1.21-1.2.0
Compatibility
Changes
Update!
Something new?
Animation Format
-
unlock Option There's some little changes on animation files. Option "override" is replaced with "unlock", for animations, all model part will use override mode as the defualt, use "unlock" option can change specific model part to add mode. Example:
{ "unlock": ["HEAD", "LEFT_ARM", "RIGHT_ARM" ] }For this option, the optional values are HEAD, BODY, LEFT_ARM, RIGH_ARM, LEFT_LEG, RIGHT_LEG. -
useVanillaRig Option Animations now support the use of a more intuitive RigMode, you can find the example BlockBench projects in attachments. For temporary compatibility with older versions of animation files, the useVanillaRig option defaults to true. However, this will soon be changed to false in a future release, requiring users/developers to enable it themselves. However, in the current version, if you need to enable the new RidMode, please add
"useVanillaRig" : falseto the animation file.
Security Checks
When inviting others to interact or finding their way in front of the person who sent the invitation, the area in front of them is subject to the simplest security checks, avoid initiating interactions at a point where you can't stand.
Event System
This feature is for developers:
The new version adds an event system for when you need to execute some code on specific interactions/animations at specific moments.
This system almost same as Forge/Fabric API's event system, use SimpleAnimator.EVENT_BUS.addListener(event, listener) to add a listener.
API docs may not be released that soon, but it won't be delayed for long.
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:3PpZFZLQ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:8Ri7A4x9:3PpZFZLQ"
}

