ITooltipFunction

导入相关包

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;

方法

应用

Return Type: void

ITooltipFunction.apply(stack as IItemStack, tooltip as stdlib.List<MCTextComponent>, isAdvanced as boolean) as void
参数类型描述
stackIItemStackNo Description Provided
工具提示stdlib.List<MCTextComponent>No Description Provided
isAdvancedbooleanNo Description Provided