Mo' Bends 2.0.0-alpha.4 for Minecraft 1.20.1 (fabric)
Curse Maven Snippet
What's new
The first Mo' Bends for Minecraft 1.20.1 (Forge and Fabric) and 26.3 (Fabric and NeoForge), alongside 1.21.1. It animates the same mobs on every version, except the babies 26.3 draws with a model of their own. Every mob is now a type file, which resource packs and addons can add to.
Added
- Minecraft 1.20.1 (and 1.20) on Fabric and Forge, with everything 1.21.1 has. On Forge, the Config button in the mod list opens the Mo' Bends menu.
- Minecraft 26.3 on Fabric and NeoForge: the player and the mobs bend, with their armour and held items, and the Mo' Bends menu opens from its key and the Config button (Mod Menu on Fabric). The mobs' own layers follow the bent model too: the wolf's mouth, the iron golem's poppy, the witch's potion, the mooshroom's mushroom, the sheep's wool and saddles, and the elytra. Arrows and bee stingers stick in a bent player's bent parts, supporters wear their accessories, swung swords and flying arrows leave their trails, and the cape ripples. Armour from GeckoLib 5 mods bends with the body, cut at the elbows and knees (GeckoLib 5.5 and up, optional). An animator's debug rays show.
- Wither skeletons are animated, as skeletons are. They were left out when the mobs moved to model definitions.
- Addon API:
INodeState.resetClock, called before a node's scope is made, andPoseWriter.scaleSoFar, a bone's scale as the items before have left it.
Changed
- Every mob Mo' Bends animates, the player included, is a type file now (
bends/types/), not registered in code. Their ids are the same, so ranks, switches and options set before still apply. - A type file can name a model by key whatever order the packs were read in.
- A type file needs a
model(a model's key, a model definition orvanilla): there are no default models anymore, which a type without one used to get. - Another mod's mob that is a subclass of a mob Mo' Bends animates (a mod's zombie) no longer bends with that mob's model unless a type names it.
- An expression in a node's or layer's
smoothingis a load error. It used to be read and then ignored: only an item's@smoothingtakes expressions.
Fixed
- Node and layer
smoothing(and@default) smooths a part's offset (core:translate) too, and smooths a bone's rotation and position each on its own: an item smoothing one of them no longer leaves the other unsmoothed. - A bone's own smoothing wins over
@default, in a node's or layer'ssmoothingand in an item's@smoothing. An expression in an item's@defaultsmooths every bone the item writes. enterPosemoves parts (core:translate), and a relative one builds on the layers below. Axes anoverridetranslate leaves out start from the layers below, instead of NaN.- An item with
@mirrorreads the layers below mirrored, so a weighted clip no longer blends from rest. - A function's
stringandchoicearguments are checked where it's called, so a function that passes its argument on to another loads, and a bad string is caught. - A node entered again keeps nothing from its last time, and its constants and
enterlist readnodeTicksElapsedas 0. - A state machine keeps running its
updatelist while one of its nodes fades out. A transition into a machine that's running leaves it and enters it again, and exits run innermost first, then the transition'sdo, as the format says. - Leg IK puts an angled leg's foot in the right place when the leg points straight away from its target.
core:three_bone_ikreaches targets near its root, and turns the chain when its end points straight away from the target.core:two_bone_ikandcore:three_bone_ikfollow the scale of the bones inparents, and theirstretchis how far the end really is from the target, in blocks.- A mob in the Settings window settles back into its idle pose when its row is no longer hovered, as on 1.12.2, instead of snapping straight to it.
Removed
AddonAnimationRegistry.registerDefinedEntity: an addon's mobs are type files in its resources.
Not yet
- On 26.3, the babies drawn with a model of their own (wolf pups, baby zombies and villagers) keep vanilla's animation.
- The items 1.12 didn't have (spyglass, goat horn, brush, crossbow, trident) still keep whatever pose the player was in.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

