minetest.node dig

Description

 * — position
 * — ObjectRef
 * — ObjectRef

Checks if node can be dug, puts item into inventory, removes node. This is the default function called for a node if a its on_dig callback has not been set.

Calls functions registered by