An ICreativeTabObject represents a creative inventory tab.

パッケージのインポート

Link to パッケージのインポート

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);