ITooltipFunction

Importing the class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

import crafttweaker.api.item.tooltip.ITooltipFunction;

Methods

apply

Return Type: void

ITooltipFunction.apply(stack as IItemStack, tooltip as stdlib.List<MCTextComponent>, isAdvanced as boolean) as void
ParameterTypeDescription
stackIItemStackNo Description Provided
tooltipstdlib.List<MCTextComponent>No Description Provided
isAdvancedbooleanNo Description Provided