Home Commands Examples Getting Started With Scripts Global Keywords 1.21 Migration Guide
BracketDumpers BracketHandlers BracketValidators ResourceLocationBracketHandler

TooltipFlag

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.tooltip.TooltipFlag;

Members

Getter
script.zs
// TooltipFlag.advanced as bool
myTooltipFlag.advanced

Return Type: bool

Getter
script.zs
// TooltipFlag.isCreative as bool
myTooltipFlag.isCreative

Return Type: bool

static of(advanced as bool, creative as bool) as TooltipFlag
script.zs
// TooltipFlag.of(advanced as bool, creative as bool) as TooltipFlag;
TooltipFlag.of(myBool, myBool);

Parameters:

advanced Type: bool
creative Type: bool

Return Type: TooltipFlag