public abstract class CreativeTabs
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CreativeTabs[] |
creativeTabArray |
static CreativeTabs |
tabAllSearch |
static CreativeTabs |
tabBlock |
static CreativeTabs |
tabBrewing |
static CreativeTabs |
tabCombat |
static CreativeTabs |
tabDecorations |
static CreativeTabs |
tabFood |
static CreativeTabs |
tabInventory |
static CreativeTabs |
tabMaterials |
static CreativeTabs |
tabMisc |
static CreativeTabs |
tabRedstone |
static CreativeTabs |
tabTools |
static CreativeTabs |
tabTransport |
Constructor and Description |
---|
CreativeTabs(int index,
java.lang.String label) |
CreativeTabs(java.lang.String label) |
Modifier and Type | Method and Description |
---|---|
void |
addEnchantmentBooksToList(java.util.List itemList,
EnumEnchantmentType... enchantmentType) |
void |
displayAllReleventItems(java.util.List p_78018_1_) |
boolean |
drawInForegroundOfTab() |
java.lang.String |
getBackgroundImageName() |
int |
getIconItemDamage() |
ItemStack |
getIconItemStack() |
static int |
getNextID() |
EnumEnchantmentType[] |
getRelevantEnchantmentTypes() |
int |
getSearchbarWidth()
Gets the width of the search bar of the creative tab, use this if your
creative tab name overflows together with a custom texture.
|
int |
getTabColumn() |
abstract Item |
getTabIconItem() |
int |
getTabIndex() |
java.lang.String |
getTabLabel() |
int |
getTabPage() |
java.lang.String |
getTranslatedTabLabel() |
boolean |
hasRelevantEnchantmentType(EnumEnchantmentType enchantmentType) |
boolean |
hasSearchBar()
Determines if the search bar should be shown for this tab.
|
boolean |
isTabInFirstRow() |
CreativeTabs |
setBackgroundImageName(java.lang.String texture) |
CreativeTabs |
setNoScrollbar() |
CreativeTabs |
setNoTitle() |
CreativeTabs |
setRelevantEnchantmentTypes(EnumEnchantmentType... types) |
boolean |
shouldHidePlayerInventory() |
public static CreativeTabs[] creativeTabArray
public static final CreativeTabs tabBlock
public static final CreativeTabs tabDecorations
public static final CreativeTabs tabRedstone
public static final CreativeTabs tabTransport
public static final CreativeTabs tabMisc
public static final CreativeTabs tabAllSearch
public static final CreativeTabs tabFood
public static final CreativeTabs tabTools
public static final CreativeTabs tabCombat
public static final CreativeTabs tabBrewing
public static final CreativeTabs tabMaterials
public static final CreativeTabs tabInventory
public CreativeTabs(java.lang.String label)
public CreativeTabs(int index, java.lang.String label)
public int getTabIndex()
public CreativeTabs setBackgroundImageName(java.lang.String texture)
public java.lang.String getTabLabel()
public java.lang.String getTranslatedTabLabel()
public ItemStack getIconItemStack()
public abstract Item getTabIconItem()
public int getIconItemDamage()
public java.lang.String getBackgroundImageName()
public boolean drawInForegroundOfTab()
public CreativeTabs setNoTitle()
public boolean shouldHidePlayerInventory()
public CreativeTabs setNoScrollbar()
public int getTabColumn()
public boolean isTabInFirstRow()
public EnumEnchantmentType[] getRelevantEnchantmentTypes()
public CreativeTabs setRelevantEnchantmentTypes(EnumEnchantmentType... types)
public boolean hasRelevantEnchantmentType(EnumEnchantmentType enchantmentType)
public void displayAllReleventItems(java.util.List p_78018_1_)
public void addEnchantmentBooksToList(java.util.List itemList, EnumEnchantmentType... enchantmentType)
public int getTabPage()
public static int getNextID()
public boolean hasSearchBar()
public int getSearchbarWidth()