diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-01-07 10:45:59 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-01-07 10:45:59 +0100 |
commit | 906845a874ec7f59caadad5392113204c8abcf76 (patch) | |
tree | eedde6d1a2983f233fd5b1ad6b43323c50d4620f /src/script/cpp_api/s_client.h | |
parent | 3a43259021d7c9c9c8626a5bead7c8d420890d91 (diff) | |
download | dragonfireclient-906845a874ec7f59caadad5392113204c8abcf76.tar.xz |
Add minetest.registered_items and minetest.registered_nodes (Doesn't do anything yet)
Diffstat (limited to 'src/script/cpp_api/s_client.h')
-rw-r--r-- | src/script/cpp_api/s_client.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); }; |