Tooltip on entities question

How do you put a tool tip on an entity like done in the crate maker and the eggs in the Spet mod?

Sorry if I sound dumb But I am just trying to rush through this…