Add mixin extras
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
package moe.nea.firmament.init;
|
||||
|
||||
import com.llamalad7.mixinextras.MixinExtrasBootstrap;
|
||||
import org.objectweb.asm.tree.ClassNode;
|
||||
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
|
||||
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
|
||||
@@ -29,6 +30,7 @@ public class MixinPlugin implements IMixinConfigPlugin {
|
||||
|
||||
@Override
|
||||
public void onLoad(String mixinPackage) {
|
||||
MixinExtrasBootstrap.init();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
package moe.nea.firmament.mixins;public class MixinDrawContext {
|
||||
}
|
||||
@@ -24,8 +24,8 @@ package moe.nea.firmament.events
|
||||
* Typically, that event bus is implemented as a companion object
|
||||
*
|
||||
* ```
|
||||
* class SomeEvent : NEUEvent() {
|
||||
* companion object : NEUEventBus<SomeEvent>()
|
||||
* class SomeEvent : FirmamentEvent() {
|
||||
* companion object : FirmamentEventBus<SomeEvent>()
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user