ICreativeTab
Link to icreativetab
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) |
ZenMethod
Link to zenmethod
Set Background image Name
Link to set-background-image-name
Uses a string (e.g. "item_search.png"
).
Returns void (nothing).
ZenScript Copytab.setBackgroundImageName(String backgroundImage);