This class was added by a mod with mod-id eidolon_tweaker. 因此,如果要使用此功能,则需要安装此mod。

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
Copy
import mods.eidolon.Worktable;

Name: register

Return Type: void

ZenScript
Copy
Worktable.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
Copy
Worktable.remove(name as string) as void
参数类型描述
参数
name(名称)
类型
string
描述
No Description Provided

Name: removeAll

Return Type: void

ZenScript
Copy
// Worktable.removeAll() as void

Worktable.removeAll();