COMPAT: Lootr incompatible with Mohist, CraftBukkit
noobanidus opened this issue ยท 0 comments
Bukkit
Older and current versions of Lootr are inherent incompatible with Bukkit implementations, including CraftBukkit, specifically Mohist, as these add API functions to various container & inventory classes.
The first conflict of getContents
was resolved in recent versions of Lootr by renaming our internal API function to getLootrContents
.
Unfortunately, Bukkit also defines custom onOpen
methods for containers, resulting in similar error messages:
java.lang.AbstractMethodError: Receiver class noobanidus.mods.lootr.data.SpecialChestInventory does not define or inherit an implementation of the resolved method 'abstract void onOpen(org.bukkit.craftbukkit.v1_18_R2.entity.CraftHumanEntity)' of interface net.minecraft.world.Container.
As far as I'm aware, there's nothing Lootr can do to address this.
Magma
The dev of Magma (@JustRed23) has addressed this in their own code-base implementation of Bukkit to retain compatibility with Lootr.
If you wish to use Bukkit-based plug-ins and Mohist or other implementations aren't functioning, I recommend trying Magma.