SnowyCrescentCore
Project Introduction
1.Capability Tool
- You can register a capability with very little code. And It will auto sync to client.
- Supports for players and other entities
2.Player Animator Api
-
The animation has compose now!!! You can dance with other player.
-
You can register layers on the server via JSON or Event.
-
You can register animation on the server via JSON or Event.
-
You can register raw animation on the client via JSON or Event.
-
You can invite other player to participate in certain animations together.
-
You can apply to join other player who is playing animation with ride.
-
You can request a player to playing an animation.
3.Patchouli Data Generate
- You can generate a full book of patchouli with this mod.
Wiki:https://github.com/Zershyan/SnowyCrescentCore/wiki
Use 'ride' to play animations in third person.

Use 'ride' to play animations in first person.

waltz

How to implementation?
In repositories:
repositories {
maven {
name = "Mafuyu404 Maven"
url = "https://maven.sighs.cc/repository/maven-public/"
}
}
In dependencies:
dependencies {
implementation("io.zershyan:sccore:1.20.1-1.0.0")
} All Versions
+ Add Version- Added movement correction relative to the perspective
API changes :
- The return type of getLayers in IAnimationService has been changed from HashSet to LinkedHashSet
- The parameter of getAnimationPlaying(ResourceLocation layer) in AnimationHelper is no longer Nullable
- The AnimationHelper class has added a new getAnimationPlaying() method to retrieve all animations that are currently playing
- Fixed the camera height error.
- Fixed some bugs about patchouli data generate
- Fixed an issue where Patchouli generated data incorrectly.
- Fixed an issue where the camera calculation could sometimes be incorrect.
- Fixed an issue where dying or re-entering the world after installing this mod would cause animation anomalies
- Fix exceptions when running the server in the development environment
- Added data generation for Patchouli content.
update json structure
You can add this to your jvm args to enable examples:
-Dsccore.enable_examples=trueYou can run this command to test combination animation:
/dance invite {target} sccore:normal_layers sccore:waltz_gentleman trueThen target player can click the text in the chat box or run this command:
/dance invite accept {inviter}More information in the mod description (Just import it in your IDEA and see javadoc).