Carpet TIS Addition

Carpet TIS Addition

461k Downloads

Crash with Lithium in dev environment

zly2006 opened this issue ยท 2 comments

commented

Bug description

Crash

Steps to reproduce

using these dependencies in my mod dev environment:

    modImplementation("maven.modrinth:carpet:1.4.128")
    modImplementation("maven.modrinth:carpet-tis-addition:v1.63.0-mc1.20.4")
    modImplementation("maven.modrinth:lithium:mc1.20.4-0.12.1")

They are all the latest version I can find on modrinth. But when I try to start debugging it crashed.

Relevant logs

the mixin error:

Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/entity/Entity::optimizedFastEntityMovement_dontUseThatLargeBlockCollisions with priority 1000 cannot inject into net/minecraft/entity/Entity::adjustMovementForCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Box;Lnet/minecraft/world/World;Ljava/util/List;)Lnet/minecraft/util/math/Vec3d; merged by me.jellysquid.mods.lithium.mixin.entity.collisions.movement.EntityMixin with priority 1000 [INJECT_PREPARE Applicator Phase -> carpet-tis-addition.mixins.json:rule.optimizedFastEntityMovement.EntityMixin from mod carpet-tis-addition -> Prepare Injections -> wrapOperation$bfb000$carpet-tis-addition$optimizedFastEntityMovement_dontUseThatLargeBlockCollisions(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Lcom/llamalad7/mixinextras/injector/wrapoperation/Operation;Lnet/minecraft/util/math/Vec3d;)Ljava/lang/Iterable; -> Prepare ->  -> { target: adjustMovementForCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Box;Lnet/minecraft/world/World;Ljava/util/List;)Lnet/minecraft/util/math/Vec3d; }]

Minecraft version

1.20.4

Carpet TIS Addition version

v1.63.0-mc1.20.4

Fabric Carpet version

1.4.128

Check list

  • I have verified that the issue persists in the latest version of the mod.
  • I have searched the existing issues and confirmed that this is not a duplicate.
commented

Please provide a full log, instead of a log snippet

commented

Sorry, I found it is not a bug, in dev environments fabric does not load the nested jars so conditional mixin is not loaded to my classpath.