Skip to content

Crashing in 1.21 #3

@nshjck

Description

@nshjck

After depending on jarvis in my build.gradle, whilst compiling the mod works correctly attempting to run the game gives the following error:
java.lang.RuntimeException: Mixin transformation of net.minecraft.item.SwordItem failed org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [fabric-mining-level-api-v1.mixins.json:SwordItemMixin from mod fabric-mining-level-api-v1] from phase [DEFAULT] in config [fabric-mining-level-api-v1.mixins.json] FAILED during APPLY org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on fabric$onIsSuitableFor could not find any targets matching 'Lnet/minecraft/item/SwordItem;method_7856(Lnet/minecraft/block/BlockState;)Z' in net.minecraft.item.SwordItem. Using refmap fabric-mining-level-api-v1-refmap.json [PREINJECT Applicator Phase -> fabric-mining-level-api-v1.mixins.json:SwordItemMixin from mod fabric-mining-level-api-v1 -> Prepare Injections -> -> handler$zcd001$fabric-mining-level-api-v1$fabric$onIsSuitableFor(Lnet/minecraft/block/BlockState;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V -> Parse]
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions