50 bool item_OnUse(std::optional<ItemStack> &item,
Definition: inventory.h:209
bool item_OnUse(std::optional< ItemStack > &item, ServerActiveObject *user, const PointedThing &pointed)
Definition: s_item.cpp:98
bool item_OnCraft(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv)
Definition: s_item.cpp:156
void pushPointedThing(const PointedThing &pointed, bool hitpoint=false)
Definition: s_item.cpp:270
bool item_OnDrop(ItemStack &item, ServerActiveObject *dropper, v3f pos)
Definition: s_item.cpp:36
bool getItemCallback(const char *name, const char *callbackname, const v3s16 *p=nullptr)
Definition: s_item.cpp:226
bool item_OnSecondaryUse(std::optional< ItemStack > &item, ServerActiveObject *user, const PointedThing &pointed)
Definition: s_item.cpp:128
bool item_CraftPredict(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv)
Definition: s_item.cpp:188
bool item_OnPlace(std::optional< ItemStack > &item, ServerActiveObject *placer, const PointedThing &pointed)
Definition: s_item.cpp:63
Definition: serveractiveobject.h:55
core::vector3d< s16 > v3s16
Definition: irr_v3d.h:28
core::vector3df v3f
Definition: irr_v3d.h:26
Definition: inventorymanager.h:33
Definition: inventory.h:34
An active object or node which is selected by a ray on the map.
Definition: pointedthing.h:37
static std::string p(std::string path)
Definition: test_filesys.cpp:64