mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 14:34:28 +00:00
Thoughts on how to do the modloading properly
This commit is contained in:
1 parent
b23bdc628b
commit
0a7e8a8c3e
7 files changed
+320
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package fml;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Mod {
|
||||
String name() default "";
|
||||
String version() default "";
|
||||
boolean wantsPreInit() default false;
|
||||
boolean wantsPostInit() default false;
|
||||
public @interface PreInit {}
|
||||
public @interface Init {}
|
||||
public @interface PostInit {}
|
||||
}
|
||||
Reference in new issue
Block a user