add generic wrench handling to fully transparently support BC & COFH wrenches, and add a bonus IC2 wrench support.

This commit is contained in:
Xander Victory committed 2017-11-07 15:38:54 +08:00
1 parent d73796ad4d
commit f6f7678f8b
15 files changed
+408 -124

No files matched your search

@@ -1496,7 +1496,10 @@ public final class MekanismUtils
* @param player - the player using the wrench
* @param pos - the coordinate of the block being wrenched
* @return if the player can use the wrench
*
* @deprecated use {@link mekanism.common.integration.wrenches.Wrenches#getHandler(ItemStack)}
*/
@Deprecated
public static boolean hasUsableWrench(EntityPlayer player, BlockPos pos)
{
ItemStack tool = player.inventory.getCurrentItem();