There are two Fabric mods:
A:
package a...;
import ...
Mixin(AbstractMinecartEntity.class)
public class AbstractMinecartEntityMixin extends Entity {
...
@Override public ActionResult intercat(...) {}
...
}
B:
package b...;
import ...
Mixin(AbstractMinecartEntity.class)
public class AbstractMinecartEntityMixin extends Entity {
...
@Override public ActionResult intercat(...) {}
...
}
If I add these two mods at the same time, only one can run normally and the log says that “Method overwrite conflict …”
How can I deal with it elegantly?