YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.creativetab.CreativeTabs Class Reference
Inheritance diagram for net.minecraft.creativetab.CreativeTabs:
YATS.common.gui.TabYATS

Public Member Functions

 CreativeTabs (String label)
 
 CreativeTabs (int par1, String par2Str)
 
int getTabIndex ()
 
CreativeTabs setBackgroundImageName (String par1Str)
 
String getTabLabel ()
 
String getTranslatedTabLabel ()
 
Item getTabIconItem ()
 
int getTabIconItemIndex ()
 
String getBackgroundImageName ()
 
boolean drawInForegroundOfTab ()
 
CreativeTabs setNoTitle ()
 
boolean shouldHidePlayerInventory ()
 
CreativeTabs setNoScrollbar ()
 
int getTabColumn ()
 
boolean isTabInFirstRow ()
 
void displayAllReleventItems (List par1List)
 
int getTabPage ()
 
ItemStack getIconItemStack ()
 
void func_92116_a (List par1List, EnumEnchantmentType...par2ArrayOfEnumEnchantmentType)
 

Static Public Member Functions

static int getNextID ()
 

Static Public Attributes

static CreativeTabs[] creativeTabArray = new CreativeTabs[12]
 
static final CreativeTabs tabBlock = new CreativeTabBlock(0, "buildingBlocks")
 
static final CreativeTabs tabDecorations = new CreativeTabDeco(1, "decorations")
 
static final CreativeTabs tabRedstone = new CreativeTabRedstone(2, "redstone")
 
static final CreativeTabs tabTransport = new CreativeTabTransport(3, "transportation")
 
static final CreativeTabs tabMisc = new CreativeTabMisc(4, "misc")
 
static final CreativeTabs tabAllSearch = (new CreativeTabSearch(5, "search")).setBackgroundImageName("search.png")
 
static final CreativeTabs tabFood = new CreativeTabFood(6, "food")
 
static final CreativeTabs tabTools = new CreativeTabTools(7, "tools")
 
static final CreativeTabs tabCombat = new CreativeTabCombat(8, "combat")
 
static final CreativeTabs tabBrewing = new CreativeTabBrewing(9, "brewing")
 
static final CreativeTabs tabMaterials = new CreativeTabMaterial(10, "materials")
 
static final CreativeTabs tabInventory = (new CreativeTabInventory(11, "inventory")).setBackgroundImageName("survival_inv.png").setNoScrollbar().setNoTitle()
 

Constructor & Destructor Documentation

net.minecraft.creativetab.CreativeTabs.CreativeTabs ( String  label)
net.minecraft.creativetab.CreativeTabs.CreativeTabs ( int  par1,
String  par2Str 
)

Member Function Documentation

void net.minecraft.creativetab.CreativeTabs.displayAllReleventItems ( List  par1List)

only shows items which have tabToDisplayOn == this

boolean net.minecraft.creativetab.CreativeTabs.drawInForegroundOfTab ( )
void net.minecraft.creativetab.CreativeTabs.func_92116_a ( List  par1List,
EnumEnchantmentType...  par2ArrayOfEnumEnchantmentType 
)
String net.minecraft.creativetab.CreativeTabs.getBackgroundImageName ( )
ItemStack net.minecraft.creativetab.CreativeTabs.getIconItemStack ( )

Get the ItemStack that will be rendered to the tab.

static int net.minecraft.creativetab.CreativeTabs.getNextID ( )
static
int net.minecraft.creativetab.CreativeTabs.getTabColumn ( )

returns index % 6

Item net.minecraft.creativetab.CreativeTabs.getTabIconItem ( )
int net.minecraft.creativetab.CreativeTabs.getTabIconItemIndex ( )

the itemID for the item to be displayed on the tab

int net.minecraft.creativetab.CreativeTabs.getTabIndex ( )
String net.minecraft.creativetab.CreativeTabs.getTabLabel ( )
int net.minecraft.creativetab.CreativeTabs.getTabPage ( )
String net.minecraft.creativetab.CreativeTabs.getTranslatedTabLabel ( )

Gets the translated Label.

boolean net.minecraft.creativetab.CreativeTabs.isTabInFirstRow ( )

returns tabIndex < 6

CreativeTabs net.minecraft.creativetab.CreativeTabs.setBackgroundImageName ( String  par1Str)
CreativeTabs net.minecraft.creativetab.CreativeTabs.setNoScrollbar ( )
CreativeTabs net.minecraft.creativetab.CreativeTabs.setNoTitle ( )
boolean net.minecraft.creativetab.CreativeTabs.shouldHidePlayerInventory ( )

Member Data Documentation

CreativeTabs [] net.minecraft.creativetab.CreativeTabs.creativeTabArray = new CreativeTabs[12]
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabAllSearch = (new CreativeTabSearch(5, "search")).setBackgroundImageName("search.png")
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabBlock = new CreativeTabBlock(0, "buildingBlocks")
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabBrewing = new CreativeTabBrewing(9, "brewing")
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabCombat = new CreativeTabCombat(8, "combat")
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabDecorations = new CreativeTabDeco(1, "decorations")
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabFood = new CreativeTabFood(6, "food")
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabInventory = (new CreativeTabInventory(11, "inventory")).setBackgroundImageName("survival_inv.png").setNoScrollbar().setNoTitle()
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabMaterials = new CreativeTabMaterial(10, "materials")
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabMisc = new CreativeTabMisc(4, "misc")
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabRedstone = new CreativeTabRedstone(2, "redstone")
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabTools = new CreativeTabTools(7, "tools")
static
final CreativeTabs net.minecraft.creativetab.CreativeTabs.tabTransport = new CreativeTabTransport(3, "transportation")
static

The documentation for this class was generated from the following file: