public abstract class CreativeTabs
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
backgroundTexture |
static CreativeTabs |
BREWING |
static CreativeTabs |
BUILDING_BLOCKS |
static CreativeTabs |
COMBAT |
static CreativeTabs[] |
CREATIVE_TAB_ARRAY |
static CreativeTabs |
DECORATIONS |
private boolean |
drawTitle |
private EnumEnchantmentType[] |
enchantmentTypes |
static CreativeTabs |
FOOD |
private boolean |
hasScrollbar |
static CreativeTabs |
HOTBAR |
private ItemStack |
iconItemStack |
static CreativeTabs |
INVENTORY |
static CreativeTabs |
MATERIALS |
static CreativeTabs |
MISC |
static CreativeTabs |
REDSTONE |
static CreativeTabs |
SEARCH |
private int |
tabIndex |
private java.lang.String |
tabLabel |
static CreativeTabs |
TOOLS |
static CreativeTabs |
TRANSPORTATION |
Constructor and Description |
---|
CreativeTabs(int index,
java.lang.String label) |
CreativeTabs(java.lang.String label) |
public static CreativeTabs[] CREATIVE_TAB_ARRAY
public static final CreativeTabs BUILDING_BLOCKS
public static final CreativeTabs DECORATIONS
public static final CreativeTabs REDSTONE
public static final CreativeTabs TRANSPORTATION
public static final CreativeTabs MISC
public static final CreativeTabs SEARCH
public static final CreativeTabs FOOD
public static final CreativeTabs TOOLS
public static final CreativeTabs COMBAT
public static final CreativeTabs BREWING
public static final CreativeTabs MATERIALS
public static final CreativeTabs HOTBAR
public static final CreativeTabs INVENTORY
private final int tabIndex
private final java.lang.String tabLabel
private java.lang.String backgroundTexture
private boolean hasScrollbar
private boolean drawTitle
private EnumEnchantmentType[] enchantmentTypes
private ItemStack iconItemStack
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 ItemStack getTabIconItem()
public java.lang.String getBackgroundImageName()
public boolean drawInForegroundOfTab()
public CreativeTabs setNoTitle()
public boolean shouldHidePlayerInventory()
public CreativeTabs setNoScrollbar()
public int getTabColumn()
public boolean isTabInFirstRow()
public boolean isAlignedRight()
public EnumEnchantmentType[] getRelevantEnchantmentTypes()
public CreativeTabs setRelevantEnchantmentTypes(EnumEnchantmentType... types)
public boolean hasRelevantEnchantmentType(@Nullable EnumEnchantmentType enchantmentType)
public void displayAllRelevantItems(NonNullList<ItemStack> p_78018_1_)
public int getTabPage()
public static int getNextID()
public boolean hasSearchBar()
public int getSearchbarWidth()
public ResourceLocation getBackgroundImage()
public int getLabelColor()