cpw.mods.fml.common
Annotation Type Mod


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Mod

The new mod style in FML 1.3

Author:
cpw

Required Element Summary
 String modid
          The unique mod identifier for this mod
 
Optional Element Summary
 String dependencies
          A simple dependency string for this mod (see modloader's "priorities" string specification)
 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

modid

public abstract String modid
The unique mod identifier for this mod

Returns:

name

public abstract String name
A user friendly name for the mod

Returns:
Default:
""

version

public abstract String version
A version string for this mod

Returns:
Default:
""

dependencies

public abstract String dependencies
A simple dependency string for this mod (see modloader's "priorities" string specification)

Returns:
Default:
""

useMetadata

public abstract boolean useMetadata
Whether to use the mcmod.info metadata by default for this mod. If true, settings in the mcmod.info file will override settings in these annotations.

Returns:
Default:
false