metadata is dead
This commit is contained in:
parent
3b78e97ad8
commit
f279a07586
1 changed files with 1 additions and 27 deletions
|
@ -118,33 +118,7 @@ public @interface Mod
|
|||
* The mod object to inject into this field
|
||||
*/
|
||||
String value() default "";
|
||||
|
||||
/**
|
||||
* Optional owner modid, required if this annotation is on something that is not inside the main class of a mod container.
|
||||
* This is required to prevent mods from classloading other, potentially disabled mods.
|
||||
*/
|
||||
String owner() default "";
|
||||
}
|
||||
/**
|
||||
* Populate the annotated field with the mod's metadata.
|
||||
* @author cpw
|
||||
*
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.FIELD)
|
||||
@interface Metadata {
|
||||
/**
|
||||
* The mod id specifying the metadata to load here
|
||||
*/
|
||||
String value() default "";
|
||||
|
||||
/**
|
||||
* Optional owner modid, required if this annotation is on something that is not inside the main class of a mod container.
|
||||
* This is required to prevent mods from classloading other, potentially disabled mods.
|
||||
*/
|
||||
String owner() default "";
|
||||
}
|
||||
|
||||
/**
|
||||
* A class which will be subscribed to {@link net.minecraftforge.common.MinecraftForge.EVENT_BUS} at mod construction time.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue