Skip to main content

Bettermodel Animation Cinematic

Play a BetterModel model animation during a cinematic

Plays a BetterModel animation during a cinematic with configurable lerp in/out, speed, and play mode via segment data. Unlike [PlayerAnimationCinematicEntry], this entry uses a full model (not just a limb) and supports all animation playback modes.

Fields

FieldTypeDefaultDescription
modelIdVar<String>—The limb model ID from BetterModel/players folder (e.g., 'steve', 'alex')
segmentsList<BetterModelAnimationCinematicSegment>empty—
BetterModelAnimationCinematicSegment (7)
FieldTypeDefaultDescription
startFrameInt0—
endFrameInt0—
animationVar<String>—The animation name to play
playModePlayModeentries.action.PlayMode.PLAY_ONCEAnimation play mode: PLAY_ONCE, HOLD_ON_LAST, or LOOPValues:PLAY_ONCEHOLD_ON_LASTLOOP
lerpInInt6The duration of the lerp in effect (ticks)
lerpOutInt6The duration of the lerp out effect (ticks)
speedFloat1.0The speed multiplier of the animation
Common TypeWriter fields (criteria)
FieldTypeDefaultDescription
criteriaList<Criteria>empty—

How to use it​

modelId is a limb model from BetterModel's players folder. A model appears for the viewing player only, at the player's position when the first segment starts. Each segment gives an animation, a playMode, lerpIn and lerpOut in ticks, and a speed. Following segments with the same animation do not restart it. The model is removed at the end of the cinematic. To place the model at a fixed point, use Player Animation Cinematic.