CreativeModeTab
Link to creativemodetab
Importing the class
Link to importing-the-class
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;
Methods
Link to methods
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
Parameter | Type |
---|---|
Parameter category | Type EnchantmentCategory? |
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
Parameter | Type |
---|---|
Parameter prefix | Type string |
Name: setEnchantmentCategories
Return Type: CreativeModeTab
ZenScript CopyCreativeModeTab.setEnchantmentCategories(categories as EnchantmentCategory[]) as CreativeModeTab
Parameter | Type |
---|---|
Parameter categories | Type EnchantmentCategory[] |
Name: setRecipeFolderName
Return Type: CreativeModeTab
ZenScript CopyCreativeModeTab.setRecipeFolderName(recipeFolderName as string) as CreativeModeTab
Parameter | Type |
---|---|
Parameter recipeFolderName | Type string |
Name: showTitle
Return Type: boolean
ZenScript Copy// CreativeModeTab.showTitle() as boolean
myCreativeModeTab.showTitle();
Properties
Link to properties
Nombre | Type | Has Getter | Has Setter |
---|---|---|---|
Nombre backgroundSuffic | Type string | Has Getter true | Has Setter false |
Nombre canScroll | Type boolean | Has Getter true | Has Setter false |
Nombre column | Type int | Has Getter true | Has Setter false |
Nombre commandString | Type string | Has Getter true | Has Setter false |
Nombre displayName | Type Component | Has Getter true | Has Setter false |
Nombre enchantmentCategories | Type EnchantmentCategory[] | Has Getter true | Has Setter false |
Nombre iconItem | Type IItemStack | Has Getter true | Has Setter false |
Nombre id | Type int | Has Getter true | Has Setter false |
Nombre isAlignedRight | Type boolean | Has Getter true | Has Setter false |
Nombre isTopRow | Type boolean | Has Getter true | Has Setter false |
Nombre recipeFolderName | Type string | Has Getter true | Has Setter false |
Nombre showTitle | Type boolean | Has Getter true | Has Setter false |