generate
public static FmmAnimationGenerator.AnimationIds generate(String animBaseId, String fileBaseName, FmmAnimationGenerator.JavaDisplay javaHeadDisplay, FmmAnimationGenerator.JavaDisplay javaFirstPersonDisplay, FmmAnimationGenerator.JavaDisplay javaThirdPersonDisplay, Array<double> bonePivot, File bedrockPackDir)
Writes one animation file containing all three Rainbow-style animations.
Each of the three display arguments is optional; when null, the held poses use Java's identity transform and the head uses Rainbow's base values. The held poses are solved by HeldItemTransform.
Return
the three fully-qualified animation identifiers, or null on failure
Parameters
animBaseId
identifier base (without "animation." prefix)
fileBaseName
filename base; output is animations/
javaHeadDisplay
optional Java display.head transform; null = identity
javaFirstPersonDisplay
optional Java display.firstperson_righthand transform; null = identity
javaThirdPersonDisplay
optional Java display.thirdperson_righthand transform; null = identity
bonePivot
pivot of the geometry bone the animations drive, in Bedrock file coordinates (FmmGeometryConverter.bonePivot)
bedrockPackDir
pack root