Called before a robot mines an entity.
robot: LuaEntity — The robot that's about to do the mining.entity: LuaEntity — The entity which is about to be mined.name: defines.events — Identifier of the eventtick: uint32 — Tick the event was generated.