I can't get it to load my icon, I have Googled everything but just can't get it to work. Here's my code:
public static final ResourceLocation icon = new ResourceLocation("cc", "gui/inventory.png".substring(1));
This is the path I am trying to find:
\resources\assets\cc\gui\inventory.png
The null is setting the creative tab to null. I did this because I made the creative tab after registering the item, and it was easier to just set the creative tab in the itemJoint class.
For anyone that is curious, this is actually how I fixed it:
I had registered the item incorrectly:
itemJoint = new itemJoint(itemJointID, null).setUnlocalizedName("Joint");
GameRegistry.registerItem(itemJoint, itemJoint.getUnlocalizedName().substring(5));