A burglar who entered a South Tyneside pub and used a pool cue as a weapon to inflict damage has appeared in court to confess to his crime.