ServerRemotePlayer implements ServerActiveObject
[oweals/minetest.git] / src / content_inventory.h
index 0f410128ba2aed04ddab8f0985f2b321d06ff482..9fd4cb03bd7114b21c4c01a82f4b162491a069eb 100644 (file)
@@ -33,10 +33,12 @@ InventoryItem* item_material_create_cook_result(content_t content);
 
 std::string         item_craft_get_image_name(const std::string &subname);
 ServerActiveObject* item_craft_create_object(const std::string &subname,
-               ServerEnvironment *env, u16 id, v3f pos);
+               ServerEnvironment *env, v3f pos);
 s16                 item_craft_get_drop_count(const std::string &subname);
 bool                item_craft_is_cookable(const std::string &subname);
 InventoryItem*      item_craft_create_cook_result(const std::string &subname);
+bool                item_craft_is_eatable(const std::string &subname);
+s16                 item_craft_eat_hp_change(const std::string &subname);
 
 #endif