Add api methods for individual floating items

Needed this for a plugin I'm making, so might as well make the pull request. Untested, but should work.