CreativeModeTab
Link to creativemodetab
Importare la Classe
Link to importare-la-classe
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.item.CreativeModeTab;
Metodi
Link to metodi
Name: canScroll
Return Type: boolean
ZenScript Copy// CreativeModeTab.canScroll() as boolean
myCreativeModeTab.canScroll();
Name: fillItemList
Return Type: stdlib.List<IItemStack>
ZenScript Copy// CreativeModeTab.fillItemList() as stdlib.List<IItemStack>
myCreativeModeTab.fillItemList();
Name: getBackgroundSuffix
Return Type: string
ZenScript Copy// CreativeModeTab.getBackgroundSuffix() as string
myCreativeModeTab.getBackgroundSuffix();
Name: getColumn
Return Type: int
ZenScript Copy// CreativeModeTab.getColumn() as int
myCreativeModeTab.getColumn();
Name: getDisplayName
Return Type: Component
ZenScript Copy// CreativeModeTab.getDisplayName() as Component
myCreativeModeTab.getDisplayName();
Name: getEnchantmentCategories
Return Type: EnchantmentCategory[]
ZenScript Copy// CreativeModeTab.getEnchantmentCategories() as EnchantmentCategory[]
myCreativeModeTab.getEnchantmentCategories();
Name: getIconItem
Return Type: IItemStack
ZenScript Copy// CreativeModeTab.getIconItem() as IItemStack
myCreativeModeTab.getIconItem();
Name: getId
Return Type: int
ZenScript Copy// CreativeModeTab.getId() as int
myCreativeModeTab.getId();
Name: getRecipeFolderName
Return Type: string
ZenScript Copy// CreativeModeTab.getRecipeFolderName() as string
myCreativeModeTab.getRecipeFolderName();
Name: hasEnchantmentCategory
Return Type: boolean
ZenScript CopyCreativeModeTab.hasEnchantmentCategory(category as EnchantmentCategory) as boolean
Parametro | Tipo | Descrizione |
---|---|---|
Parametro category | Tipo EnchantmentCategory | Descrizione No Description Provided |
Name: hideScroll
Return Type: CreativeModeTab
ZenScript Copy// CreativeModeTab.hideScroll() as CreativeModeTab
myCreativeModeTab.hideScroll();
Name: hideTitle
Return Type: CreativeModeTab
ZenScript Copy// CreativeModeTab.hideTitle() as CreativeModeTab
myCreativeModeTab.hideTitle();
Name: isAlignedRight
Return Type: boolean
ZenScript Copy// CreativeModeTab.isAlignedRight() as boolean
myCreativeModeTab.isAlignedRight();
Name: isTopRow
Return Type: boolean
ZenScript Copy// CreativeModeTab.isTopRow() as boolean
myCreativeModeTab.isTopRow();
Name: setBackgroundSuffix
Return Type: CreativeModeTab
ZenScript CopyCreativeModeTab.setBackgroundSuffix(prefix as string) as CreativeModeTab
Parametro | Tipo | Descrizione |
---|---|---|
Parametro prefix | Tipo string | Descrizione No Description Provided |
Name: setEnchantmentCategories
Return Type: CreativeModeTab
ZenScript CopyCreativeModeTab.setEnchantmentCategories(categories as EnchantmentCategory[]) as CreativeModeTab
Parametro | Tipo | Descrizione |
---|---|---|
Parametro categories | Tipo EnchantmentCategory[] | Descrizione No Description Provided |
Name: setRecipeFolderName
Return Type: CreativeModeTab
ZenScript CopyCreativeModeTab.setRecipeFolderName(recipeFolderName as string) as CreativeModeTab
Parametro | Tipo | Descrizione |
---|---|---|
Parametro recipeFolderName | Tipo string | Descrizione No Description Provided |
Name: showTitle
Return Type: boolean
ZenScript Copy// CreativeModeTab.showTitle() as boolean
myCreativeModeTab.showTitle();
Proprietà
Link to proprietà
Nome | Tipo | Ha Getter | Ha Setter | Descrizione |
---|---|---|---|---|
Nome backgroundSuffic | Tipo string | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome canScroll | Tipo boolean | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome column | Tipo int | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome commandString | Tipo string | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome displayName | Tipo Component | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome enchantmentCategories | Tipo EnchantmentCategory[] | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome iconItem | Tipo IItemStack | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome id | Tipo int | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome isAlignedRight | Tipo boolean | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome isTopRow | Tipo boolean | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome recipeFolderName | Tipo string | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome showTitle | Tipo boolean | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |