prepare

public static ItemParticleAttachment prepare(String modelRef, File mergedJavaPack, String animBaseId, String animFileBase, File bedrockPackDir)

Reads the sidecar for a Java model reference and writes its particle animation.

Return

the attachment, or null when the model has no particle sidecar or it is unreadable

Parameters

modelRef

Java model reference such as freeminecraftmodels:display/wand

animBaseId

identifier base shared with the model's other attachable animations