Package net.minheur.potoflux.loader.mod
Annotation Interface Mod
The class to annotate your main mod class with.
This contains all main data for the mod (that doesn't need to create the mod to be accessed).
This contains all main data for the mod (that doesn't need to create the mod to be accessed).
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]The list of all potoflux versions your mod is compatible with.
Should take the form ofcompatibleVersions = {"6.0", "6.1"}An online URL, leading to a JSON file.
The file must contain a JSON object.
The object must contain 1 entry by version :
The key of the entry is the version (same as set inversion()),
and the content an array of strings.String[]A list of dependencies mods.
Each entry needs to be formated likeid:minVersion:maxVersionorid:versionString[]
-
Element Details
-
-
compatibleVersions
String[] compatibleVersionsThe list of all potoflux versions your mod is compatible with.
Should take the form ofcompatibleVersions = {"6.0", "6.1"}- Returns:
- potoflux versions compatible with your mod
- Default:
- {"-1"}
-
compatibleVersionUrl
String compatibleVersionUrlAn online URL, leading to a JSON file.
The file must contain a JSON object.
The object must contain 1 entry by version :
The key of the entry is the version (same as set inversion()),
and the content an array of strings. Each string of the array is one potoflux version supported by the corresponding mod version- Returns:
- the online compatible version URL
- Default:
- "NONE"
-
dependenciesIds
String[] dependenciesIdsA list of dependencies mods.
Each entry needs to be formated likeid:minVersion:maxVersionorid:version- Returns:
- an array of dependencies mods
- Default:
- {}
-
externalDependencies
String[] externalDependencies- Default:
- {}
-