@Target(value=TYPE)
@Retention(value=CLASS)
public @interface MixinLoader
Purely a marker annotation. Use it in classes and said classes will be instantiated.
Make sure there is an empty-arg constructor as LoaderMixin will call newInstance on it.
Feel free to do any Mixin related things in the constructor. But, most importantly, add (mod mixin) configs there.
- Since:
- 4.2 this class was deprecated., 9.2 this class was reinstated because of Forge not gathering interfaces in 1.8.x.
When used and paired with
ILateMixinLoader, it will act the same way as it would in a 1.9+ setting.
Consult the usage of ILateMixinLoader for mod mixins, and for vanilla/forge mixins, consult the usage of IEarlyMixinLoader