Support bounding boxes for non-cubic blocks

Certain blocks, such as beds, have non-cubic bounding boxes. This should be accounted for in physics calculations.