generate

public static String generate(String modelName, String boneName, String geometryId, String bedrockTexturePath, JsonObject javaModel, File bedrockPackDir)

Generates an attachable JSON file and its companion three-pose animation file for one bone. FMM-style wrapper: builds the FMM-prefixed identifiers/paths, then splits the work into prepareAnimations (called once per model) and writeAttachable (called once per attachable file).

Return

the bedrock identifier for use in Geyser mappings, or null on failure

Parameters

javaModel

parsed bone JSON; display.head (if present) is forwarded to the animation generator so Rainbow's head-display transform formula (translation × -0.655/+0.655/+0.655 + (0, 20, 0), scale × 0.655) is applied