Man sentenced in Mudgee Local Court for using 'ice' as painkiller