The victim sought refuge upstairs in the kitchen and when police arrived, Hardman was still yelling at him, Mr Wilson said.
When questioned by police, Hardman told them he was angry with the boy and "wanted to teach him a lesson".
Defence lawyer Virginia Pearson said her client was extremely remorseful for his actions.
"In hindsight things could have been handled differently ... he has not had the opportunity to apologise," she told the court.
She said alcohol was involved.
Judge Walsh told Hardman his behaviour wasn't acceptable.
"The trouble is you were affected by alcohol ... alcohol and enraged is a recipe for tragedy," he said.
"Stomping on the head was serious. A clear message needs to be sent to the community this is not okay."
He told Hardman the victim had tried to withdraw the charges to help mend bridges between the two.
"It is important you understand he is not to blame. You are the adult. You are responsible."
He sentenced Hardman to complete 100 hours' community work and nine months' supervision with an order to complete a stop violence and drug and alcohol programme.