mod does not work and gives exit error 1 error
emmod-190 opened this issue ยท 2 comments
When I install the mod, when I press the start game button, the game loading screen comes up and closes. After it closes, it gives Minecraft launcher exit error 1 error. There is no file in the crash-reports folder. Only the latest.log file gets this text:
[27Dec2023 16:56:32.344] [main/FATAL] [mixin/]: Mixin apply failed createdieselgenerators.mixins.json:EntityMixin -> net.minecraft.world.entity.Entity: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on tick could not find any targets matching 'tick()V' in net.minecraft.world.entity.Entity. Using refmap mixin.refmap.json [PREINJECT Applicator Phase -> createdieselgenerators.mixins.json:EntityMixin -> Prepare Injections -> -> handler$bcd001$tick(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on tick could not find any targets matching 'tick()V' in net.minecraft.world.entity.Entity. Using refmap mixin.refmap.json [PREINJECT Applicator Phase -> createdieselgenerators.mixins.json:EntityMixin -> Prepare Injections -> -> handler$bcd001$tick(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]
mod version: createdieselgenerators-1.20.1-1.2f
create version: create-1.20.1-0.5.1.f
forge version: 1.20.1 - 47.2.18
how can i fix this?
You can unzip the jar, modify createdieselgenerrators.mixin.json, remove "EntityMixin",
from the array and it should work.
There is some random issue that randomly 1.20 has a mixin error that happens randomly that is super ridiculous, as it can't find tick()
in the Entity class