I am a new to coding, I have done plugins before, but this is obviously different, so I do not know what many things are. I only know the 'basics'.
I have tried to add this.displayAllReleventItems(arg0), but then I get errors with the String in the displayAllReleventItems.
This is my code from the CreativeTab class
package com.Greenadine.ExtendedItemsMod.CreativeTabs;
import com.Greenadine.ExtendedItemsMod.ExtendedItemsMod;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
public class TabExtendedItemsModItems extends CreativeTabs {
public TabExtendedItemsModItems(int arg0, String arg1) {
super(arg0, arg1);
this.displayAllReleventItems(arg0);
}
@Override
public Item getTabIconItem() {
return ExtendedItemsMod.SuperiteGem;
}
}
It gives the error "The method displayAllReleventItems(List) in the type CreativeTabs is not applicable for the arguments (int)" at this.displayAllReleventItems.
I do not know what to do next. And how do I organize it with a Comperator, because I do not know what it is.
But thanks already for the help!