Class TitaniumTab

java.lang.Object
net.minecraft.world.item.CreativeModeTab
com.hrznstudio.titanium.tab.TitaniumTab
Direct Known Subclasses:
AdvancedTitaniumTab

public class TitaniumTab extends net.minecraft.world.item.CreativeModeTab
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Supplier<net.minecraft.world.item.ItemStack>
     

    Fields inherited from class net.minecraft.world.item.CreativeModeTab

    TAB_BREWING, TAB_BUILDING_BLOCKS, TAB_COMBAT, TAB_DECORATIONS, TAB_FOOD, TAB_HOTBAR, TAB_INVENTORY, TAB_MATERIALS, TAB_MISC, TAB_REDSTONE, TAB_SEARCH, TAB_TOOLS, TAB_TRANSPORTATION, TABS
  • Constructor Summary

    Constructors
    Constructor
    Description
    TitaniumTab​(String label, Supplier<net.minecraft.world.item.ItemStack> stackSupplier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
     
    net.minecraft.world.item.ItemStack
     

    Methods inherited from class net.minecraft.world.item.CreativeModeTab

    canScroll, fillItemList, getBackgroundImage, getBackgroundSuffix, getColumn, getDisplayName, getEnchantmentCategories, getGroupCountSafe, getId, getLabelColor, getRecipeFolderName, getSearchbarWidth, getSlotColor, getTabPage, getTabsImage, hasEnchantmentCategory, hasSearchBar, hideScroll, hideTitle, isAlignedRight, isTopRow, setBackgroundImage, setBackgroundSuffix, setEnchantmentCategories, setRecipeFolderName, showTitle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • stackSupplier

      protected Supplier<net.minecraft.world.item.ItemStack> stackSupplier
  • Constructor Details

    • TitaniumTab

      public TitaniumTab​(String label, Supplier<net.minecraft.world.item.ItemStack> stackSupplier)
  • Method Details

    • makeIcon

      public net.minecraft.world.item.ItemStack makeIcon()
      Specified by:
      makeIcon in class net.minecraft.world.item.CreativeModeTab
    • getIconItem

      public net.minecraft.world.item.ItemStack getIconItem()
      Overrides:
      getIconItem in class net.minecraft.world.item.CreativeModeTab