Create TakeResourceAction.java