Make the InvokeCommand conform better to Minecraft standards and make it public and static.