@Override
public boolean blockActivated(EntityPlayer player, int side) {
ItemStack current = player.inventory.getCurrentItem();
if (current != null)
if (current.getItem() instanceof IToolWrench) {
IToolWrench wrench = (IToolWrench) current.getItem();
if (wrench.canWrench(player, xCoord, yCoord, zCoord))
if (Game.isHost(worldObj) && getEnergyStage() == EnergyStage.OVERHEAT) {
resetEnergyStage();
wrench.wrenchUsed(player, xCoord, yCoord, zCoord);
return true;
}
}
return super.blockActivated(player, side);
}