public abstract class ItemGroup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ItemGroup |
BREWING |
static ItemGroup |
BUILDING_BLOCKS |
static ItemGroup |
COMBAT |
static ItemGroup |
DECORATIONS |
static ItemGroup |
FOOD |
static ItemGroup[] |
GROUPS |
static ItemGroup |
HOTBAR |
static ItemGroup |
INVENTORY |
static ItemGroup |
MATERIALS |
static ItemGroup |
MISC |
static ItemGroup |
REDSTONE |
static ItemGroup |
SEARCH |
static ItemGroup |
TOOLS |
static ItemGroup |
TRANSPORTATION |
Constructor and Description |
---|
ItemGroup(int index,
java.lang.String label) |
ItemGroup(java.lang.String label) |
public static ItemGroup[] GROUPS
public static final ItemGroup BUILDING_BLOCKS
public static final ItemGroup DECORATIONS
public static final ItemGroup REDSTONE
public static final ItemGroup TRANSPORTATION
public static final ItemGroup MISC
public static final ItemGroup SEARCH
public static final ItemGroup FOOD
public static final ItemGroup TOOLS
public static final ItemGroup COMBAT
public static final ItemGroup BREWING
public static final ItemGroup MATERIALS
public static final ItemGroup HOTBAR
public static final ItemGroup INVENTORY
public ItemGroup(java.lang.String label)
public ItemGroup(int index, java.lang.String label)
public int getIndex()
public java.lang.String getTabLabel()
public java.lang.String getPath()
public java.lang.String getTranslationKey()
public ItemStack getIcon()
public abstract ItemStack createIcon()
public java.lang.String getBackgroundImageName()
public ItemGroup setBackgroundImageName(java.lang.String texture)
public ItemGroup setTabPath(java.lang.String pathIn)
public boolean drawInForegroundOfTab()
public ItemGroup setNoTitle()
public boolean hasScrollbar()
public ItemGroup setNoScrollbar()
public int getColumn()
public boolean isOnTopRow()
public boolean isAlignedRight()
public EnchantmentType[] getRelevantEnchantmentTypes()
public ItemGroup setRelevantEnchantmentTypes(EnchantmentType... types)
public boolean hasRelevantEnchantmentType(@Nullable EnchantmentType enchantmentType)
public void fill(NonNullList<ItemStack> items)
public int getTabPage()
public boolean hasSearchBar()
public int getSearchbarWidth()
public ResourceLocation getBackgroundImage()
public ResourceLocation getTabsImage()
public int getLabelColor()
public int getSlotColor()
public static int getGroupCountSafe()