35 bool item_OnUse(std::optional<ItemStack> &item,
Definition inventory.h:194
bool item_OnUse(std::optional< ItemStack > &item, ServerActiveObject *user, const PointedThing &pointed)
Definition s_item.cpp:83
bool item_OnCraft(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv)
Definition s_item.cpp:141
void pushPointedThing(const PointedThing &pointed, bool hitpoint=false)
Definition s_item.cpp:255
bool item_OnDrop(ItemStack &item, ServerActiveObject *dropper, v3f pos)
Definition s_item.cpp:21
bool getItemCallback(const char *name, const char *callbackname, const v3s16 *p=nullptr)
Definition s_item.cpp:211
bool item_OnSecondaryUse(std::optional< ItemStack > &item, ServerActiveObject *user, const PointedThing &pointed)
Definition s_item.cpp:113
bool item_CraftPredict(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv)
Definition s_item.cpp:173
bool item_OnPlace(std::optional< ItemStack > &item, ServerActiveObject *placer, const PointedThing &pointed)
Definition s_item.cpp:48
Definition serveractiveobject.h:41
core::vector3d< s16 > v3s16
Definition irr_v3d.h:13
core::vector3df v3f
Definition irr_v3d.h:11
Definition inventorymanager.h:18
Definition inventory.h:19
An active object or node which is selected by a ray on the map.
Definition pointedthing.h:22
static std::string p(std::string path)
Definition test_filesys.cpp:53