An ICreativeTabObject represents a creative inventory tab.

Dieses Paket importieren

Link to dieses-paket-importieren

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/ZenMethodRückgabetyp
ZenGetter/ZenMethod
searchBarWidth
Rückgabetyp
int
ZenGetter/ZenMethod
tabLabel
Rückgabetyp
string
ZenGetter/ZenMethod
setNoScrollBar()
Rückgabetyp
void (nothing)
ZenGetter/ZenMethod
setNoTitle()
Rückgabetyp
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);