Updated logic to correctly handle beds, enchanting tables, fences,
gates, and slabs.

Beds, tables, slabs all need to bypass the solid check, since they say
they're solid, but they allow players to stand on them.

Fences require the block below to be queried, otherwise you can teleport
through them if you're very tricky.

Also added adjustable heights for things like lily pads.