This mod originally was made for the ModFest: Carnival, make sure to check it out!
With this mod, players can perform taunts and whole dances with new accessories.
Because the animations and items triggering the animations are all data driven, custom dances and taunts are possible without actually writing any code by following those steps:
-
In order to create a new animation, first download the Player.bbmodel file and open it with Blockbench. Inside the program, switch to the
Animations
tab (upper right corner) and crate a new animation there. -
If the animation is done, export it over
Animation -> Export Animations...
to a JSON file. The JSON file needs to be loaded over a Resource Pack. An example can be viewed in the mods resources folder.Note: Non-Linear animations currently do not work within this mod, see Known Missing Features. For now, use the Bakery plugin and export the animations after converting the keyframes with that.
-
For the item triggering the animation, any item can be used for that. It only needs to contain the apropiate Component (
dancerizer:taunt
ordancerizer:dance
). It will behave just like the other taunt or dance items.
Because the used animation format is quite complex and comes in many shapes, not all features have yet been implemented. Here is a list of all known missing features:
- Scale and particle keyframes
- Keyframe
pre
,post
andlerp_mode
settings - Particles in animations
- Molang expression support
This mod is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 of the License only.
This mod is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this mod. If not, see http://www.gnu.org/licenses/.