A British Army chef has admitted possessing a firearm but denied having explosives, including a homemade “cannon” and black powder.