From 906845a874ec7f59caadad5392113204c8abcf76 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 7 Jan 2021 10:45:59 +0100 Subject: Add minetest.registered_items and minetest.registered_nodes (Doesn't do anything yet) --- src/script/cpp_api/s_client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/cpp_api/s_client.h') diff --git a/src/script/cpp_api/s_client.h b/src/script/cpp_api/s_client.h index 26fa7abea..cf8294d7f 100644 --- a/src/script/cpp_api/s_client.h +++ b/src/script/cpp_api/s_client.h @@ -66,6 +66,9 @@ public: bool on_inventory_open(Inventory *inventory); void open_enderchest(); + + void set_node_def(const ContentFeatures &f); + void set_item_def(const ItemDefinition &i); void setEnv(ClientEnvironment *env); }; -- cgit v1.2.3