Wayne William Howlett has pleaded guilty in the Hobart Supreme Court to recklessly discharging a firearm and property damage.
The 38-year-old from Glenorchy fired a semi-automatic rifle at a Hobart cocktail bar on June 24.
The court heard Howlett had painted his face with red 'warpaint' when he ordered a taxi to travel to Pablo's Cocktails and Dreams bar on Harrington Street just after midnight.
About 20 people were inside the venue at the time but no one was hurt.
His lawyer Greg Richardson said there was wasn't much doubt the use of illicit drugs contributed to the crime.
Mr Richardson asked the court for a drug treatment assessment order for Howlett but Justice David Porter didn't grant it.
The matter was adjourned until February 4.