# 2.2.2 Updates and fixes
- [Fabric] Add compatibility with TACZ Fabric 1.20.1
- Fix the animation twitching problem when TACZ fires
- Complete compatibility with TACZ bayonet animation
- Fix the player rotation problem in the model switching interface (especially when the player opens the model switching interface while riding a horse)
- Fix the problem that the free field of the independent manifest file is not processed
- Add `ysm.bone_pivot_abs` to get the coordinates of the specified bone pivot point in the model space in the previous frame.
> Note that if the parent bone is hidden or scaled by 0, the value will not be updated. Example: `ysm.bone_pivot_abs('LeftHand').x`;
- Add ysm.bone\_[rot/scale/pos] to get the bone parameters of the previous frame.
> Example: `ysm.bone_rot("LeftLeg').x`;
- Fixed the inaccurate values of `q.eye_target_[x/y]rotation` and `q.body_[x/y]_rotation`;
- Fixed the abnormal rendering of paper dolls when using molang hidden groups when the first-person module is effective;
- Improved the rendering of semi-transparent models;
- Added `properties.render_layers_first` field (default false) to the manifest file to specify whether the vanilla model layer is rendered before the ysm model. The specific details will be introduced in the document later;
- Greatly improved the performance of multiplayer games, especially when light and shadow + entity shadow are turned on;
- Adapted the SWEM mod (+11 animations, refer to the `swem.animation.json` of the default model);
- Adapted the Parcool mod (+35 animations, refer to the `parcool.animation.json` of the default model);
- Added `hover`, `hover_fadeout`, and `focus` animations, which are played when the mouse hovers over, moves out of, or selects a model button in the model interface;
- Compatible with Carpet and Curtain mod dummies, and in theory, with dummies that work in a similar way;
- Supports copying or opening the author's contact information on the model details page;
- Supports attaching additional information when exporting encrypted models;
- Adapted to Sodium 0.6 and Iris 1.8;
- Limits the animation update frequency to 60 fps;
- Fixed the problem that iris shadow rendering has no head when the first-person mod is in effect;
- Fixed compatibility with fashion armor mods;
- Fixed the problem that the old version of the model texture file is not sorted correctly;
- Fixed the problem that the renderer crashed in rare cases (access violation);
- Fixed the problem that the process could not be terminated due to abnormal exit;
- Improved the reliability of handshake and synchronization in an online environment;
- Added the command `/ysm ping`, solve the problem that the client does not recognize the server due to packet loss;
- Improve the automatic completion of some command parameters;
- The top-level model directory is not recognized as a model.
- Fix the problem of some groups being misplaced under the Carry On holding posture
- Add a new wine fox model, and attach GUI suspension and selection animations
# Known issues:
- The semi-transparent part of the model may block other entities, which can be solved by installing the oculus/iris module;
- The semi-transparent part of the model in the inventory will block buttons added by other modules.
- The animation will only play once when TACZ fires continuously
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }