From c0677fa0c34e89150fcce237c4a0f636469bc70e Mon Sep 17 00:00:00 2001 From: TexTrue <65154269+TexBlock@users.noreply.github.com> Date: Wed, 3 May 2023 12:55:21 +0800 Subject: [PATCH] fix mixin --- .../createreibugfix/ModMixinConfiPlugin.java | 23 +++++++++++++++++++ .../resources/createreibugfix.mixins.json | 1 + 2 files changed, 24 insertions(+) create mode 100644 src/main/java/ho/artisan/createreibugfix/ModMixinConfiPlugin.java diff --git a/src/main/java/ho/artisan/createreibugfix/ModMixinConfiPlugin.java b/src/main/java/ho/artisan/createreibugfix/ModMixinConfiPlugin.java new file mode 100644 index 0000000..853b257 --- /dev/null +++ b/src/main/java/ho/artisan/createreibugfix/ModMixinConfiPlugin.java @@ -0,0 +1,23 @@ +package ho.artisan.createreibugfix; + +import me.fallenbreath.conditionalmixin.api.mixin.RestrictiveMixinConfigPlugin; + +import java.util.List; +import java.util.Set; + +public class ModMixinConfiPlugin extends RestrictiveMixinConfigPlugin { + @Override + public String getRefMapperConfig() { + return null; + } + + @Override + public void acceptTargets(Set myTargets, Set otherTargets) { + + } + + @Override + public List getMixins() { + return null; + } +} diff --git a/src/main/resources/createreibugfix.mixins.json b/src/main/resources/createreibugfix.mixins.json index fdf5dc6..45d5441 100644 --- a/src/main/resources/createreibugfix.mixins.json +++ b/src/main/resources/createreibugfix.mixins.json @@ -3,6 +3,7 @@ "minVersion": "0.8", "package": "ho.artisan.createreibugfix.mixin", "compatibilityLevel": "JAVA_17", + "plugin": "ho.artisan.createreibugfix.ModMixinConfiPlugin", "mixins": [ "SequencedAssemblyRecipeMixin" ],