Snownee / Companion

https://www.curseforge.com/minecraft/mc-mods/companion-fabric
4 stars 3 forks source link

about the incompatibility with Carpet (Parrots) #31

Closed peow closed 3 months ago

peow commented 7 months ago

Mod loader

Fabric

Minecraft version

1.20.1

Mod version

5.1.0

Modloader version

fabric loader 0.15.7 / fabric api 0.92.0

Modpack info

No response

If bug:

If bug: The latest.log file

No response

Issue description

[13:24:28] [main/WARN]: @Redirect conflict. Skipping companion.mixins.json:PlayerMixinFailsafe from mod companion->@Redirect::nullifyDefaultRemoveEntitiesOnShoulder(Lnet/minecraft/class_1657;)V with priority 950, already redirected by carpet.mixins.json:Player_parrotMixin from mod carpet->@Redirect::cancelDropShoulderEntities1(Lnet/minecraft/class_1657;)V with priority 1000 [13:24:28] [main/WARN]: @Redirect conflict. Skipping companion.mixins.json:PlayerMixinFailsafe from mod companion->@Redirect::nullifyDefaultRemoveEntitiesOnShoulder(Lnet/minecraft/class_1657;)V with priority 950, already redirected by carpet.mixins.json:Player_parrotMixin from mod carpet->@Redirect::cancelDropShoulderEntities2(Lnet/minecraft/class_1657;)V with priority 1000


Carpet has a rule that prevents Parrots from coming off your shoulder until you take damage (/carpet persistentParrots), but even with this rule disabled it still overlaps the Companion mod, ignoring its settings about Parrots.

I managed to resolve this by opening the Carpet .jar with WinRar, going to carpet.mixins, and removing the line that talked about Parrots, If anyone has the same problem I recommend doing this