metadata is dead

This commit is contained in:
cpw authored and LexManos committed 2018-09-05 11:40:48 -07:00
1 parent 3b78e97ad8
commit f279a07586
1 file changed
+1 -27
@@ -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.
*/