mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
add generic wrench handling to fully transparently support BC & COFH wrenches, and add a bonus IC2 wrench support.
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user