fn element_bounding_box(
element: &PoolElement,
templates: &FxHashMap<Identifier, TemplateData>,
pos: IVec3,
rotation: Rotation,
) -> Option<BoundingBox>Expand description
Gets the bounding box for a pool element at a position with rotation.
Feature elements return a 1×1×1 BB at the given position, matching
vanilla’s FeaturePoolElement.getBoundingBox.
List elements return the encapsulating BB of all sub-elements, matching
vanilla’s ListPoolElement.getBoundingBox.