|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Mod
The new mod style in FML 1.3
Required Element Summary | |
---|---|
String |
modid
The unique mod identifier for this mod |
Optional Element Summary | |
---|---|
String |
acceptedMinecraftVersions
The acceptable range of minecraft versions that this mod will load and run in The default ("empty string") indicates that only the current minecraft version is acceptable. |
String |
bukkitPlugin
An optional bukkit plugin that will be injected into the bukkit plugin framework if this mod is loaded into the FML framework and the bukkit coremod is present. |
String |
dependencies
A simple dependency string for this mod (see modloader's "priorities" string specification) |
String |
modExclusionList
Mods that this mod will not load with. |
String |
name
A user friendly name for the mod |
boolean |
useMetadata
Whether to use the mcmod.info metadata by default for this mod. |
String |
version
A version string for this mod |
Element Detail |
---|
public abstract String modid
public abstract String name
public abstract String version
public abstract String dependencies
public abstract boolean useMetadata
public abstract String acceptedMinecraftVersions
public abstract String bukkitPlugin
BukkitPluginRef
annotation on fields.
public abstract String modExclusionList
Mod
annotation has a "getCustomErrorException" method, it will be
called to retrieve a custom error message for display in this case. If two mods have a declared
exclusion which screen is shown is indeterminate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |