Major learning breakthrough

This commit is contained in:
jordan4ibanez 2023-11-22 06:44:43 -05:00
parent c559877d8b
commit 00f640f010

2
minetest-api.d.ts vendored
View File

@ -202,7 +202,7 @@ export interface minetest {
is_colored_paramtype(pType: number): boolean
strip_param2_color(param2: number, paramType2: ParamType2): number | void
get_node_drops(node: string | NodeTable, toolName: string): string[]
get_craft_result(input: CraftRecipeCheckDefinition): [CraftResultObject, CraftRecipeCheckDefinition] | CraftResultObject
get_craft_result(input: CraftRecipeCheckDefinition): LuaMultiReturn<[CraftResultObject, CraftRecipeCheckDefinition]>
get_craft_recipe(output: string | NodeTable): CraftRecipeDefinition | void
get_all_craft_recipes(queryItem: string | NodeTable): CraftRecipeDefinition[] | void
handle_node_drops(position: Vec3, drops: string[], digger: ObjectRef): void