diff options
author | nea <nea@nea.moe> | 2023-06-12 02:39:48 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-06-12 02:39:48 +0200 |
commit | 9508bcc851c736d807ae912e0e5b33e2654b46cc (patch) | |
tree | 6f2f08a265b8ba7d6a5042d64bcd603502d6d78e /src/main | |
parent | a1fb86f653a80a9029da65394ca95146dc570693 (diff) | |
download | firmament-9508bcc851c736d807ae912e0e5b33e2654b46cc.tar.gz firmament-9508bcc851c736d807ae912e0e5b33e2654b46cc.tar.bz2 firmament-9508bcc851c736d807ae912e0e5b33e2654b46cc.zip |
Add mixin extras
Diffstat (limited to 'src/main')
3 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/moe/nea/firmament/init/MixinPlugin.java b/src/main/java/moe/nea/firmament/init/MixinPlugin.java index 663c9d9..7d979ae 100644 --- a/src/main/java/moe/nea/firmament/init/MixinPlugin.java +++ b/src/main/java/moe/nea/firmament/init/MixinPlugin.java @@ -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 diff --git a/src/main/java/moe/nea/firmament/mixins/MixinDrawContext.java b/src/main/java/moe/nea/firmament/mixins/MixinDrawContext.java deleted file mode 100644 index a30eb11..0000000 --- a/src/main/java/moe/nea/firmament/mixins/MixinDrawContext.java +++ /dev/null @@ -1,2 +0,0 @@ -package moe.nea.firmament.mixins;public class MixinDrawContext { -} diff --git a/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt b/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt index 5da47ed..161c4c2 100644 --- a/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt @@ -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>() * } * ``` */ |