Skip to content

crashes on startup with mods bundling later registrate versions (inc. Immersive Mechanical) #125

Description

@RedRaspberry

game crashes on startup due to a mixin failure

Modlist:
Create (https://modrinth.com/mod/LNytGWDc) [6.0.10]
Immersive Engineering (https://www.curseforge.com/projects/231951) [12.4.2-194]
Immersive Mechanical (https://www.curseforge.com/projects/1582996) [2101.0.0-pre4-fix1]
Petrolpark's Library (https://modrinth.com/mod/ik2WZkTZ) [1.4.36]
Expected Behavior

Additional context
The mixin to com/tterrag/registrate/builders/FluidBuilder (https://github.com/petrolpark/Create-Library/blob/1.21.1/src/main/java/petrolpark/mc/library/mixin/FluidBuilderMixin.java) fails with Critical injection failure: @WrapOperation annotation on petrolpark$sourceTagsAlsoOptional could not find any targets matching 'Lcom/tterrag/registrate/builders/FluidBuilder;lambda$tag$25(Lnet/minecraft/data/tags/TagsProvider$TagAppender;)V' in com/tterrag/registrate/builders/FluidBuilder. No refMap loaded. [INJECT_PREPARE Applicator Phase -> petrolpark.mixins.json:FluidBuilderMixin from mod petrolpark -> Prepare Injections -> wrapOperation$zfm000$petrolpark$sourceTagsAlsoOptional(Lnet/minecraft/data/tags/TagsProvider$TagAppender;Lnet/minecraft/resources/ResourceKey;Lcom/llamalad7/mixinextras/injector/wrapoperation/Operation;)Lnet/minecraft/data/tags/TagsProvider$TagAppender; -> Parse -> -> Validate Targets]
Presumably, this is because both mods directly include registrate in the jar, and other mods besides IM could fail in the same way, I'm not sure what's wrong beyond that
Log:
https://mclo.gs/g8qisWQ

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 BugSomething isn't working as intended🤝 CompatibilityBugs and suggestions related to compatibility with other mods

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions