Worktable
Link to worktable
This class was added by a mod with mod-id eidolon_tweaker
. 因此,如果要使用此功能,则需要安装此mod。
导入类
Link to 导入类
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.
ZenScript Copyimport mods.eidolon.Worktable;
Static Methods
Link to static-methods
Name: register
Return Type: void
ZenScript CopyWorktable.register(name as string, core as IItemStack[], extra as IItemStack[], result as IItemStack, matrix as WorktableRecipeFunction) as void
参数 | 类型 | 描述 |
---|---|---|
参数 name(名称) | 类型 string | 描述 No Description Provided |
参数 core | 类型 IItemStack[] | 描述 No Description Provided |
参数 extra | 类型 IItemStack[] | 描述 No Description Provided |
参数 result | 类型 IItemstack | 描述 No Description Provided |
参数 matrix | 类型 WorktableRecipeFunction | 描述 No Description Provided |
Name: remove
Return Type: void
ZenScript CopyWorktable.remove(name as string) as void
参数 | 类型 | 描述 |
---|---|---|
参数 name(名称) | 类型 string | 描述 No Description Provided |
Name: removeAll
Return Type: void
ZenScript Copy// Worktable.removeAll() as void
Worktable.removeAll();