Ranginui pleaded guilty to possessing a knife in a public place, unlawfully getting into a motor vehicle and two charges of unlawfully entering an enclosed area.
Leith explained the situation to the court.
"He had been in Whanganui for a tangi and he hunts," Leith said.
"He had been to get some food for the tangi and he had a few drinks after hunting."
Ranginui gained entry to a property on Matai Street, carrying a knife in a sheath on his belt, and came face to face with the occupant. They exchanged words and then he left.
Ranginui travelled approximately 1.5 kilometres away from the address to another - still carrying the knife - and was confronted by a neighbour who was mowing his lawn.
Again Ranginui took off. This time he travelled until he found a Subaru parked on the side of the road, which he broke into and went to sleep in.
When police found him, they apprehended Ranginui and took off his belt to discover it contained two knives.
When asked about the knives, Ranginui would not provide reasons for carrying them.
Judge Matheson convicted and sentenced Ranginui on all charges and ordered destruction of the knives.