The judge said Shinner, who had been drinking before he entered the restaurant about 5.30pm and had not taken his medication for mental health issues, told police he was unhappy after ordering a fried rice and sweet and sour pork which was rock-hard and burnt.
“All I got was some pork balls in a paper bag and a sauce in a little cup,” he told police, adding that there weren’t even any vegetables in the dish.
Shinner left the restaurant after the owners refused to replace the meal and went to his nearby motorhome where he stuffed the loaded gun in a bag before returning to the takeaway.
He there withdrew the pistol, put it on the counter and yelled that he wanted a proper sweet and sour pork dish, after making sure no other customers were present.
Judge Anderson said he accepted restaurant owner Danny Yam’s version of events where he claimed Shinner then picked up the gun and pointed it directly at his head.
Shinner had denied ever aiming the gun at Mr Yam or his wife and insisted that he only placed it on the counter to scare them.
Mr Yam said Shinner told him: “If you don’t give me my order, I’ll shoot you.”
Shinner walked into the kitchen area and pointed the gun at Mrs Yam who was putting food in containers.
Mr Yam ran at him and delivered the flying kick to his chest before repeatedly punching him in the head and pinning him to the ground.
Shinner, bleeding heavily, eventually fled the restaurant.
The judge said Mrs Yam told how when Shinner pointed the gun at her husband, “I was so shaken, I didn’t know what to do”.
Shinner later told a psychologist he deserved to be punched and tackled to the ground by Mr Yam.
Judge Anderson said Shinner recognised his actions would have “freaked out” the Yams.
“He wishes he had never done something so stupid,” the psychological report said.
Shinner later told police he took the gun to the restaurant only to scare the owners and not kill or rob them because he was angry over the quality of the sweet and sour pork.
“I got a crappy meal,” he said.
“I wanted a decent meal.
“I asked for sweet and sour pork and I got rocks. It was burnt. I mean, the fried rice was all right.
“I paid all that money and got crap.”
Shinner, who has been in custody since his arrest, will be eligible for parole in November when he is looking forward to being reunited with his dog. He is estranged from his two children and grandchildren.
The Chinese takeaway, which had been operating for 30 years, has since closed.