From 36bc07d8991aef06479c92bb7f4bcc47f8745f7f Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Sat, 18 Nov 2023 04:08:08 -0500 Subject: [PATCH] Add forgotten player methods --- minetest-api.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/minetest-api.d.ts b/minetest-api.d.ts index 81c00222..01ee46c2 100644 --- a/minetest-api.d.ts +++ b/minetest-api.d.ts @@ -124,6 +124,10 @@ export interface minetest { spawn_falling_node(position: Vec3): [boolean, ObjectRef] | boolean find_nodes_with_meta(pos1: Vec3, pos2: Vec3): Vec3[] get_meta(position: Vec3): MetaData + set_inventory_formspec(formspec: string): void + get_inventory_formspec(): string + set_formspec_prepend(formspec: string): void + get_formspec_prepend(): string get_node_timer(position: Vec3): NodeTimerObject add_entity(position: Vec3, entityName: string, staticData?: string): ObjectRef | null add_item(position: Vec3, item: ItemStackObject | string): ObjectRef