Called when a robot mines an entity.
robot: LuaEntity — The robot that did the mining.item_stack: ItemWithQualityCount — The entity the robot just picked up.name: defines.events — Identifier of the eventtick: uint32 — Tick the event was generated.