]> git.lizzy.rs Git - dragonblocks_alpha.git/blobdiff - src/client/client_item.h
Implement node breaking
[dragonblocks_alpha.git] / src / client / client_item.h
index 0105abfba0838bc7afd83fc1b2486b5a945708a9..bffb251585baa0c72fc22ebb9d34c53895a46af4 100644 (file)
@@ -1,12 +1,15 @@
 #ifndef _CLIENT_ITEM_H_
 #define _CLIENT_ITEM_H_
 
+#include <stdbool.h>
 #include "client/mesh.h"
 #include "item.h"
+#include "node.h"
 
 typedef struct {
        const char *mesh_path;
        Mesh mesh;
+       bool (*use)(ItemStack *stack);
 } ClientItemDef;
 
 extern ClientItemDef client_item_defs[];