pub fn write_animation( file: &Path, texture: &str, animation: Option<&Animation>, ) -> Result<PathBuf, String>
Sets the animation of texture texture of the mod (None: still) in its .ytexture; the file written.
texture
None
.ytexture