Mechanisms placeable on halfslabs

Don't merge this yet. I don't know if this is okay.
There's also `UnboundedRelGetBlock` that gives you both the type and the meta at the same time, no need to call two separate functions.