Called after an entity has been renamed either by the player or through script.
player_index?: uint32 — If by_script is true this will not be included.by_script: booleanentity: LuaEntityold_name: stringname: defines.events — Identifier of the eventtick: uint32 — Tick the event was generated.