FmmGeometryConverter
Converts a single FMM bone model (Java Edition JSON) to Bedrock geometry (.geo.json).
Functions
Link copied to clipboard
public static String convert(String modelName, String boneName, JsonObject javaModel, Map<String, SpriteInfo> spriteMap, int atlasWidth, int atlasHeight, File bedrockPackDir)
Converts a bone model and writes the .geo.json file.
Link copied to clipboard
public static String convertWithIdentifier(String geometryIdentifier, String outputModelPath, JsonObject javaModel, Map<String, SpriteInfo> spriteMap, int atlasWidth, int atlasHeight, File bedrockPackDir)
Generic-pipeline conversion: caller supplies the full geometry identifier and output-path stem, so this method has no hardcoded "freeminecraftmodels" naming.