AddonFileObject
Represents a locally installed add-on file, returned by addon.get_addon() or included in addon.installed_addons.
Attributes
Section titled “Attributes”| Attribute | Type | Description |
|---|---|---|
AddonFileObject.addon_object_type | str | 'file' for locally installed add-ons |
AddonFileObject.name | str | The name declared by the .jar file |
AddonFileObject.type | str | Type of add-on: 'forge', 'fabric', or 'bukkit' |
AddonFileObject.author | str | The author defined in the .jar file |
AddonFileObject.subtitle | str | A short description defined in the .jar file |
AddonFileObject.id | str | A short, unique identifier of the add-on |
AddonFileObject.file_name | str | The full file name of the .jar file |
AddonFileObject.path | str | The full file path of the .jar file |
AddonFileObject.addon_version | str | Add-on version defined in the .jar file |
AddonFileObject.enabled | bool | Whether or not the add-on is enabled in auto-mcs |
AddonFileObject.hash | str | Short file identity derived from artifact name and size |
AddonFileObject.loaders | list | Loader compatibility metadata when available |
AddonFileObject.update | dict | {'version': str, 'url': str, 'is_updating': bool} |