Package net.minecraft.src
Class CreativeTabs
java.lang.Object
net.minecraft.src.CreativeTabs
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CreativeTabs[]static final CreativeTabsstatic final CreativeTabsstatic final CreativeTabsstatic final CreativeTabsstatic final CreativeTabsstatic final CreativeTabsstatic final CreativeTabsstatic final CreativeTabsstatic final CreativeTabsstatic final CreativeTabsstatic final CreativeTabsstatic final CreativeTabs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEnchantmentBooksToList(List par1List, EnumEnchantmentType... par2ArrayOfEnumEnchantmentType) Adds the enchantment books from the supplied EnumEnchantmentType to the given list.voiddisplayAllReleventItems(List par1List) only shows items which have tabToDisplayOn == thisbooleanbooleanfunc_111226_a(EnumEnchantmentType par1EnumEnchantmentType) func_111229_a(EnumEnchantmentType... par1ArrayOfEnumEnchantmentType) intreturns index % 6intthe itemID for the item to be displayed on the tabintGets the translated Label.booleanreturnstabIndex < 6setBackgroundImageName(String par1Str) boolean
-
Field Details
-
creativeTabArray
-
tabBlock
-
tabDecorations
-
tabRedstone
-
tabTransport
-
tabMisc
-
tabAllSearch
-
tabFood
-
tabTools
-
tabCombat
-
tabBrewing
-
tabMaterials
-
tabInventory
-
-
Constructor Details
-
CreativeTabs
-
-
Method Details
-
getTabIndex
public int getTabIndex() -
getTabLabel
-
getTranslatedTabLabel
Gets the translated Label. -
getTabIconItem
-
getTabIconItemIndex
public int getTabIconItemIndex()the itemID for the item to be displayed on the tab -
getBackgroundImageName
-
setBackgroundImageName
-
drawInForegroundOfTab
public boolean drawInForegroundOfTab() -
setNoTitle
-
shouldHidePlayerInventory
public boolean shouldHidePlayerInventory() -
setNoScrollbar
-
getTabColumn
public int getTabColumn()returns index % 6 -
isTabInFirstRow
public boolean isTabInFirstRow()returnstabIndex < 6 -
func_111225_m
-
displayAllReleventItems
only shows items which have tabToDisplayOn == this -
func_111229_a
-
func_111226_a
-
addEnchantmentBooksToList
public void addEnchantmentBooksToList(List par1List, EnumEnchantmentType... par2ArrayOfEnumEnchantmentType) Adds the enchantment books from the supplied EnumEnchantmentType to the given list.
-