Mekanism

Mekanism

111M Downloads

Mekanism tools should extend from the correct vanilla base class to allow them being used in other mods' machines

MatthiasMann opened this issue ยท 2 comments

commented

Currently all Mekanism tools extend ItemTool (through ItemMekanismTool) but this makes them incompatible in other mods (eg EnderIO farm) which expect vanilla tool classes like ItemAxe or ItemPickaxe.

commented

The other mods shouldn't (only) do an instance check, all our digging tools have correctly set harvest levels. They should use getHarvestLevel(stack, "axe"), or equivalent, instead. It shouldn't be necessary for tools to subclass certain classes to be recognised.

commented

Looks like they've fixed this as much as possible in EnderIO.