The 6 Layout Types
1. SimpleLayout — Static Grid
A flat list of items placed at specific slots (0-53 for a double chest).2. ScrollableLayout — Scrollable Viewport
Wraps a child layout and makes it scrollable. IfvirtualHeight > 6, vertical arrows appear automatically.
[!WARNING]virtualHeightmust be the total height of the inner content, not the visible area. If content has 20 rows, setvirtualHeight: 20. The viewport clips to the inventory size.