Was having trouble not using IHasModel, got linked to your example mod. When using the ModCreativeTabs i get an error from intelliJ like this:
Class 'Anonymous class derived from CustomCreativeTab' must either be declared abstract or implement abstract method 'getTabIconItem()' in 'CreativeTabs'
Here:
public static final CustomCreativeTab CREATIVE_TAB = new CustomCreativeTab(MOD_ID, true) {
@Override
public ItemStack createIcon() {
return TAB_ICON_ITEMSTACK;
}
};
Also get an error further down the code like this:
Method does not override method from its superclass
Here:
@SideOnly(Side.CLIENT)
@Override
abstract public ItemStack createIcon();
Was having trouble not using
IHasModel
, got linked to your example mod. When using theModCreativeTabs
i get an error from intelliJ like this:Here:
Also get an error further down the code like this:
Here:
Link to my class: Github