diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 801ff63..4ac3b9a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -115,6 +115,8 @@ jobs: ${{ inputs.publish_mc_ver }} game-version-filter: any dependencies: | - malilib(optional) + fabric(required) + magiclib(required) + malilib(required) retry-attempts: 2 retry-delay: 10000 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 2e5d093..d00f423 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -38,6 +38,7 @@ "${mod_id}.mixins.json" ], "depends": { + "fabric": ">=${magiclib_dependency}", "magiclib": ">=${magiclib_dependency}", "malilib": "*", "minecraft": "${minecraft_dependency}" diff --git a/src/main/resources/masa_gadget_mod.mixins.json b/src/main/resources/masa_gadget_mod.mixins.json index 157cc37..1a93152 100644 --- a/src/main/resources/masa_gadget_mod.mixins.json +++ b/src/main/resources/masa_gadget_mod.mixins.json @@ -50,14 +50,12 @@ "mod_tweak.tweakeroo.inventoryPreviewSupportSelect.MixinInGameHud", "mod_tweak.tweakeroo.inventoryPreviewSupportSelect.MixinInventoryOverlay", "mod_tweak.tweakeroo.inventoryPreviewSupportShulkerBoxItemEntity.MixinRenderUtils", + "mod_tweak.tweakeroo.inventoryPreviewSupportTradeOfferList.MixinAbstractVillager", "mod_tweak.tweakeroo.inventoryPreviewSupportTradeOfferList.MixinRenderUtils", "mod_tweak.tweakeroo.inventoryPreviewSyncDataClientOnly.MixinClientPacketListener", "mod_tweak.tweakeroo.inventoryPreviewUseCache.MixinMixinRenderUtils" ], "injectors": { "defaultRequire": 1 - }, - "mixins": [ - "mod_tweak.tweakeroo.inventoryPreviewSupportTradeOfferList.MixinAbstractVillager" - ] + } }