@kampai I would assume they sent a tooltip packet. They probably have it under the protocols part of the wiki or something.
@kampai I believe it is called ActionBar and it is a Chat packet with a position of 2. I think it is this packet.