Class CreativeTab
- java.lang.Object
-
- net.minecraft.client.gui.screens.inventory.CreativeTab
-
@Client public class CreativeTab extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreativeTab.Type
-
Field Summary
Fields Modifier and Type Field Description static CreativeTab
BREWING
static CreativeTab
BUILDING_BLOCKS
static CreativeTab
COMBAT
static CreativeTab
DECORATIONS
static CreativeTab
FOOD
static CreativeTab
INVENTORY
static CreativeTab
MATERIALS
static CreativeTab
MISC
static CreativeTab
REDSTONE
static ResourceReloadListener
RELOADER
static CreativeTab
SEARCH
static CreativeTab
tabTools
static CreativeTab
TRANSPORTATION
-
Constructor Summary
Constructors Constructor Description CreativeTab(java.lang.String string)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
displayAllRelevantItems(java.util.List<ItemStack> var1)
java.lang.String
getBackgroundImageName()
java.util.List<Item>
getContents()
boolean
getHasScrollBar()
ItemStack
getIconItem()
int
getTabColumn()
static int
getTabCount()
int
getTabId()
java.lang.String
getTabLabel()
int
getTabPage()
static int
getTabPage(int tabId)
java.lang.String
getTranslatedTabLabel()
CreativeTab.Type
getType()
boolean
isDrawTitle()
boolean
isTabInFirstRow()
CreativeTab
setBackgroundImageName(java.lang.String var1)
CreativeTab
setIconItem(ItemStack stack)
CreativeTab
setIconItem(Block block)
CreativeTab
setIconItem(Item item)
CreativeTab
setNoScrollbar()
CreativeTab
setNoTitle()
CreativeTab
setType(CreativeTab.Type type)
boolean
shouldShow(int currentPage)
java.lang.String
toString()
-
-
-
Field Detail
-
BUILDING_BLOCKS
public static final CreativeTab BUILDING_BLOCKS
-
DECORATIONS
public static final CreativeTab DECORATIONS
-
REDSTONE
public static final CreativeTab REDSTONE
-
TRANSPORTATION
public static final CreativeTab TRANSPORTATION
-
MISC
public static final CreativeTab MISC
-
SEARCH
public static final CreativeTab SEARCH
-
FOOD
public static final CreativeTab FOOD
-
tabTools
public static final CreativeTab tabTools
-
COMBAT
public static final CreativeTab COMBAT
-
BREWING
public static final CreativeTab BREWING
-
MATERIALS
public static final CreativeTab MATERIALS
-
INVENTORY
public static final CreativeTab INVENTORY
-
RELOADER
public static final ResourceReloadListener RELOADER
-
-
Method Detail
-
getType
public CreativeTab.Type getType()
-
setType
public CreativeTab setType(CreativeTab.Type type)
-
getContents
public java.util.List<Item> getContents()
-
getTabId
public int getTabId()
-
getTabLabel
public java.lang.String getTabLabel()
-
getTranslatedTabLabel
public java.lang.String getTranslatedTabLabel()
-
setIconItem
public CreativeTab setIconItem(Block block)
-
setIconItem
public CreativeTab setIconItem(Item item)
-
setIconItem
public CreativeTab setIconItem(ItemStack stack)
-
getIconItem
public ItemStack getIconItem()
-
getBackgroundImageName
public java.lang.String getBackgroundImageName()
-
isDrawTitle
public boolean isDrawTitle()
-
getHasScrollBar
public boolean getHasScrollBar()
-
getTabColumn
public int getTabColumn()
-
isTabInFirstRow
public boolean isTabInFirstRow()
-
getTabPage
public int getTabPage()
-
shouldShow
public boolean shouldShow(int currentPage)
-
getTabPage
public static int getTabPage(int tabId)
-
getTabCount
public static int getTabCount()
-
displayAllRelevantItems
public void displayAllRelevantItems(java.util.List<ItemStack> var1)
-
setBackgroundImageName
public CreativeTab setBackgroundImageName(java.lang.String var1)
-
setNoTitle
public CreativeTab setNoTitle()
-
setNoScrollbar
public CreativeTab setNoScrollbar()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-