en 1.11x /execute Other items paste this command into a repeating command block and select 'always active'