MCAnim
⚪ Last updated 2024🖼️ Gallery (1 images)
🔍 Analysis
- 👍 0.9% endorsement rate
- 🏆 #435 of 2046 datapack mods in this game by downloads
📋 About This Mod
# MCAnim - A Minecraft animation library by Gears MCAnim is a Minecraft datapack library that aims to make it easy to run certain animations in your Minecraft world. It currently only supports display entity interpolation, but I plan on expanding it to include particle utility functions later. ## Current features: - **Animation playing** There are four ways to play animations: `generic`, `scale`, `translate` and `rotate`. Generic allows you to apply many animations including modifying duration at the same time. Called by running first the command `data modify storage mcanim:api/display_animation/generic animation set value {}`, and replacing the `{}` with your data. This supports setting the `duration` property, which decides the length of the animation, and any other property will be treated as an animation. Scale and translate do the same, but take x, y and z properties instead. Rotate converts the x, y and z values into a quaternion first. Then run the function `mcanim:api/display_animation/<function>` as the entity you want to animate, to see it play. - **Rotation and quaternions** Rotation also takes x, y and z components in degrees, but as Minecraft uses quaternions for rotation, it automatically converts the angles given into quaternions. This can be done manually by setting the `mcanim:api/maths/xyz_to_quaternion target` to `{x, y, z}` or ``, where you give each property the desired value. Then run `function mcanim:api/maths/xyz_to_quaternion`. The result will be in `mcanim:api/maths/xyz_to_quaternion output` The same feature exists the other way around, converting a quaternion to its x, y and z components. **NOTE**: This feature is currently not working properly. The output values will be inaccurate, so it is suggested not to use this. Similar to the above, set `mcanim:api/maths/quaternion_to_xyz target` to `` or `{x, y, z, w}` (w is ignored, so optional). Then run `function mcanim:api/maths/quaternion_to_xyz`. As expected, the resulting array: `` is found in `mcanim:api/maths/quaternion_to_xyz output` Those are all of the features currently implemented, if you would like to suggest more or report a bug, please create an (https://github.com/GearsDatapacks/mcanim/issues).
# MCAnim - A Minecraft animation library by Gears
MCAnim is a Minecraft datapack library that aims to make it easy to run certain animations in your Minecraft world. It currently only supports display entity interpolation, but I plan on expanding it to include particle utility functions later.
## Current features:
- Animation playing
- There are four ways to play animations: `generic`, `scale`, `translate` and `rotate`. Generic allows you to apply many animations including modifying duration at the same time. Called by running first the command `data modify storage mcanim:api/display_animation/generic animation set value {}`, and replacing the `{}` with your data. This supports setting the `duration` property, which decides the length of the animation, and any other property will be treated as an animation. Scale and translate do the same, but take x, y and z properties instead. Rotate converts the x, y and z values into a quaternion first. Then run the function `mcanim:api/display_animation/
` as the entity you want to animate, to see it play.
- Rotation and quaternions
- Rotation also takes x, y and z components in degrees, but as Minecraft uses quaternions for rotation, it automatically converts the angles given into quaternions. This can be done manually by setting the `mcanim:api/maths/xyz_to_quaternion target` to `{x, y, z}` or ``, where you give each property the desired value. Then run `function mcanim:api/maths/xyz_to_quaternion`. The result will be in `mcanim:api/maths/xyz_to_quaternion output`
The same feature exists the other way around, converting a quaternion to its x, y and z components. NOTE: This feature is currently not working properly. The output values will be inaccurate, so it is suggested not to use this. Similar to the above, set `mcanim:api/maths/quaternion_to_xyz target` to `` or `{x, y, z, w}` (w is ignored, so optional). Then run `function mcanim:api/maths/quaternion_to_xyz`. As expected, the resulting array: `` is found in `mcanim:api/maths/quaternion_to_xyz output`
Those are all of the features currently implemented, if you would like to suggest more or report a bug, please create an (https://github.com/GearsDatapacks/mcanim/issues).
📊 Mod Details
- Game
- Minecraft Data Packs
- Author
- GearsDatapacks
- Version
- 0.1.3
- Downloads
- 550
- Endorsements
- 5
- Category
- datapack
- Created
- 2/11/2023
- Updated
- 7/15/2024
- Game Versions
- 1.21
- Tags
- library, utility
🔧 How to Install Minecraft Data Packs Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Data Packs →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Data Packs commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Data Packs versions does MCAnim support?
The author lists 1.21. Other versions may work but are untested by the author.
What is the latest version of MCAnim?
Version 0.1.3, published 2024-07-15 with 550 downloads recorded at the source.
Keep browsing — more Minecraft Data Packs mods await
