An ICreativeTabObject represents a creative inventory tab.

It might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import.
import crafttweaker.creativetabs.ICreativeTab;

Getting such an Object

Link to getting-such-an-object

You can retrieve an ICreativeTab from the Creative tab Bracket Handler.

ZenGetters and ZenMethods without parameters

Link to zengetters-and-zenmethods-without-parameters

ZenGetter/ZenMethod返回值类型
ZenGetter/ZenMethod
searchBarWidth
返回值类型
int
ZenGetter/ZenMethod
tabLabel
返回值类型
string
ZenGetter/ZenMethod
setNoScrollBar()
返回值类型
void (nothing)
ZenGetter/ZenMethod
setNoTitle()
返回值类型
void (nothing)

Set Background image Name

Link to set-background-image-name

Uses a string (e.g. "item_search.png").
Returns void (nothing).

ZenScript
Copy
tab.setBackgroundImageName(String backgroundImage);