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.
方法
应用
Return Type: void
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
参数 | 类型 | 描述 |
---|---|---|
stack | IItemStack | No Description Provided |
工具提示 | stdlib.List<MCTextComponent> | No Description Provided |
isAdvanced | boolean | No Description Provided |