Sinytra / Connector

A compatibility layer that allows running Fabric mods on NeoForge
https://sinytra.org/docs/connector
MIT License
504 stars 20 forks source link

AdventureZ is incompatible with Apotheosis #526

Closed uthw closed 10 months ago

uthw commented 10 months ago

Describe the bug

Crash on startup with code 2, java.lang.reflect.InvocationTargetException

Steps to reproduce

  1. Add Apotheosis, Connector, and AdventureZ to an instance with all of their dependencies.
  2. Change patchouli's version from 82 to 81
  3. Set up fabric_loader_dependencies.json to fix the cloth-config2 error if encountered
  4. Launch Minecraft

Logs

latest.log debug.log

Additional context

fabric_loader_dependencies.json

Su5eD commented 10 months ago

I've tracked this down Apotheosis' coremod, which replaces the method call to Enchantment#getMaxLevel() with its own hook. AdventureZ's mixin method is an inject call, which means the injeciton could keep working as long as mixin was aware of the change in the injection target.

Unfortunately, there is nothing that can be done about this from Connector's standpoint. It is a direct conflict between the two mods. Your best best is talking to their devs and asking if there are any alternatives to their approach that would eliminate the problem.